sdk/libraries/extensiongenerator/resources/HotPlug/ActionCMakeLists.txt.in
raw| 1 | # Build library for action $upperCamelCase(name)$ |
| 2 | camitk_library(SHARED |
| 3 | LIBNAME $joinKebabCase(name)$ |
| 4 | OUTPUT_SUBDIRECTORY actions |
| 5 | SOURCES $upperCamelCase(name)$.cpp |
| 6 | DESCRIPTION "Create extension modern library for action $name$: $description$" |
| 7 | NEEDS_CAMITKCORE |
| 8 | INSTALL_NO_HEADERS |
| 9 | $extensionDependencies$ |
| 10 | ) |
| 11 | # export all symbols on Windows MSVC for action $upperCamelCase(name)$ |
| 12 | set_property(TARGET ${LIBRARY_TARGET_NAME} PROPERTY WINDOWS_EXPORT_ALL_SYMBOLS true) |
| 13 |