View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015043 | CMake | CMake | public | 2014-07-28 11:20 | 2016-06-10 14:31 | ||||
Reporter | Ravi Raman | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | high | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | Windows | OS Version | ||||||
Product Version | CMake 3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015043: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0036472) Brad King (manager) 2014-07-28 11:27 |
AFAIK we have no feature to add custom ImportGroup elements or property sheets entries. I'm not familiar with a "VS_PROPERTY_SHEETS" target property. Where did you see that? |
(0042593) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-07-28 11:20 | Ravi Raman | New Issue | |
2014-07-28 11:27 | Brad King | Note Added: 0036472 | |
2014-07-28 11:27 | Brad King | Severity | major => feature |
2014-07-28 11:27 | Brad King | Status | new => backlog |
2014-07-28 11:42 | Brad King | Relationship added | related to 0015044 |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042593 | |
2016-06-10 14:29 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |