diff options
| author | Glenn Smith <glenn@vector35.com> | 2020-10-02 20:52:15 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2020-10-14 21:06:52 -0400 |
| commit | 0de53b97ef6cec57ab4bdfbb9a9e1b6503eecfab (patch) | |
| tree | 553a07d8233b614b771569e12a75115d69963adc /examples/uinotification/CMakeLists.txt | |
| parent | 02098f30b88f25953532cb4ae20c6c1161b74603 (diff) | |
UIContext notifications (eg file open/save)
Diffstat (limited to 'examples/uinotification/CMakeLists.txt')
| -rw-r--r-- | examples/uinotification/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/uinotification/CMakeLists.txt b/examples/uinotification/CMakeLists.txt new file mode 100644 index 00000000..6af09269 --- /dev/null +++ b/examples/uinotification/CMakeLists.txt @@ -0,0 +1,24 @@ +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) + +project(uinotification) + +file(GLOB SOURCES + *.cpp + *.h) + +add_library(uinotification SHARED ${SOURCES}) +target_link_libraries(uinotification binaryninjaapi binaryninjaui) + +set_target_properties(uinotification PROPERTIES + CXX_STANDARD 17 + CXX_VISIBILITY_PRESET hidden + CXX_STANDARD_REQUIRED ON + VISIBILITY_INLINES_HIDDEN ON + POSITION_INDEPENDENT_CODE ON + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../bin) + +if(BN_INTERNAL_BUILD) + ui_plugin_rpath(uinotification) +endif() + +bn_install_plugin(${PROJECT_NAME}) |
