Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MSK-SW
Low-Level Radio Frequency
Master Oscillator
XFEL
GPSDO
Commits
076b16aa
Commit
076b16aa
authored
Apr 07, 2021
by
Martin Christoph Hierholzer
Browse files
config generator: fix not copying TestFacility from scripts project to build directory
parent
3260b827
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/config_generator_project.cmake
View file @
076b16aa
...
...
@@ -22,7 +22,9 @@ find_package(ConfigGenerator 02.00 REQUIRED)
set
(
DESTDIR share/ConfigGenerator-
${
PROJECT_NAME
}
-
${${
PROJECT_NAME
}
_MAJOR_VERSION
}
-
${${
PROJECT_NAME
}
_MINOR_VERSION
}
)
# copy all script files from config generator to our build directory
file
(
GLOB scripts RELATIVE
${
ConfigGenerator_DIR
}
${
ConfigGenerator_DIR
}
/*.sh
${
ConfigGenerator_DIR
}
/*.py
${
ConfigGenerator_DIR
}
/*.inc
${
ConfigGenerator_DIR
}
/ConfigGenerator/*.py
)
file
(
GLOB scripts RELATIVE
${
ConfigGenerator_DIR
}
${
ConfigGenerator_DIR
}
/*.sh
${
ConfigGenerator_DIR
}
/*.py
${
ConfigGenerator_DIR
}
/*.inc
${
ConfigGenerator_DIR
}
/ConfigGenerator/*.py
${
ConfigGenerator_DIR
}
/TestFacility/*.py
)
foreach
(
script
${
scripts
}
)
configure_file
(
"
${
ConfigGenerator_DIR
}
/
${
script
}
"
"
${
PROJECT_BINARY_DIR
}
/
${
script
}
"
COPYONLY
)
endforeach
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment