diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-19 11:58:16 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-19 11:58:16 +0200 |
| commit | c66d1f5c0af70161f4ad4c4175f4280e95b55dfd (patch) | |
| tree | f8e5e5d6dc921054182e478be742ac30258c56c6 /mz/CMakeLists.txt | |
| download | openwar-c66d1f5c0af70161f4ad4c4175f4280e95b55dfd.tar.gz openwar-c66d1f5c0af70161f4ad4c4175f4280e95b55dfd.tar.bz2 openwar-c66d1f5c0af70161f4ad4c4175f4280e95b55dfd.zip | |
Initial commit of a mz-header parser.
Diffstat (limited to 'mz/CMakeLists.txt')
| -rw-r--r-- | mz/CMakeLists.txt | 32 |
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} +) + + |
