5c7a529fa1
* Added imnodes * Added basic data processor view. Still needs to be cleaned up * Make sure all attached links get properly removed when a Node is deleted * Cleanup and API exposing * Added data provider overlays and integrate them with the data processor * Optimized data processing * Node UI enhancements * Added support for all themes to the nodes editor * Improved data processor context menus * Fixed data processor context menu showing up everywhere * Make hex editor context menu behave the same as data processor one * Add different node pin types and prevent incompatible ones from being connected * Don't require explicitly marking node as end node * Fixed plugin copying * Added some more nodes
37 lines
1.2 KiB
CMake
37 lines
1.2 KiB
CMake
cmake_minimum_required(VERSION 3.16)
|
|
# Change this to the name of your plugin #
|
|
project(builtin)
|
|
|
|
# Add your source files here #
|
|
add_library(${PROJECT_NAME} SHARED
|
|
source/plugin_builtin.cpp
|
|
|
|
source/content/command_palette_commands.cpp
|
|
source/content/data_inspector.cpp
|
|
source/content/lang_builtin_functions.cpp
|
|
source/content/settings_entries.cpp
|
|
source/content/tools_entries.cpp
|
|
source/content/data_processor_nodes.cpp
|
|
|
|
source/math_evaluator.cpp
|
|
)
|
|
|
|
# Add additional include directories here #
|
|
target_include_directories(${PROJECT_NAME} PRIVATE include)
|
|
# Add additional libraries here #
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE libimhex LLVMDemangle)
|
|
|
|
|
|
|
|
# ---- No need to change anything from here downwards unless you know what you're doing ---- #
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "plugin")
|
|
|
|
if (WIN32)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc -Wl,--allow-multiple-definition -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive")
|
|
endif()
|
|
|
|
if (NOT TARGET libimhex)
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../libimhex ${CMAKE_CURRENT_BINARY_DIR}/plugins/libimhex)
|
|
endif() |