mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[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. svn path=/branches/cmake-bringup/; revision=49459
This commit is contained in:
parent
d63277525c
commit
9e6d47d509
|
@ -65,7 +65,11 @@ enable_language(ASM)
|
|||
# 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})
|
||||
|
|
Loading…
Reference in a new issue