The following issue has been SUBMITTED. ====================================================================== http://www.gccxml.org/Bug/view.php?id=15043 ====================================================================== Reported By: Ravi Raman Assigned To: ====================================================================== Project: CMake Issue ID: 15043 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2014-07-28 11:20 EDT Last Modified: 2014-07-28 11:20 EDT ====================================================================== Summary: How to convert Visual Studio .props file into cmake Description: Hello,
We are using CMake 3.0 on Windows. Our main objective is to convert Microsoft Visual Studio built solution to CMake 3.0 solution. In the process of doing so, we have come across many Visual Studio property files (.props) which get included in the Visual Studio project files (.vcxproj) files. For example in a Visual Studio project file , the Property file (test.props) gets included as follows: <ImportGroup Label="PropertySheets"> <Import Project="$(TestCfg)\test.props" /> </ImportGroup> To achieve the same thing, in the CMakeLists file we are using the following command: set_target_properties(testproj PROPERTIES VS_PROPERTY_SHEETS "${TestCfg}/test.props") Note that we have set TestCfg appropriately in one of the .cmake files that we include in our CMakeLists.txt The cmake build is successful and the cmake VCX project also gets created. But that vcx project does not contain the entry of the test.props file. Please let us know what we are missing or doing wrong. Also, is there any other way to include .props files in cmake. Any help in this regard would be appreciated. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-07-28 11:20 Ravi Raman New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers