commit 9165d2123f25eb49e56e9253f2502f55836223cd
parent db8e3c164608fde66260478996df3cf455d5150d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Thu, 22 Dec 2022 14:59:17 +0100
CMakeLists.txt: the target `clap-test` now includes `clap-plugin-template`
Fixes #141
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -79,6 +79,7 @@ if (${CLAP_BUILD_TESTS})
add_library(clap-plugin-template MODULE EXCLUDE_FROM_ALL src/plugin-template.c)
target_link_libraries(clap-plugin-template PRIVATE clap)
set_target_properties(clap-plugin-template PROPERTIES C_STANDARD 11)
+ add_dependencies(clap-tests clap-plugin-template)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(clap-plugin-template PRIVATE -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/src/linux-my_plug.version)
diff --git a/ChangeLog.md b/ChangeLog.md
@@ -4,6 +4,7 @@
* [plugin.h](include/clap/plugin.h): clarify when it is allowed to call get_extension()
* [plugin.h](include/clap/plugin.h): advice for plugin id and version strings
* [host.h](include/clap/host.h): clarify when it is allowed to call get_extension()
+* [CMakeLists.txt](CMakeLists.txt): the target `clap-test` now includes `clap-plugin-template`
# Changes in 1.1.4