summaryrefslogtreecommitdiff
path: root/mz/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mz/CMakeLists.txt')
-rw-r--r--mz/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/mz/CMakeLists.txt b/mz/CMakeLists.txt
new file mode 100644
index 0000000..aad239b
--- /dev/null
+++ b/mz/CMakeLists.txt
@@ -0,0 +1,32 @@
+add_library(mz STATIC
+ mz_header.hpp mz_header.cpp
+)
+
+target_include_directories(mz
+ INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+target_link_libraries(mz
+ PUBLIC fusion-utils
+)
+
+target_compile_options(mz
+ PUBLIC "-std=c++14"
+)
+
+find_package(Boost COMPONENTS filesystem program_options system REQUIRED)
+
+add_executable(mz_header_parser
+ mz_header_parser.cpp
+)
+
+target_include_directories(mz_header_parser
+ PRIVATE ${Boost_INCLUDE_DIRS}
+)
+
+target_link_libraries(mz_header_parser
+ PRIVATE mz
+ PRIVATE ${Boost_LIBRARIES}
+)
+
+