Talk:CMake Generator Specific Information: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
(This doesn't work) |
||
Line 1: | Line 1: | ||
Does anyone know if there is a way to make the Visual Studio generator use a different .obj filename when two source files have the same name? It would just have to set the ObjectFile parameter in the <FileConfiguration><Tool> section. | Does anyone know if there is a way to make the Visual Studio generator use a different .obj filename when two source files have the same name? It would just have to set the ObjectFile parameter in the <FileConfiguration><Tool> section. | ||
== This doesn't work == | |||
I tried this but it didn't work: | |||
SET_SOURCE_FILES_PROPERTIES( myfile.cpp PROPERTIES COMPILE_FLAGS "/Fo\"myfile2.obj\"" ) | |||
- [[User:sshock|sshock]] |
Revision as of 22:40, 13 April 2006
Does anyone know if there is a way to make the Visual Studio generator use a different .obj filename when two source files have the same name? It would just have to set the ObjectFile parameter in the <FileConfiguration><Tool> section.
This doesn't work
I tried this but it didn't work:
SET_SOURCE_FILES_PROPERTIES( myfile.cpp PROPERTIES COMPILE_FLAGS "/Fo\"myfile2.obj\"" )
- sshock