summaryrefslogtreecommitdiff
path: root/le/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-06-19 20:23:07 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-06-19 20:23:07 +0200
commitcea325b7451c1fb8dd22462ec2e7b5b88ea9b547 (patch)
treeffa2811b2ca24b3aa7e08bb28b45e7e9adbd154c /le/CMakeLists.txt
parentc66d1f5c0af70161f4ad4c4175f4280e95b55dfd (diff)
downloadopenwar-cea325b7451c1fb8dd22462ec2e7b5b88ea9b547.tar.gz
openwar-cea325b7451c1fb8dd22462ec2e7b5b88ea9b547.tar.bz2
openwar-cea325b7451c1fb8dd22462ec2e7b5b88ea9b547.zip
Adds an LE executable parser.
Adds the binparse library that holds common components for the MZ and LE parsers.
Diffstat (limited to 'le/CMakeLists.txt')
-rw-r--r--le/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/le/CMakeLists.txt b/le/CMakeLists.txt
new file mode 100644
index 0000000..a4887c5
--- /dev/null
+++ b/le/CMakeLists.txt
@@ -0,0 +1,31 @@
+
+add_library(le STATIC
+ le_header.hpp le_header.cpp
+)
+
+target_include_directories(le
+ INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+target_link_libraries(le
+ PUBLIC fusion-utils
+ PUBLIC binparse
+)
+
+add_executable(le_header_parser
+ le_header_parser.cpp
+)
+
+find_package(Boost COMPONENTS filesystem program_options system REQUIRED)
+
+target_link_libraries(le_header_parser
+ PRIVATE le
+ PRIVATE ${Boost_LIBRARIES}
+)
+
+target_include_directories(le_header_parser
+ PRIVATE ${Boost_INCLUDE_DIRS}
+)
+
+
+