2015-02-21 21:21:02 +00:00
|
|
|
|
|
|
|
project(SHELL)
|
|
|
|
|
|
|
|
spec2def(ntobjshex.dll ntobjshex.spec)
|
|
|
|
|
2015-09-27 18:37:23 +00:00
|
|
|
file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps})
|
|
|
|
|
2017-11-26 12:26:39 +00:00
|
|
|
list(APPEND SOURCE
|
2015-08-21 15:01:04 +00:00
|
|
|
ntobjenum.cpp
|
|
|
|
ntobjfolder.cpp
|
2015-02-21 21:21:02 +00:00
|
|
|
ntobjshex.cpp
|
2015-02-23 17:13:32 +00:00
|
|
|
regfolder.cpp
|
2017-11-26 12:26:39 +00:00
|
|
|
precomp.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(ntobjshex MODULE
|
2017-11-26 12:26:39 +00:00
|
|
|
${SOURCE}
|
|
|
|
ntobjshex.rc
|
2015-02-21 21:21:02 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def)
|
|
|
|
|
|
|
|
set_module_type(ntobjshex win32dll UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(ntobjshex uuid wine cpprt atl_classes)
|
2015-02-21 21:21:02 +00:00
|
|
|
|
|
|
|
add_importlibs(ntobjshex
|
|
|
|
advapi32
|
|
|
|
winmm
|
|
|
|
ole32
|
|
|
|
oleaut32
|
|
|
|
shlwapi
|
|
|
|
shell32
|
|
|
|
comctl32
|
|
|
|
msvcrt
|
|
|
|
gdi32
|
|
|
|
user32
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2017-11-26 12:26:39 +00:00
|
|
|
add_pch(ntobjshex precomp.h SOURCE)
|
2015-02-21 21:21:02 +00:00
|
|
|
add_cd_file(TARGET ntobjshex DESTINATION reactos/system32 FOR all)
|