summaryrefslogtreecommitdiffstats
path: root/tests/libother/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother/CMakeLists.txt')
-rw-r--r--tests/libother/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/libother/CMakeLists.txt b/tests/libother/CMakeLists.txt
new file mode 100644
index 00000000..be64a0eb
--- /dev/null
+++ b/tests/libother/CMakeLists.txt
@@ -0,0 +1,15 @@
+project(libother)
+
+set(libother_SRC
+otherderived.cpp
+)
+
+add_definitions("-DLIBOTHER_BUILD")
+add_library(libother SHARED ${libother_SRC})
+set_property(TARGET libother PROPERTY PREFIX "")
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}
+ ${libsample_SOURCE_DIR}
+ ${libsample_SOURCE_DIR}/..)
+target_link_libraries(libother libsample)
+