summaryrefslogtreecommitdiff
path: root/examples/uinotification/CMakeLists.txt
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-10-02 20:52:15 -0400
committerGlenn Smith <glenn@vector35.com>2020-10-14 21:06:52 -0400
commit0de53b97ef6cec57ab4bdfbb9a9e1b6503eecfab (patch)
tree553a07d8233b614b771569e12a75115d69963adc /examples/uinotification/CMakeLists.txt
parent02098f30b88f25953532cb4ae20c6c1161b74603 (diff)
UIContext notifications (eg file open/save)
Diffstat (limited to 'examples/uinotification/CMakeLists.txt')
-rw-r--r--examples/uinotification/CMakeLists.txt24
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})