The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13685 ====================================================================== Reported By: Mike Smith Assigned To: ====================================================================== Project: CMake Issue ID: 13685 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-11-15 15:36 GMT Last Modified: 2012-11-15 15:36 GMT ====================================================================== Summary: No way to control object file suffix for Object Libraries Description: The suffix used for binary files when they are part of an Object Library seem to always be .obj on Windows. I was hoping that the setting for CMAKE_CXX_OUTPUT_EXTENSION and CMAKE_C_OUTPUT_EXTENSION would be used. When I try setting these values to .o it has no effect (see attached files). Alternatively it would be very useful to have some mechanism to set the suffix for these files.
Steps to Reproduce: Run the attached files through cmake on Windows Open the project in Visual Studio The Object Library has the file main.obj - I want this to be main.o ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-11-15 15:36 Mike Smith New Issue 2012-11-15 15:36 Mike Smith File Added: cmake-test.zip ====================================================================== -- 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
