mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
11 lines
482 B
CMake
11 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()
|