mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 12:53:33 +00:00
ed61512236
in favor of add_compile_options and the like with generator expressions Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
40 lines
747 B
CMake
40 lines
747 B
CMake
|
|
project(SHELL)
|
|
|
|
spec2def(ntobjshex.dll ntobjshex.spec)
|
|
|
|
file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*)
|
|
add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps})
|
|
|
|
list(APPEND SOURCE
|
|
ntobjenum.cpp
|
|
ntobjfolder.cpp
|
|
ntobjshex.cpp
|
|
regfolder.cpp
|
|
precomp.h)
|
|
|
|
add_library(ntobjshex MODULE
|
|
${SOURCE}
|
|
ntobjshex.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def)
|
|
|
|
set_module_type(ntobjshex win32dll UNICODE)
|
|
target_link_libraries(ntobjshex uuid wine cpprt atl_classes)
|
|
|
|
add_importlibs(ntobjshex
|
|
advapi32
|
|
winmm
|
|
ole32
|
|
oleaut32
|
|
shlwapi
|
|
shell32
|
|
comctl32
|
|
msvcrt
|
|
gdi32
|
|
user32
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_pch(ntobjshex precomp.h SOURCE)
|
|
add_cd_file(TARGET ntobjshex DESTINATION reactos/system32 FOR all)
|