We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2c9ea8 + 332dd76 commit 2f87dfdCopy full SHA for 2f87dfd
jsonexamples/generated/CMakeLists.txt
@@ -4,9 +4,10 @@ set(generated_files
4
)
5
find_package(Ruby QUIET)
6
if (RUBY_EXECUTABLE)
7
+ file(GLOB template_files ${CMAKE_CURRENT_SOURCE_DIR}/miss-templates/*.txt)
8
add_custom_command(
9
OUTPUT ${generated_files}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/miss-templates/*.txt
10
+ DEPENDS ${template_files}
11
COMMAND ${RUBY_EXECUTABLE} genfeaturejson.rb ${CMAKE_CURRENT_BINARY_DIR}
12
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
13
0 commit comments