1
2spec2def(loadconfig_apitest.exe loadconfig_apitest.spec)
3
4list(APPEND SOURCE
5    common.c
6    stacktrace.c
7    loadconfig.h)
8
9add_executable(loadconfig_apitest ${SOURCE} testlist.c ${CMAKE_CURRENT_BINARY_DIR}/loadconfig_apitest.def)
10
11set_target_properties(loadconfig_apitest
12    PROPERTIES
13    ENABLE_EXPORTS TRUE
14    DEFINE_SYMBOL "")
15
16target_link_libraries(loadconfig_apitest wine ${PSEH_LIB})
17set_module_type(loadconfig_apitest win32cui)
18add_importlibs(loadconfig_apitest msvcrt kernel32 ntdll)
19#add_pch(loadconfig_apitest loadconfig.h SOURCE)
20add_rostests_file(TARGET loadconfig_apitest)
21
22fixup_load_config(loadconfig_apitest)
23