2017-04-02 14:46:54 +00:00
|
|
|
project(rapps)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2017-04-02 14:46:54 +00:00
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/cryptlib)
|
2017-08-02 12:50:53 +00:00
|
|
|
include_directories(include)
|
2015-10-06 00:22:07 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
2017-04-02 14:46:54 +00:00
|
|
|
aboutdlg.cpp
|
|
|
|
available.cpp
|
2018-02-25 13:20:00 +00:00
|
|
|
cabinet.cpp
|
2017-04-02 14:46:54 +00:00
|
|
|
gui.cpp
|
|
|
|
installed.cpp
|
|
|
|
integrity.cpp
|
|
|
|
loaddlg.cpp
|
|
|
|
misc.cpp
|
|
|
|
settingsdlg.cpp
|
|
|
|
winmain.cpp
|
2017-08-15 19:36:23 +00:00
|
|
|
unattended.cpp
|
2017-08-02 12:50:53 +00:00
|
|
|
include/rapps.h
|
2017-08-14 17:04:43 +00:00
|
|
|
include/available.h
|
|
|
|
include/gui.h
|
|
|
|
include/dialogs.h
|
|
|
|
include/installed.h
|
|
|
|
include/crichedit.h
|
|
|
|
include/defines.h
|
|
|
|
include/misc.h
|
|
|
|
include/resource.h
|
|
|
|
include/rosui.h
|
|
|
|
include/winmain.h
|
2017-08-15 19:36:23 +00:00
|
|
|
include/unattended.h
|
2017-08-02 12:50:53 +00:00
|
|
|
)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2017-09-10 21:02:06 +00:00
|
|
|
add_definitions(
|
|
|
|
-DUSE_CERT_PINNING
|
|
|
|
-D_ATL_NO_EXCEPTIONS)
|
2018-02-03 22:42:46 +00:00
|
|
|
|
2015-06-17 17:20:29 +00:00
|
|
|
file(GLOB_RECURSE rapps_rc_deps res/*.*)
|
|
|
|
add_rc_deps(rapps.rc ${rapps_rc_deps})
|
2014-02-08 18:13:52 +00:00
|
|
|
add_executable(rapps ${SOURCE} rapps.rc)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(rapps win32gui UNICODE)
|
2019-04-06 20:37:13 +00:00
|
|
|
target_link_libraries(rapps uuid wine)
|
2017-08-18 16:38:28 +00:00
|
|
|
add_importlibs(rapps advapi32 comctl32 gdi32 wininet user32 shell32 shlwapi ole32 setupapi msvcrt kernel32 ntdll)
|
2017-08-02 12:50:53 +00:00
|
|
|
add_pch(rapps include/rapps.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(rapps rappsmsg)
|
2011-10-03 19:16:59 +00:00
|
|
|
add_message_headers(ANSI rappsmsg.mc)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
|