diff options
| author | Andrew Lamoureux <andrew@vector35.com> | 2017-03-15 23:38:36 -0400 |
|---|---|---|
| committer | Andrew Lamoureux <andrew@vector35.com> | 2017-03-15 23:38:36 -0400 |
| commit | 15bbf9f7b2f9067159469c9c9bdb4183b25bc9c6 (patch) | |
| tree | feef2fad881cd459ec7e3dcb8461e52c73694613 /CMakeLists.txt | |
| parent | 743eec72deecab87fd0a9914e8dc42375ef7e18a (diff) | |
root CMakeLists.txt references json properly
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b835d75..a635c9f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +project(binaryninja-api) + add_library(binaryninjaapi STATIC architecture.cpp backgroundtask.cpp @@ -19,7 +21,7 @@ add_library(binaryninjaapi STATIC functiongraphblock.cpp functionrecognizer.cpp interaction.cpp - jsoncpp.cpp + json/jsoncpp.cpp log.cpp lowlevelil.cpp mainthread.cpp @@ -32,6 +34,10 @@ add_library(binaryninjaapi STATIC 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 |
