[ros-diffs] [jgardou] 49459: [CMAKE] allow to specify build tools directory with -DREACTOS_BUILD_TOOLS_DIR=Y:\you\path So now you're able to use multiple compilers with one tree without too much worry.

jgardou at svn.reactos.org jgardou at svn.reactos.org
Wed Nov 3 12:57:04 UTC 2010


Author: jgardou
Date: Wed Nov  3 12:57:03 2010
New Revision: 49459

URL: http://svn.reactos.org/svn/reactos?rev=49459&view=rev
Log:
[CMAKE]
  allow to specify build tools directory with -DREACTOS_BUILD_TOOLS_DIR=Y:\you\path
So now you're able to use multiple compilers with one tree without too much worry.

Modified:
    branches/cmake-bringup/CMakeLists.txt

Modified: branches/cmake-bringup/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?rev=49459&r1=49458&r2=49459&view=diff
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Wed Nov  3 12:57:03 2010
@@ -65,7 +65,11 @@
 # Activate language support for resource files
 enable_language(RC)
 
-set(IMPORT_EXECUTABLES "${REACTOS_SOURCE_DIR}/build/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
+if(NOT DEFINED REACTOS_BUILD_TOOLS_DIR)
+  set(REACTOS_BUILD_TOOLS_DIR ${REACTOS_SOURCE_DIR}/build)
+endif()
+
+set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
 include(${IMPORT_EXECUTABLES})
 
 add_definitions(-DDBG=${DBG} -DKDBG=${KDBG})




More information about the Ros-diffs mailing list