Merge pull request #2105 from gendalph/cmake
The correction for cmake depends on the demo
This commit is contained in:
commit
e11e707a38
|
@ -20,7 +20,8 @@ foreach( src_file ${antlr4-demo-GENERATED_SRC} )
|
|||
)
|
||||
endforeach( src_file ${antlr4-demo-GENERATED_SRC} )
|
||||
|
||||
add_custom_target(GenerateParser
|
||||
add_custom_target(GenerateParser DEPENDS ${antlr4-demo-GENERATED_SRC})
|
||||
add_custom_command(OUTPUT ${antlr4-demo-GENERATED_SRC}
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E make_directory ${PROJECT_SOURCE_DIR}/demo/generated/
|
||||
COMMAND
|
||||
|
|
Loading…
Reference in New Issue