mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
19 lines
409 B
CMake
19 lines
409 B
CMake
|
|
remove_definitions(-DWINVER=0x502)
|
|
add_definitions(-DWINVER=0x600)
|
|
|
|
spec2def(idndl.dll idndl.spec)
|
|
|
|
add_library(idndl SHARED
|
|
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)
|