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})
|
add_library(${_target} ${ARGN})
|
||||||
endfunction()
|
endfunction()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(KDBG)
|
||||||
|
set(ROSSYM_LIB "rossym")
|
||||||
|
else()
|
||||||
|
set(ROSSYM_LIB "")
|
||||||
|
endif()
|
||||||
|
|
|
@ -15,7 +15,11 @@ add_subdirectory(lsalib)
|
||||||
add_subdirectory(ppcmmu)
|
add_subdirectory(ppcmmu)
|
||||||
add_subdirectory(pseh)
|
add_subdirectory(pseh)
|
||||||
add_subdirectory(recyclebin)
|
add_subdirectory(recyclebin)
|
||||||
add_subdirectory(rossym)
|
|
||||||
|
if(KDBG)
|
||||||
|
add_subdirectory(rossym)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(rtl)
|
add_subdirectory(rtl)
|
||||||
add_subdirectory(sdk)
|
add_subdirectory(sdk)
|
||||||
add_subdirectory(smlib)
|
add_subdirectory(smlib)
|
||||||
|
|
|
@ -460,7 +460,7 @@ target_link_libraries(ntoskrnl
|
||||||
${PSEH_LIB}
|
${PSEH_LIB}
|
||||||
cmlib
|
cmlib
|
||||||
rtl
|
rtl
|
||||||
rossym
|
${ROSSYM_LIB}
|
||||||
libcntpr
|
libcntpr
|
||||||
wdmguid
|
wdmguid
|
||||||
ioevent)
|
ioevent)
|
||||||
|
@ -504,7 +504,7 @@ if(BUILD_MP)
|
||||||
add_target_link_flags(ntkrnlmp "-shared")
|
add_target_link_flags(ntkrnlmp "-shared")
|
||||||
endif()
|
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_importlibs(ntkrnlmp hal kdcom bootvid)
|
||||||
add_dependencies(ntkrnlmp psdk bugcodes asm)
|
add_dependencies(ntkrnlmp psdk bugcodes asm)
|
||||||
add_cd_file(TARGET ntkrnlmp DESTINATION reactos/system32 NO_CAB FOR all)
|
add_cd_file(TARGET ntkrnlmp DESTINATION reactos/system32 NO_CAB FOR all)
|
||||||
|
|
Loading…
Reference in a new issue