mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 04:26:32 +00:00
parent
066ee4db3b
commit
d8e92b5a0a
5 changed files with 10 additions and 1 deletions
|
@ -17,6 +17,11 @@ if(POLICY CMP0058)
|
|||
cmake_policy(SET CMP0058 OLD)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0065)
|
||||
# Do not add flags to export symbols from executables without the ENABLE_EXPORTS target property
|
||||
cmake_policy(SET CMP0065 NEW)
|
||||
endif()
|
||||
|
||||
project(REACTOS)
|
||||
|
||||
# Versioning
|
||||
|
|
|
@ -300,6 +300,9 @@ endif()
|
|||
add_executable(freeldr_pe ${FREELDR_BASE_SOURCE})
|
||||
add_executable(freeldr_pe_dbg EXCLUDE_FROM_ALL ${FREELDR_BASE_SOURCE})
|
||||
|
||||
set_property(TARGET freeldr_pe PROPERTY ENABLE_EXPORTS TRUE)
|
||||
set_property(TARGET freeldr_pe_dbg PROPERTY ENABLE_EXPORTS TRUE)
|
||||
|
||||
if(NOT MSVC AND SEPARATE_DBG)
|
||||
set_target_properties(freeldr_pe PROPERTIES LINKER_LANGUAGE LDR_PE_HELPER)
|
||||
set_target_properties(freeldr_pe_dbg PROPERTIES LINKER_LANGUAGE LDR_PE_HELPER)
|
||||
|
|
1
dll/3rdparty/libtirpc/CMakeLists.txt
vendored
1
dll/3rdparty/libtirpc/CMakeLists.txt
vendored
|
@ -39,7 +39,6 @@ list(APPEND SOURCE
|
|||
src/gettimeofday.c
|
||||
src/key_call.c
|
||||
src/key_prot_xdr.c
|
||||
src/libtirpc.def
|
||||
#src/makefile
|
||||
#src/Makefile.am
|
||||
src/mt_misc.c
|
||||
|
|
|
@ -18,6 +18,7 @@ add_executable(ntoskrnl
|
|||
guid.c
|
||||
ntoskrnl.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
|
||||
set_property(TARGET ntoskrnl PROPERTY ENABLE_EXPORTS TRUE)
|
||||
|
||||
if(ARCH STREQUAL "i386")
|
||||
set_entrypoint(ntoskrnl KiSystemStartup 4)
|
||||
|
|
|
@ -16,6 +16,7 @@ add_executable(ntkrnlmp
|
|||
${REACTOS_SOURCE_DIR}/ntoskrnl/guid.c
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/ntoskrnl.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ntkrnlmp.def)
|
||||
set_property(TARGET ntkrnlmp PROPERTY ENABLE_EXPORTS TRUE)
|
||||
|
||||
add_target_compile_definitions(ntkrnlmp CONFIG_SMP)
|
||||
|
||||
|
|
Loading…
Reference in a new issue