MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013768 | CMake | CMake | public | 2012-12-01 04:22 | 2013-05-06 09:32 |
| Reporter | Janne Rönkkö | ||||
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | Windows | OS Version | Windows 7 Pro |
| Product Version | CMake 2.8.10.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013768: set_target_properties For Library Target Has No Effect On Windows | ||||
| Description | set_target_properties does not have any effect on Windows. See example from the attached file. The example puts the created library into libs directory on Linux. | ||||
| Steps To Reproduce | Under MSYS 1. tar xf example.tar 2. mkdir build 3. cd build 4. cmake .. -G 'MSYS Makefiles' 5. make Under CMD 1. # extract example.tar 2. mkdir buid 3. cd build 4. cmake .. -G "NMake Makefiles" 5. nmake The library is created in the current directory while the set_target_properties sets the LIBRARY_OUTPUT_PATH to libs | ||||
| Additional Information | Tested with NMake Makefiles, MSYS Makefiles and Ninja generators. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4579/example.tar | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-12-01 04:22 | Janne Rönkkö | New Issue | |||
| 2012-12-01 04:22 | Janne Rönkkö | File Added: example.tar | |||
| 2012-12-03 07:35 | Brad King | Note Added: 0031799 | |||
| 2012-12-03 07:35 | Brad King | Status | new => resolved | ||
| 2012-12-03 07:35 | Brad King | Resolution | open => no change required | ||
| 2013-05-06 09:32 | Robert Maynard | Note Added: 0032979 | |||
| 2013-05-06 09:32 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||