diff options
author | jandegr <jandegr@users.noreply.github.com> | 2016-10-16 15:33:22 +0200 |
---|---|---|
committer | jandegr <jandegr@users.noreply.github.com> | 2016-10-16 15:33:22 +0200 |
commit | b1afe316fa6e1cef66161334f7c79d16b6c8ddd9 (patch) | |
tree | f897c0c8f4c08891820eb6164a08ae946fcbfdc5 /Toolchain | |
parent | b5a6bfe12c6e58af6818712a7122aaf9a19b137a (diff) | |
download | navit-b1afe316fa6e1cef66161334f7c79d16b6c8ddd9.tar.gz |
cmake based build for tomtom
Diffstat (limited to 'Toolchain')
-rw-r--r-- | Toolchain/arm-linux.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Toolchain/arm-linux.cmake b/Toolchain/arm-linux.cmake new file mode 100644 index 000000000..a9cb20d02 --- /dev/null +++ b/Toolchain/arm-linux.cmake @@ -0,0 +1,13 @@ +set ( CMAKE_SYSTEM_NAME GNU ) + +# specify the cross compiler +find_program ( CMAKE_C_COMPILER NAMES arm-linux-gcc ) +find_program ( CMAKE_CXX_COMPILER NAMES arm-linux-g++ ) + +set ( TOMTOM_SDK_DIR /opt/tomtom-sdk ) +set ( CMAKE_FIND_ROOT_PATH ${TOMTOM_SDK_DIR} ) + +set ( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) +set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) +set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) +set ( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) |