Reputation: 25507
Is it possible to create a configuration in VS2013 for just compiling the files but skip linking for native C++ projects? I tried the /c
option for cl
, but I still see that the linker is invoked and the executable is getting generated?
Regards,
Upvotes: 3
Views: 426
Reputation: 22157
Unfortunately, I don't think there is a clean method to do this from the IDE - here's a hint from MSDN:
To set this compiler option in the Visual Studio development environment
This option is not available from within the development environment.
Maybe you can think of a way how to break linker, maybe with two same named global variables in two source files, guarded by a preprocessor define defined in the compile only configuration?
Other way is to compile one file at the time, with CTRL-F7
(or Build -> Compile
).
Upvotes: 1