mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00

Since the setuplib.dll isn't available after installing ReactOS, build
instead a static library that is then used for the dll, and linked into
the setuplib_unittest, so that it can be run in our test-suite.
Addendum to commit d7c1d220
.
18 lines
535 B
CMake
18 lines
535 B
CMake
|
|
PROJECT(setuplib_unittest)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/modules/rostests/apitests/include
|
|
${REACTOS_SOURCE_DIR}/base/setup/lib)
|
|
|
|
list(APPEND SOURCE
|
|
IsValidInstallDirectory.c
|
|
testlist.c
|
|
precomp.h)
|
|
|
|
add_executable(setuplib_unittest ${SOURCE})
|
|
target_link_libraries(setuplib_unittest setuplib_static ${PSEH_LIB})
|
|
set_module_type(setuplib_unittest win32cui)
|
|
add_importlibs(setuplib_unittest msvcrt kernel32 ntdll)
|
|
#add_pch(setuplib_unittest precomp.h SOURCE)
|
|
add_rostests_file(TARGET setuplib_unittest)
|