mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
29 lines
598 B
CMake
29 lines
598 B
CMake
|
|
spec2def(intl.cpl intl.spec)
|
|
|
|
list(APPEND SOURCE
|
|
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.h)
|
|
|
|
add_rc_deps(intl.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
|
|
|
|
add_library(intl MODULE
|
|
${SOURCE}
|
|
intl.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/intl.def)
|
|
|
|
set_module_type(intl cpl UNICODE)
|
|
add_importlibs(intl user32 comctl32 advapi32 setupapi shell32 msvcrt kernel32 ntdll)
|
|
add_pch(intl intl.h SOURCE)
|
|
add_cd_file(TARGET intl DESTINATION reactos/system32 FOR all)
|