mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 04:33:12 +00:00
[0.4.14][APISETS][RDBSSLIB][RTL][DISK_NEW] Fix all build issues for MSVC Rls-config CORE-17402
Allows to complete the whole 'ninja bootcd' after 'configure -DCMAKE_BUILD_TYPE=Release'
for compiler MSVC 2010SP1 16.0.40219.1 with RosBE 2.1.6
Similar to the fix committed in 0.4.15-dev-1453-g 4ad7b6d
This commit is contained in:
parent
8ab328b53a
commit
6a6672d029
5 changed files with 21 additions and 4 deletions
|
@ -5,6 +5,11 @@ add_definitions(
|
|||
-D_NTSYSTEM_
|
||||
-D_NTDLLBUILD_)
|
||||
|
||||
if(MSVC)
|
||||
# error C4101: unreferenced local variable in Release-Configuration due to debug logging
|
||||
replace_compile_flags("/we4101" " ")
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE
|
||||
access.c
|
||||
acl.c
|
||||
|
@ -112,5 +117,6 @@ endif()
|
|||
|
||||
add_asm_files(rtl_asm ${ASM_SOURCE})
|
||||
add_library(rtl ${SOURCE} ${rtl_asm})
|
||||
add_pch(rtl rtl.h SOURCE)
|
||||
#disable pch to prevent macro redefinition rtl.h WIN32_NO_STATUS
|
||||
#add_pch(rtl rtl.h SOURCE)
|
||||
add_dependencies(rtl psdk asm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue