On 04/30/2012 04:42 AM, Klaim - Joël Lamotte wrote: > Hi, > > I'm having a hard time finding documentation about this: I have a > library that provide IDE-specific project files, for example Visual > Studio project files. Instead of writing CMake file for it, I just > want to write in my CMakeFiles.txt that if the target compiler is > MSVC, I want to include the library project files in the solution. > > Is there a way to do this in CMake? I assume there is but I can't > find a specific answer to this. > > Thanks for reading. > > Joël Lamotte > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake
You are looking for the MSVC [1] variable and the include_external_msproject [2] command HTH Michael [1] http://cmake.org/cmake/help/cmake-2-8-docs.html#variable:MSVC [2] http://cmake.org/cmake/help/cmake-2-8-docs.html#command:include_external_msproject -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
