Skip to content
Snippets Groups Projects
Commit bd6daf32 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

prepended `gen` to include path in CMake integration

parent 46e989c5
Branches GPURefineTest
No related tags found
No related merge requests found
Pipeline #58187 passed
...@@ -14,7 +14,7 @@ function(_pssfg_add_gen_source target script) ...@@ -14,7 +14,7 @@ function(_pssfg_add_gen_source target script)
cmake_parse_arguments(_pssfg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) cmake_parse_arguments(_pssfg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
set(generatedSourcesDir ${PystencilsSfg_GENERATED_SOURCES_DIR}/${target}) set(generatedSourcesDir ${PystencilsSfg_GENERATED_SOURCES_DIR}/gen/${target})
get_filename_component(basename ${script} NAME_WLE) get_filename_component(basename ${script} NAME_WLE)
cmake_path(ABSOLUTE_PATH script OUTPUT_VARIABLE scriptAbsolute) cmake_path(ABSOLUTE_PATH script OUTPUT_VARIABLE scriptAbsolute)
...@@ -56,6 +56,7 @@ function(pystencilssfg_generate_target_sources TARGET) ...@@ -56,6 +56,7 @@ function(pystencilssfg_generate_target_sources TARGET)
if(DEFINED PystencilsSfg_CONFIGURATOR_SCRIPT) if(DEFINED PystencilsSfg_CONFIGURATOR_SCRIPT)
cmake_path(ABSOLUTE_PATH PystencilsSfg_CONFIGURATOR_SCRIPT OUTPUT_VARIABLE configscript) cmake_path(ABSOLUTE_PATH PystencilsSfg_CONFIGURATOR_SCRIPT OUTPUT_VARIABLE configscript)
list(APPEND generatorArgs "--sfg-config-module=${configscript}") list(APPEND generatorArgs "--sfg-config-module=${configscript}")
list(APPEND _pssfg_DEPENDS ${configscript})
endif() endif()
if(DEFINED _pssfg_FILE_EXTENSIONS) if(DEFINED _pssfg_FILE_EXTENSIONS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment