gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, cmake, updated. a0283cb5e4c3191db16fc9b4


From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. a0283cb5e4c3191db16fc9b48d0ff05f660ef3ae
Date: Thu, 21 Feb 2013 07:51:47 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, cmake has been updated
       via  a0283cb5e4c3191db16fc9b48d0ff05f660ef3ae (commit)
      from  6c173e43fc3902e5dc4be1ed90aac7a66228628e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=a0283cb5e4c3191db16fc9b48d0ff05f660ef3ae

commit a0283cb5e4c3191db16fc9b48d0ff05f660ef3ae
Author: Juergen Kahrs <address@hidden>
Date:   Thu Feb 21 08:50:50 2013 +0100

    CMake can now use the clang compiler (supplied by the llvm project) to 
build gawk.

diff --git a/cmake/Toolchain_clang.cmake b/cmake/Toolchain_clang.cmake
new file mode 100644
index 0000000..9784db4
--- /dev/null
+++ b/cmake/Toolchain_clang.cmake
@@ -0,0 +1,19 @@
+# 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 Clang)
+
+# which compilers to use for C and C++
+SET(CMAKE_C_COMPILER /usr/bin/clang)
+
+# here is the target environment located
+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)
+

-----------------------------------------------------------------------

Summary of changes:
 ...olchain_generic.cmake => Toolchain_clang.cmake} |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
 copy cmake/{Toolchain_generic.cmake => Toolchain_clang.cmake} (80%)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]