Reputation: 23014
For example, in my vs2010 project file, I have "Output File Name" (from Project Properties -> C/C++ -> Output Files) to $(IntDir)/%(RelativeDir)/. I know how to do this manually, but for CMake I'm not at all sure.
How do I set such a property, in the CMakeLists.txt file?
Upvotes: 1
Views: 494
Reputation: 34401
When you do add_executable()
or add_library()
, the target name is the name of resulting binary, which, i think, will turn into "Output File Name" property during generation.
You can also try to set OUTPUT_NAME
property for your target.
Upvotes: 1