mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
10 lines
482 B
CMake
10 lines
482 B
CMake
|
|
if(NOT MSVC)
|
|
_add_library(oldnames STATIC EXCLUDE_FROM_ALL ${CMAKE_CURRENT_SOURCE_DIR}/moldname-msvcrt.def)
|
|
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/moldname-msvcrt.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
set_target_properties(oldnames PROPERTIES LINKER_LANGUAGE "IMPLIB" PREFIX "")
|
|
else()
|
|
add_asm_files(oldnames_asm oldnames-msvcrt.S)
|
|
add_library(oldnames ${oldnames_asm})
|
|
set_target_properties(oldnames PROPERTIES LINKER_LANGUAGE "C")
|
|
endif()
|