2016-05-28 17:55:56 +00:00
|
|
|
project(appcompat)
|
2019-04-16 20:49:55 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__ROS_LONG64__
|
|
|
|
-DWINETEST_USE_DBGSTR_LONGLONG
|
|
|
|
-DUNICODE
|
2020-09-18 09:08:58 +00:00
|
|
|
-D_UNICODE)
|
2017-06-26 14:58:08 +00:00
|
|
|
|
2016-03-29 08:55:40 +00:00
|
|
|
list(APPEND SOURCE
|
2016-04-24 13:05:00 +00:00
|
|
|
apphelp.c
|
2016-05-01 19:12:06 +00:00
|
|
|
data.c
|
2016-10-30 19:39:43 +00:00
|
|
|
db.cpp
|
2017-06-10 20:31:58 +00:00
|
|
|
env.c
|
2016-05-01 19:12:06 +00:00
|
|
|
layerapi.c
|
2017-06-23 19:47:36 +00:00
|
|
|
register.cpp
|
2017-06-26 14:58:08 +00:00
|
|
|
testlist.c
|
|
|
|
testdata.rc
|
|
|
|
testdb.xml)
|
2016-03-29 08:55:40 +00:00
|
|
|
|
2017-06-26 14:58:08 +00:00
|
|
|
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/testdb.sdb
|
|
|
|
COMMAND native-xml2sdb -i ${CMAKE_CURRENT_SOURCE_DIR}/testdb.xml -o ${CMAKE_CURRENT_BINARY_DIR}/testdb.sdb
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/testdb.xml native-xml2sdb)
|
2020-09-18 07:34:18 +00:00
|
|
|
|
2018-08-01 20:15:51 +00:00
|
|
|
add_rc_deps(testdata.rc ${CMAKE_CURRENT_BINARY_DIR}/testdb.sdb)
|
2016-03-29 08:55:40 +00:00
|
|
|
add_executable(apphelp_apitest ${SOURCE})
|
|
|
|
set_module_type(apphelp_apitest win32cui)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(apphelp_apitest ${PSEH_LIB} cpprt atl_classes)
|
2016-10-30 19:39:43 +00:00
|
|
|
add_importlibs(apphelp_apitest advapi32 userenv version shlwapi msvcrt kernel32 ntdll)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET apphelp_apitest)
|