Brad King wrote:
Matthew Peavy wrote:
I need to be able to set a few of the project Configuration Properties during the CMake generation of the Solution / project files.
The config properties I need to set are:

1) Working directory (Properties -> Configuration Properties -> Debugging -> Working Directory) 2) Command Arguments (Properties -> Configuration Properties -> Debugging -> Command Arguments)

as well as being able to set the "Start-up project" to my project rather than to "ALL_BUILD". [This is accomplished within MSVC by right-clicking the project and selecting "Set as StartUp Project.]

This information is not stored in the project files, and therefore cannot be generated into them by CMake.

Do you happen to know where it is stored?

-Brad

Brad,

For VS2005 (or 8.0), The first two items (Working Directory and Command Arguments) are stored in the file:

YourProjectName.vcproj.COMPUTER_NAME.UserName.user

I'm not sure where the Start-up project info is stored. I'll let you know if/when I find it.

I'll probably write a batch file to update these item manually.
Would you foresee adding these as configurable items  in the future.

Thanks,
Matt.


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to