[Cmake-commits] CMake branch, next, updated. v2.8.6-2098-g4e9bd64

Brad King brad.king at kitware.com
Fri Dec 2 11:27:15 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  4e9bd64f63cb382273a9d4193ed3bf01a0c15f95 (commit)
       via  ec636e299ff1b74457dc4fa306cbd9f33fabce9e (commit)
      from  ee629683ed5ef4489354dc6ff40aa97ff0fbd208 (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=4e9bd64f63cb382273a9d4193ed3bf01a0c15f95
commit 4e9bd64f63cb382273a9d4193ed3bf01a0c15f95
Merge: ee62968 ec636e2
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Dec 2 11:27:12 2011 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Dec 2 11:27:12 2011 -0500

    Merge topic 'TinyCC-compiler' into next
    
    ec636e2 TinyCC: Add compiler info for shared libs on Linux (#12605)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ec636e299ff1b74457dc4fa306cbd9f33fabce9e
commit ec636e299ff1b74457dc4fa306cbd9f33fabce9e
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Dec 2 10:22:44 2011 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Dec 2 10:23:48 2011 -0500

    TinyCC: Add compiler info for shared libs on Linux (#12605)
    
    Use the "-shared" option to link shared libraries.  The compiler does
    not support "-Wl," or "-rpath" but does know how to pass "-soname"
    through to the linker.

diff --git a/Modules/Compiler/TinyCC-C.cmake b/Modules/Compiler/TinyCC-C.cmake
new file mode 100644
index 0000000..bb27ead
--- /dev/null
+++ b/Modules/Compiler/TinyCC-C.cmake
@@ -0,0 +1 @@
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
diff --git a/Modules/Platform/Linux-TinyCC-C.cmake b/Modules/Platform/Linux-TinyCC-C.cmake
new file mode 100644
index 0000000..b753268
--- /dev/null
+++ b/Modules/Platform/Linux-TinyCC-C.cmake
@@ -0,0 +1,4 @@
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "")
+SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "")
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-soname ")

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

Summary of changes:
 Modules/Compiler/TinyCC-C.cmake       |    1 +
 Modules/Platform/Linux-TinyCC-C.cmake |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 Modules/Compiler/TinyCC-C.cmake
 create mode 100644 Modules/Platform/Linux-TinyCC-C.cmake


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list