mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
20 lines
413 B
CMake
20 lines
413 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)
|
|
target_compile_options(idndl PRIVATE -fno-exceptions -fno-rtti)
|
|
endif()
|
|
|
|
add_importlibs(idndl kernel32)
|
|
add_dependencies(idndl psdk)
|
|
add_cd_file(TARGET idndl DESTINATION reactos FOR all)
|