From cea325b7451c1fb8dd22462ec2e7b5b88ea9b547 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 19 Jun 2016 20:23:07 +0200 Subject: Adds an LE executable parser. Adds the binparse library that holds common components for the MZ and LE parsers. --- le/CMakeLists.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 le/CMakeLists.txt (limited to 'le/CMakeLists.txt') 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} +) + + + -- cgit v1.2.3-70-g09d2