mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 08:41:41 +00:00
[SETUPLIB] Add a setuplib_static library, used for the dll and the unit-tests.
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
.
This commit is contained in:
parent
2c2cdfddd3
commit
f135cab83e
4 changed files with 58 additions and 31 deletions
|
@ -11,7 +11,8 @@ list(APPEND SOURCE
|
|||
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 setuplib msvcrt kernel32)
|
||||
add_importlibs(setuplib_unittest msvcrt kernel32 ntdll)
|
||||
#add_pch(setuplib_unittest precomp.h SOURCE)
|
||||
add_rostests_file(TARGET setuplib_unittest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue