[CMAKE]
[reactos.git] / dll / nls / idndl / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 spec2def(idndl ${CMAKE_CURRENT_SOURCE_DIR}/idndl.spec ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
6
7 add_library(idndl SHARED idndl.cpp)
8
9 set_entrypoint(idndl 0)
10
11 target_link_libraries(idndl ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
12
13 if(NOT MSVC)
14 set_target_properties(idndl PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
15 endif(NOT MSVC)
16
17 add_importlibs(idndl kernel32)
18
19 add_dependencies(idndl idndl_def psdk buildno_header)
20
21 add_livecd_target(idndl reactos)