solanaceae_llama-cpp-web/plugins/CMakeLists.txt

33 lines
690 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR)
add_library(plugin_llama-cpp-web SHARED
./plugin_llama-cpp-web.cpp
)
2024-05-19 11:42:03 +02:00
set_target_properties(plugin_llama-cpp-web PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_link_libraries(plugin_llama-cpp-web PUBLIC
solanaceae_plugin
solanaceae_llama-cpp-web
)
2024-05-19 11:42:03 +02:00
########################################
2024-01-23 23:05:55 +01:00
add_library(plugin_rpbot SHARED
./plugin_rpbot.cpp
)
2024-05-19 11:42:03 +02:00
set_target_properties(plugin_rpbot PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_compile_definitions(plugin_rpbot PUBLIC ENTT_API_IMPORT)
2024-01-23 23:05:55 +01:00
target_link_libraries(plugin_rpbot PUBLIC
solanaceae_plugin
solanaceae_rpbot
)