mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
b02b04fc53
- More work on the dlls. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49105
19 lines
507 B
CMake
19 lines
507 B
CMake
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
spec2def(idndl ${CMAKE_CURRENT_SOURCE_DIR}/idndl.spec ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
|
|
|
|
add_library(idndl SHARED idndl.cpp)
|
|
|
|
set_entrypoint(idndl 0)
|
|
|
|
target_link_libraries(idndl ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
|
|
|
|
if(NOT MSVC)
|
|
set_target_properties(idndl PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
endif(NOT MSVC)
|
|
|
|
add_importlibs(idndl kernel32)
|
|
|
|
add_dependencies(idndl idndl_def psdk buildno_header)
|