|
|
|
|
@ -71,15 +71,15 @@
|
|
|
|
|
# add_executable(app source1 source2 ... ${app_resources}) |
|
|
|
|
# |
|
|
|
|
# Add dynamic plugin. |
|
|
|
|
# corrade_add_plugin(plugin_name install_dir metadata_file |
|
|
|
|
# sources...) |
|
|
|
|
# corrade_add_plugin(plugin_name debug_install_dir release_install_dir |
|
|
|
|
# metadata_file sources...) |
|
|
|
|
# The macro adds preprocessor directive CORRADE_DYNAMIC_PLUGIN. Additional |
|
|
|
|
# libraries can be linked in via target_link_libraries(plugin_name ...). If |
|
|
|
|
# install_dir is set to CMAKE_CURRENT_BINARY_DIR (e.g. for testing purposes), |
|
|
|
|
# the files are copied directly, without the need to run `make install`. Note |
|
|
|
|
# that the files are actually put into configuration-based subdirectory, i.e. |
|
|
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}. See documentation of |
|
|
|
|
# CMAKE_CFG_INTDIR variable for more information. |
|
|
|
|
# debug_install_dir is set to CMAKE_CURRENT_BINARY_DIR (e.g. for testing |
|
|
|
|
# purposes), the files are copied directly, without the need to perform install |
|
|
|
|
# step. Note that the files are actually put into configuration-based |
|
|
|
|
# subdirectory, i.e. ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}. See |
|
|
|
|
# documentation of CMAKE_CFG_INTDIR variable for more information. |
|
|
|
|
# |
|
|
|
|
# |
|
|
|
|
# Add static plugin. |
|
|
|
|
@ -90,6 +90,10 @@
|
|
|
|
|
# install_dir is set to CMAKE_CURRENT_BINARY_DIR (e.g. for testing purposes), |
|
|
|
|
# no installation rules are added. |
|
|
|
|
# |
|
|
|
|
# Note that plugins built in debug configuration (e.g. with CMAKE_BUILD_TYPE |
|
|
|
|
# set to Debug) have "-d" suffix to make it possible to have both debug and |
|
|
|
|
# release plugins installed alongside each other. |
|
|
|
|
# |
|
|
|
|
# |
|
|
|
|
# Additionally these variables are defined for internal usage: |
|
|
|
|
# CORRADE_INTERCONNECT_LIBRARY - Interconnect library (w/o |
|
|
|
|
|