The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13768 ====================================================================== Reported By: Janne Rönkkö Assigned To: ====================================================================== Project: CMake Issue ID: 13768 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2012-12-01 04:22 EST Last Modified: 2012-12-01 04:22 EST ====================================================================== Summary: 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. ====================================================================== 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 ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
