mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
36 lines
1 KiB
CMake
36 lines
1 KiB
CMake
|
|
list(APPEND LIBCNTPR_SOURCE
|
|
${LIBCNTPR_EXCEPT_SOURCE}
|
|
${LIBCNTPR_FLOAT_SOURCE}
|
|
${LIBCNTPR_MATH_SOURCE}
|
|
${LIBCNTPR_MBSTRING_SOURCE}
|
|
${LIBCNTPR_MEM_SOURCE}
|
|
${LIBCNTPT_MISC_SOURCE}
|
|
${LIBCNTPR_PRINTF_SOURCE}
|
|
${LIBCNTPR_SEARCH_SOURCE}
|
|
${LIBCNTPR_STDLIB_SOURCE}
|
|
${LIBCNTPR_STRING_SOURCE}
|
|
${LIBCNTPR_WSTRING_SOURCE}
|
|
)
|
|
|
|
list(APPEND LIBCNTPR_ASM_SOURCE
|
|
${LIBCNTPR_EXCEPT_ASM_SOURCE}
|
|
${LIBCNTPR_FLOAT_ASM_SOURCE}
|
|
${LIBCNTPR_MATH_ASM_SOURCE}
|
|
${LIBCNTPR_MEM_ASM_SOURCE}
|
|
${LIBCNTPR_SETJMP_ASM_SOURCE}
|
|
${LIBCNTPR_STRING_ASM_SOURCE}
|
|
)
|
|
|
|
set_source_files_properties(${LIBCNTPR_ASM_SOURCE} PROPERTIES COMPILE_DEFINITIONS "NO_RTL_INLINES;_NTSYSTEM_;_NTDLLBUILD_;_LIBCNT_;__CRT__NO_INLINE;CRTDLL")
|
|
add_asm_files(libcntpr_asm ${LIBCNTPR_ASM_SOURCE})
|
|
|
|
add_library(libcntpr STATIC ${LIBCNTPR_SOURCE} ${libcntpr_asm})
|
|
target_compile_definitions(libcntpr
|
|
PRIVATE NO_RTL_INLINES
|
|
_NTSYSTEM_
|
|
_NTDLLBUILD_
|
|
_LIBCNT_
|
|
__CRT__NO_INLINE
|
|
CRTDLL)
|
|
add_dependencies(libcntpr psdk asm)
|