diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-12 21:58:24 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-12 21:58:24 +0300 |
commit | 8f2c2755573b81c1e2c9ef1c42c529d13396d4d2 (patch) | |
tree | 99eaa148631402d7fe600fdcd7ba402c74d13ff2 /cmake/Toolchain_generic.cmake | |
parent | 09dca22666681470a207083f339083a1a4a8c973 (diff) | |
parent | 9e2907afe246b3930d9ae6043a2657c4492f4507 (diff) | |
download | egawk-8f2c2755573b81c1e2c9ef1c42c529d13396d4d2.tar.gz egawk-8f2c2755573b81c1e2c9ef1c42c529d13396d4d2.tar.bz2 egawk-8f2c2755573b81c1e2c9ef1c42c529d13396d4d2.zip |
Merge branch 'master' into comment
Diffstat (limited to 'cmake/Toolchain_generic.cmake')
-rw-r--r-- | cmake/Toolchain_generic.cmake | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/Toolchain_generic.cmake b/cmake/Toolchain_generic.cmake new file mode 100644 index 00000000..91ddc6e7 --- /dev/null +++ b/cmake/Toolchain_generic.cmake @@ -0,0 +1,21 @@ +# http://www.cmake.org/Wiki/CmakeMingw +# http://www.cmake.org/Wiki/CMake_Cross_Compiling#The_toolchain_file + +# the name of the target operating system +SET(CMAKE_SYSTEM_NAME Generic) + +# which compilers to use for C and C++ +# Settings for Ubuntu 12.04.1 LTS +SET(CMAKE_C_COMPILER /usr/bin/gcc) + +# here is the target environment located +# Settings for Ubuntu 12.04.1 LTS +SET(CMAKE_FIND_ROOT_PATH /usr/) + +# adjust the default behaviour of the FIND_XXX() commands: +# search headers and libraries in the target environment, search +# programs in the host environment +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + |