diff options
| author | Andrew Lamoureux <lwerdna@users.noreply.github.com> | 2017-03-15 20:35:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-15 20:35:37 -0400 |
| commit | c7c12a27abbd8a01d9425598ac7cd424dcfa50ce (patch) | |
| tree | 9347ba4e5e6a2b26baf620f59e56db7965bb47b5 /CMakeLists.txt | |
| parent | 1f7523ce2b1edac1014d781fc771d5b82568e2f1 (diff) | |
| parent | 31d34d5d067ed4c5fe071eb8637b10ed50607555 (diff) | |
Merge pull request #573 from jhurliman/dev
CMake files for building binaryninja-api and example c++ plugin
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..9b835d75 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,38 @@ +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) + +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 + jsoncpp.cpp + log.cpp + lowlevelil.cpp + mainthread.cpp + platform.cpp + plugin.cpp + scriptingprovider.cpp + tempfile.cpp + transform.cpp + type.cpp + update.cpp + ) + +set_target_properties(binaryninjaapi PROPERTIES + CXX_STANDARD 11 + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin + ) |
