[Cmake-commits] CMake branch, next, updated. v2.8.6-2103-gbf21aea
Brad King
brad.king at kitware.com
Mon Dec 5 09:00:40 EST 2011
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 "CMake".
The branch, next has been updated
via bf21aea45eaa1d714f21a18f232f61668cecae0a (commit)
via 0efe602c595e78c5e7cef6c85dc7983be7a905df (commit)
from af2d5df5bb8015c14ab754a07900605c3504b4d3 (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://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bf21aea45eaa1d714f21a18f232f61668cecae0a
commit bf21aea45eaa1d714f21a18f232f61668cecae0a
Merge: af2d5df 0efe602
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Dec 5 09:00:38 2011 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Dec 5 09:00:38 2011 -0500
Merge topic 'TinyCC-compiler' into next
0efe602 TinyCC: Add default compilation flags (#12605)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0efe602c595e78c5e7cef6c85dc7983be7a905df
commit 0efe602c595e78c5e7cef6c85dc7983be7a905df
Author: Mathieu Malaterre <mathieu.malaterre at gmail.com>
AuthorDate: Sat Dec 3 12:21:48 2011 +0100
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Dec 5 08:59:50 2011 -0500
TinyCC: Add default compilation flags (#12605)
diff --git a/Modules/Compiler/TinyCC-C.cmake b/Modules/Compiler/TinyCC-C.cmake
index bb27ead..4a48c0a 100644
--- a/Modules/Compiler/TinyCC-C.cmake
+++ b/Modules/Compiler/TinyCC-C.cmake
@@ -1 +1,8 @@
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
+
+# no optimization in tcc:
+SET (CMAKE_C_FLAGS_INIT "")
+SET (CMAKE_C_FLAGS_DEBUG_INIT "-g")
+SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-DNDEBUG")
+SET (CMAKE_C_FLAGS_RELEASE_INIT "-DNDEBUG")
+SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g")
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/TinyCC-C.cmake | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list