aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt')
-rw-r--r--meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt b/meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt
new file mode 100644
index 000000000..9e136af1b
--- /dev/null
+++ b/meson/test cases/cmake/6 object library no dep/subprojects/cmObjLib/CMakeLists.txt
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 3.7)
+project(cmObject CXX)
+
+add_library(lib_obj OBJECT libA.cpp libB.cpp)
+add_library(lib_sha SHARED $<TARGET_OBJECTS:lib_obj>)
+add_library(lib_sta STATIC $<TARGET_OBJECTS:lib_obj>)