summaryrefslogtreecommitdiff
path: root/disasm/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-06-20 14:34:02 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-06-20 14:34:02 +0200
commit46145fe7d5b1d9f0921121a088a3d61f968cc473 (patch)
tree3bb8d13e1d9138456d03253051c24580f46690cb /disasm/CMakeLists.txt
parent307c4669d787d25df04d990b3a0e47a1617b078f (diff)
downloadopenwar-46145fe7d5b1d9f0921121a088a3d61f968cc473.tar.gz
openwar-46145fe7d5b1d9f0921121a088a3d61f968cc473.tar.bz2
openwar-46145fe7d5b1d9f0921121a088a3d61f968cc473.zip
Adds a disasm program that decodes the first DOS instruction in a LE exe.
Diffstat (limited to 'disasm/CMakeLists.txt')
-rw-r--r--disasm/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/disasm/CMakeLists.txt b/disasm/CMakeLists.txt
new file mode 100644
index 0000000..e433d10
--- /dev/null
+++ b/disasm/CMakeLists.txt
@@ -0,0 +1,16 @@
+
+add_executable(disasm
+ disasm.cpp
+)
+
+find_package(Boost COMPONENTS filesystem program_options system REQUIRED)
+
+target_link_libraries(disasm
+ PRIVATE le
+ PRIVATE ${Boost_LIBRARIES}
+ PRIVATE distorm3
+)
+
+target_include_directories(disasm
+ PRIVATE ${Boost_INCLUDE_DIRS}
+) \ No newline at end of file