summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-06-20 15:53:39 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-06-23 13:23:15 +0200
commit9fd21ebae6282e4015f3e33461ef62f62c38371d (patch)
treef1ad0a80a0c6e06868fd0550208d691abad4a1c5 /CMakeLists.txt
parent749b7f7637c8b5c80dfe813d04c5301054b311c4 (diff)
Add source target per module for generated sources.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 873e4c5fad7..da9cb6da6a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,3 +160,6 @@ __create_module_targets(TARGETS "module")
# Create module targets with name ${MODULE}+test depending on every test target defined within that module
__create_module_targets(TEST_TARGETS "test")
+
+# Create module targets with name ${MODULE}+source depending on every source target defined within that module
+__create_module_targets(SOURCE_TARGETS "source")