How to add CMake includes and libraries to Visual Studio Solution ?
Posted 15 January 2012 - 02:39 PM
I use CMake to generate a Visual Studio 2010 project and solution file. Actually I could set different settings,
like warning level, incremental building flag ect. from CMake. But I can't set additional includes and libraries,
listed in the VC++ Directory configuration tab. Actually I've to set up those directories manually. This is stupid
I tried to set the following CMake variables: CMAKE_INCLUDE_PATH, INCLUDE_DIRECTORY
but nothing happend. If i open the project, the additional include directory is always empty (only standard
MSVE settings are given).
I also tired to set this variables after executable creation, but this has also no effect.
Knows anyone how I could perform those settings at the solution using CMake?
Thanks for any help.
Posted 16 January 2012 - 04:39 PM
Hope this helps.
Posted 16 January 2012 - 08:50 PM
I've checked the wrong configuration tab of my project solution:
But it must be :
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users