2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(idndl.dll idndl.spec)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
add_library(idndl SHARED
|
|
|
|
idndl.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
set_entrypoint(idndl 0)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
set_target_properties(idndl PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
|
|
endif(NOT MSVC)
|
|
|
|
|
|
|
|
add_importlibs(idndl kernel32)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
add_dependencies(idndl psdk buildno_header)
|
2010-10-30 12:51:21 +00:00
|
|
|
|
|
|
|
add_livecd_target(idndl reactos)
|