summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-06-23 18:36:37 -0400
committerRusty Wagner <rusty@vector35.com>2017-06-23 18:36:37 -0400
commitc51f3bed6bdef577253feee0e85a71fda1931bd7 (patch)
tree1cf26ff28e0b9bfb6bfbed044ba7ca520d63f862 /CMakeLists.txt
parent4b988c0d24c8d8c8dc67485f3aaeb7106eb4af18 (diff)
parentcca0fe6ea60eb7f6b35cc433a6fff96cc65b3ff8 (diff)
Merge branch 'dev'
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..a635c9f2
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,44 @@
+cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
+
+project(binaryninja-api)
+
+add_library(binaryninjaapi STATIC
+ architecture.cpp
+ backgroundtask.cpp
+ basicblock.cpp
+ binaryninjaapi.cpp
+ binaryreader.cpp
+ binaryview.cpp
+ binaryviewtype.cpp
+ binarywriter.cpp
+ callingconvention.cpp
+ databuffer.cpp
+ demangle.cpp
+ fileaccessor.cpp
+ filemetadata.cpp
+ function.cpp
+ functiongraph.cpp
+ functiongraphblock.cpp
+ functionrecognizer.cpp
+ interaction.cpp
+ json/jsoncpp.cpp
+ log.cpp
+ lowlevelil.cpp
+ mainthread.cpp
+ platform.cpp
+ plugin.cpp
+ scriptingprovider.cpp
+ tempfile.cpp
+ transform.cpp
+ type.cpp
+ update.cpp
+ )
+
+set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
+
+include_directories(${PROJECT_SOURCE_DIR})
+
+set_target_properties(binaryninjaapi PROPERTIES
+ CXX_STANDARD 11
+ ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin
+ )