summaryrefslogtreecommitdiff
path: root/plugins/msvc_rtti/CMakeLists.txt
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-22 18:16:32 -0500
committerMason Reed <mason@vector35.com>2025-03-19 21:17:34 -0400
commit9ff2b8d804a34941a6085af85b6749c20549240e (patch)
tree9b78b478476cfb66fc68828087ad9ff99cdfacb5 /plugins/msvc_rtti/CMakeLists.txt
parent7d66d87a4600c8954c585c3c690546fc56903d44 (diff)
Itanium RTTI scaffolding
Diffstat (limited to 'plugins/msvc_rtti/CMakeLists.txt')
-rw-r--r--plugins/msvc_rtti/CMakeLists.txt46
1 files changed, 0 insertions, 46 deletions
diff --git a/plugins/msvc_rtti/CMakeLists.txt b/plugins/msvc_rtti/CMakeLists.txt
deleted file mode 100644
index 085f13a3..00000000
--- a/plugins/msvc_rtti/CMakeLists.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-
-project(msvc_rtti)
-
-file(GLOB SOURCES
- *.cpp
- *.c
- *.h)
-
-if(DEMO)
- add_library(${PROJECT_NAME} STATIC ${SOURCES})
-else()
- add_library(${PROJECT_NAME} SHARED ${SOURCES})
-endif()
-
-if(NOT BN_INTERNAL_BUILD)
- # Out-of-tree build
- find_path(
- BN_API_PATH
- NAMES binaryninjaapi.h
- HINTS ../../.. binaryninjaapi $ENV{BN_API_PATH}
- REQUIRED
- )
- add_subdirectory(${BN_API_PATH} api)
-endif()
-
-target_link_libraries(${PROJECT_NAME} binaryninjaapi)
-
-set_target_properties(${PROJECT_NAME} PROPERTIES
- CXX_STANDARD 17
- CXX_VISIBILITY_PRESET hidden
- CXX_STANDARD_REQUIRED ON
- C_STANDARD 99
- C_STANDARD_REQUIRED ON
- C_VISIBILITY_PRESET hidden
- VISIBILITY_INLINES_HIDDEN ON
- POSITION_INDEPENDENT_CODE ON)
-
-if(BN_INTERNAL_BUILD)
- plugin_rpath(${PROJECT_NAME})
- set_target_properties(${PROJECT_NAME} PROPERTIES
- LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
- RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
-else()
- bn_install_plugin(${PROJECT_NAME})
-endif()