mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 18:17:19 +00:00
37 lines
580 B
CMake
37 lines
580 B
CMake
|
|
||
|
set_unicode()
|
||
|
|
||
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||
|
|
||
|
spec2def(intl ${CMAKE_CURRENT_SOURCE_DIR}/intl.spec ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
|
||
|
|
||
|
add_library(intl SHARED
|
||
|
currency.c
|
||
|
date.c
|
||
|
generalp.c
|
||
|
intl.c
|
||
|
inplocale.c
|
||
|
numbers.c
|
||
|
time.c
|
||
|
misc.c
|
||
|
kblayouts.c
|
||
|
languages.c
|
||
|
advanced.c
|
||
|
sort.c
|
||
|
intl.rc)
|
||
|
|
||
|
set_module_type(intl cpl)
|
||
|
|
||
|
target_link_libraries(intl ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
|
||
|
|
||
|
add_importlibs(intl
|
||
|
msvcrt
|
||
|
user32
|
||
|
comctl32
|
||
|
advapi32
|
||
|
setupapi
|
||
|
shell32
|
||
|
kernel32)
|
||
|
|
||
|
add_dependencies(intl intl_def)
|