Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 12 additions and 0 deletions.
  1. +11 −0 CMake/test1/CMakeLists.txt
  2. +1 −0 CMake/test1/foo.c
View
11 CMake/test1/CMakeLists.txt
@@ -0,0 +1,11 @@
+# http://cmake.org/Bug/view.php?id=13155#c29270
+string(REPLACE "<CMAKE_SHARED_LIBRARY_SONAME_C_FLAG><TARGET_SONAME>" "" CMAKE_C_CREATE_SHARED_MODULE "${CMAKE_C_CREATE_SHARED_MODULE}")
+cmake_minimum_required(VERSION 2.8)
+project(test1 C)
+
+add_library(lib1 SHARED foo.c)
+add_library(lib2 MODULE foo.c)
+
+install(TARGETS lib1 lib2
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib)
View
1 CMake/test1/foo.c
@@ -0,0 +1 @@
+int bla() { return 0;}

No commit comments for this range

Something went wrong with that request. Please try again.