mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
* Compile and link to rossym only if the KDBG build is enabled.
svn path=/trunk/; revision=60223
This commit is contained in:
parent
2a6ce22eca
commit
cde8f374e9
|
@ -562,3 +562,9 @@ else()
|
|||
add_library(${_target} ${ARGN})
|
||||
endfunction()
|
||||
endif()
|
||||
|
||||
if(KDBG)
|
||||
set(ROSSYM_LIB "rossym")
|
||||
else()
|
||||
set(ROSSYM_LIB "")
|
||||
endif()
|
||||
|
|
|
@ -15,7 +15,11 @@ add_subdirectory(lsalib)
|
|||
add_subdirectory(ppcmmu)
|
||||
add_subdirectory(pseh)
|
||||
add_subdirectory(recyclebin)
|
||||
add_subdirectory(rossym)
|
||||
|
||||
if(KDBG)
|
||||
add_subdirectory(rossym)
|
||||
endif()
|
||||
|
||||
add_subdirectory(rtl)
|
||||
add_subdirectory(sdk)
|
||||
add_subdirectory(smlib)
|
||||
|
|
|
@ -460,7 +460,7 @@ target_link_libraries(ntoskrnl
|
|||
${PSEH_LIB}
|
||||
cmlib
|
||||
rtl
|
||||
rossym
|
||||
${ROSSYM_LIB}
|
||||
libcntpr
|
||||
wdmguid
|
||||
ioevent)
|
||||
|
@ -504,7 +504,7 @@ if(BUILD_MP)
|
|||
add_target_link_flags(ntkrnlmp "-shared")
|
||||
endif()
|
||||
|
||||
target_link_libraries(ntkrnlmp cportlib csq ${PSEH_LIB} cmlib rtl rossym libcntpr wdmguid ioevent)
|
||||
target_link_libraries(ntkrnlmp cportlib csq ${PSEH_LIB} cmlib rtl ${ROSSYM_LIB} libcntpr wdmguid ioevent)
|
||||
add_importlibs(ntkrnlmp hal kdcom bootvid)
|
||||
add_dependencies(ntkrnlmp psdk bugcodes asm)
|
||||
add_cd_file(TARGET ntkrnlmp DESTINATION reactos/system32 NO_CAB FOR all)
|
||||
|
|
Loading…
Reference in a new issue