aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-10-20 23:58:52 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-24 21:59:34 +0100
commit4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb (patch)
tree3282fffedacea85208b69a018b6e0e3136669c97 /meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
parent8042d0b7325a98e03ad428453ee440870b2d8b82 (diff)
downloadopenembedded-core-contrib-4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb.tar.gz
nativesdk-cmake: Adjust toolchain paths dynamically
This patch adds a flexible way to configure the CMake in SDKs. It adds a toolchain configuration script which supports subscripts for extensions, as for example Qt5. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh')
-rw-r--r--meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh b/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
new file mode 100644
index 0000000000..0eb56b66fa
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
@@ -0,0 +1 @@
+alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake"