mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:53:07 +00:00
[APITESTS][NTVDM][SPOOLSV] Add the missing ENABLE_EXPORTS property as these EXE targets have function exports.
This became a requirement, following a previous CMake update.
Otherwise the built EXEs would not export their intended functions.
Addendum to commit d8e92b5a
(see PR #1335)
CORE-15406
[LOADCONFIG] The GCC rant had nothing to do with GCC, but everything with CMake...
[SPOOLSV] Add the missing exported stubs.
This commit is contained in:
parent
addf1e87fe
commit
957e566a23
6 changed files with 36 additions and 10 deletions
|
@ -22,9 +22,18 @@ list(APPEND SOURCE
|
|||
rpcstubs.c
|
||||
spoolfile.c
|
||||
xcv.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/spoolsv_stubs.c)
|
||||
|
||||
add_executable(spoolsv ${SOURCE} spoolsv.rc)
|
||||
add_executable(spoolsv
|
||||
${SOURCE}
|
||||
spoolsv.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/spoolsv.def)
|
||||
|
||||
set_target_properties(spoolsv
|
||||
PROPERTIES
|
||||
ENABLE_EXPORTS TRUE
|
||||
DEFINE_SYMBOL "")
|
||||
|
||||
if(USE_CLANG_CL)
|
||||
target_compile_options(spoolsv PRIVATE "-Wno-cast-calling-convention")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue