diff options
author | fuzzard <bmurphy@bcmcs.net> | 2019-06-28 14:32:45 +1000 |
---|---|---|
committer | fuzzard <bmurphy@bcmcs.net> | 2019-10-03 13:32:03 +1000 |
commit | 66aa582de978d50f74f31fe99ba6ca1e0fdd678d (patch) | |
tree | 1060138e78590a2e3a520e04085e6020a99838f4 /tools | |
parent | 42de29130db70734c3a629876294465fb2cae261 (diff) |
[cmakebuildsys] Add build_dir option + Docs
Allow supplying BUILD_DIR option to cmakebuildsys to define build location. Default will
fall back to <source>/build if not supplied.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/cmakebuildsys/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/depends/target/cmakebuildsys/Makefile b/tools/depends/target/cmakebuildsys/Makefile index 89249c1cda..893e21caba 100644 --- a/tools/depends/target/cmakebuildsys/Makefile +++ b/tools/depends/target/cmakebuildsys/Makefile @@ -10,7 +10,9 @@ ifeq ($(Configuration),) endif endif -BUILD_DIR=$(CMAKE_SOURCE_DIR)/build +ifeq ($(BUILD_DIR),) + BUILD_DIR=$(CMAKE_SOURCE_DIR)/build +endif all: mkdir -p $(BUILD_DIR) |