]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/third_party/jsoncpp/CMakeLists.txt
Migrated to CMake build system.
[bamtools.git] / src / third_party / jsoncpp / CMakeLists.txt
diff --git a/src/third_party/jsoncpp/CMakeLists.txt b/src/third_party/jsoncpp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1ee9cdf
--- /dev/null
@@ -0,0 +1,22 @@
+# ==========================
+# BamTools CMakeLists.txt
+# (c) 2010 Derek Barnett
+#
+# src/third-party/jsoncpp
+# ==========================
+
+# add compiler definitions 
+#add_definitions(-DJSONCPP_LIBRARY) # (for proper exporting of library symbols)
+
+# create jsoncpp library
+add_library ( jsoncpp SHARED 
+              json_reader.cpp
+              json_value.cpp
+              json_writer.cpp
+            )
+
+# set jsoncpp library properties
+set_target_properties( jsoncpp PROPERTIES
+                       SOVERSION   1.0.0
+                       OUTPUT_NAME jsoncpp
+                     )