Author: akhaldi
Date: Thu Sep 19 22:29:36 2013
New Revision: 60223
URL:
http://svn.reactos.org/svn/reactos?rev=60223&view=rev
Log:
* Compile and link to rossym only if the KDBG build is enabled.
Modified:
trunk/reactos/cmake/CMakeMacros.cmake
trunk/reactos/lib/CMakeLists.txt
trunk/reactos/ntoskrnl/CMakeLists.txt
Modified: trunk/reactos/cmake/CMakeMacros.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?re…
==============================================================================
--- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Thu Sep 19 22:29:36 2013
@@ -562,3 +562,9 @@
add_library(${_target} ${ARGN})
endfunction()
endif()
+
+if(KDBG)
+ set(ROSSYM_LIB "rossym")
+else()
+ set(ROSSYM_LIB "")
+endif()
Modified: trunk/reactos/lib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/CMakeLists.txt?rev=602…
==============================================================================
--- trunk/reactos/lib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/CMakeLists.txt [iso-8859-1] Thu Sep 19 22:29:36 2013
@@ -15,7 +15,11 @@
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)
Modified: trunk/reactos/ntoskrnl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/CMakeLists.txt?re…
==============================================================================
--- trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] Thu Sep 19 22:29:36 2013
@@ -460,7 +460,7 @@
${PSEH_LIB}
cmlib
rtl
- rossym
+ ${ROSSYM_LIB}
libcntpr
wdmguid
ioevent)
@@ -504,7 +504,7 @@
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)