2020-04-11 20:30:47 +00:00
|
|
|
|
2020-04-13 10:20:47 +00:00
|
|
|
spec2def(loadconfig_apitest.exe loadconfig_apitest.spec)
|
|
|
|
|
2020-04-11 20:30:47 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
common.c
|
|
|
|
stacktrace.c
|
|
|
|
loadconfig.h)
|
|
|
|
|
2020-04-13 10:20:47 +00:00
|
|
|
add_executable(loadconfig_apitest ${SOURCE} testlist.c ${CMAKE_CURRENT_BINARY_DIR}/loadconfig_apitest.def)
|
|
|
|
|
2020-04-18 13:18:19 +00:00
|
|
|
set_target_properties(loadconfig_apitest
|
|
|
|
PROPERTIES
|
|
|
|
ENABLE_EXPORTS TRUE
|
|
|
|
DEFINE_SYMBOL "")
|
|
|
|
|
2021-12-04 00:08:20 +00:00
|
|
|
target_link_libraries(loadconfig_apitest wine ${PSEH_LIB})
|
|
|
|
set_module_type(loadconfig_apitest win32cui)
|
|
|
|
add_importlibs(loadconfig_apitest msvcrt kernel32 ntdll)
|
|
|
|
#add_pch(loadconfig_apitest loadconfig.h SOURCE)
|
|
|
|
add_rostests_file(TARGET loadconfig_apitest)
|
|
|
|
|
2020-04-13 10:20:47 +00:00
|
|
|
fixup_load_config(loadconfig_apitest)
|