The CMake project file of the plug-in template, as described in Plug-ins. It can also be found at speect/plugins/template/CMakeLists.txt.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | ######################################################################################
## ##
## AUTHOR : ##
## DATE : ##
## ##
######################################################################################
## ##
## CMakeList for YOUR Plug-in ##
## ##
## ##
######################################################################################
#------------------------------------------------------------------------------------#
# Define plug-in #
#------------------------------------------------------------------------------------#
speect_plugin_definition(Plugin_Name "Plugin_Class_Name" 1 0 0) # version is major minor patch
#------------------------------------------------------------------------------------#
# Configure plugin_info.h.in #
#------------------------------------------------------------------------------------#
set(description "A simple plug-in description")
# Minimum required Speect Engine version
set(major_min 1)
set(minor_min 0)
speect_plugin_configure_info(${description} ${major_min} ${minor_min})
#------------------------------------------------------------------------------------#
# Source files #
#------------------------------------------------------------------------------------#
# Lists of all the source files
include(sources)
#------------------------------------------------------------------------------------#
# Plug-in shared object #
#------------------------------------------------------------------------------------#
speect_plugin_create()
|