Commit 66e01142 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Fix nesting

parent 2f7549f0
Pipeline #115772 passed with stages
in 7 minutes and 59 seconds
......@@ -24,6 +24,8 @@ add_definitions(-DCMAKE_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
add_subdirectory(src)
add_subdirectory(share)
set(PHOENIX_PARSER_GENERATOR_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/src/phoenix_parser_generator)
if(SELF_TESTS_MODE)
include(CTest)
add_subdirectory(TESTS)
......
......@@ -30,7 +30,7 @@ function(compileLibTestGenerator createSourceTarget generatedParserName baseInpu
set(inputFile ${CMAKE_CURRENT_SOURCE_DIR}/${baseInputFile})
set(TARGET_TO_LAUNCH "${CMAKE_BINARY_DIR}/src/phoenix_parser_generator -n ${generatedParserName} -i ${inputFile}")
set(TARGET_TO_LAUNCH "${PHOENIX_PARSER_GENERATOR_EXECUTABLE} -n ${generatedParserName} -i ${inputFile}")
set(EXTRA_LD_LIBRARY_PATH "${CMAKE_BINARY_DIR}")
set(GENERATED_SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/${createSourceTarget}_scriptLauchTarget.sh")
configure_file(${SCRIPT_LAUNCH_TARGET} ${GENERATED_SCRIPT} @ONLY)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment