reactos/dll/nls/idndl/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

19 lines
409 B
CMake

remove_definitions(-DWINVER=0x502)
add_definitions(-DWINVER=0x600)
spec2def(idndl.dll idndl.spec)
add_library(idndl MODULE
idndl.cpp
${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
set_entrypoint(idndl 0)
if(NOT MSVC)
add_target_compile_flags(idndl "-fno-exceptions -fno-rtti")
endif()
add_importlibs(idndl kernel32)
add_dependencies(idndl psdk)
add_cd_file(TARGET idndl DESTINATION reactos FOR all)