mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
Tasking: Set object extension to .o
The extension `.o` is used by the compiler itself, and is the only one found in its documentation. Issue: #26426
This commit is contained in:
committed by
Brad King
parent
4148fe5487
commit
754210a3f6
@@ -22,6 +22,7 @@ if(NOT CMAKE_TASKING_TOOLSET)
|
||||
endif()
|
||||
|
||||
macro(__compiler_tasking lang)
|
||||
set(CMAKE_${lang}_OUTPUT_EXTENSION ".o")
|
||||
|
||||
set(CMAKE_${lang}_VERBOSE_FLAG "-v")
|
||||
set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "--pic")
|
||||
|
||||
Reference in New Issue
Block a user