gds-render/plugins/plugin-example/CMakeLists.txt

14 lines
472 B
CMake
Raw Permalink Normal View History

project(pluginexample)
cmake_minimum_required(VERSION 2.8)
find_package(PkgConfig REQUIRED)
aux_source_directory(src SOURCES)
2019-11-16 14:54:58 +01:00
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
link_libraries(version)
add_library(${PROJECT_NAME} SHARED EXCLUDE_FROM_ALL ${SOURCES})
add_dependencies(${PROJECT_NAME} version)
set_target_properties(${PROJECT_NAME} PROPERTIES C_VISIBILITY_PRESET hidden)
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_VISIBILITY_PRESET hidden)