File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ include_directories(
21
21
# once instruction grammars are generated, initialize antlr generator chain
22
22
antlr_target(
23
23
IsaInstructionsLexer
24
- ${asm_INSTRUCTION_LEXER }
24
+ ${asm_INSTRUCTIONS_LEXER }
25
25
LEXER
26
26
OUTPUT_DIRECTORY ${asm_GENERATED_DIR}
27
- DEPENDS generateInstructionsGrammar ${asm_GRAMMAR_SOURCES }
27
+ DEPENDS generateInstructionsGrammar ${asm__INSTRUCTIONS_GRAMMAR_SOURCES }
28
28
)
29
29
30
30
antlr_target(
@@ -39,7 +39,7 @@ antlr_target(
39
39
40
40
antlr_target(
41
41
IsaInstructionsParser
42
- ${asm_INSTRUCTION_PARSER }
42
+ ${asm_INSTRUCTIONS_PARSER }
43
43
PARSER
44
44
DEPENDS_ANTLR AsmLexer
45
45
OUTPUT_DIRECTORY ${asm_GENERATED_DIR}
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ macro(bootstrap_isa isaPathStr)
25
25
26
26
27
27
add_custom_command (
28
- OUTPUT ${${isaName} _GENERATED_SOURCES} ${${isaName} _GRAMMAR_SOURCES }
28
+ OUTPUT ${${isaName} _GENERATED_SOURCES} ${${isaName} _INSTRUCTIONS_GRAMMAR_SOURCES }
29
29
COMMAND mkdir -p ${outputDir} && cd ${outputDir} && ${CMAKE_BINARY_DIR} /asm/isa-creator/bootstrapIsa ${isaPath}
30
30
DEPENDS ${CMAKE_BINARY_DIR} /asm/isa-creator/bootstrapIsa ${isaPath} )
31
31
32
- add_custom_target (generateInstructionGrammar DEPENDS ${${isaName} _INSTRUCTIONS_GRAMMAR_SOURCES})
32
+ add_custom_target (generateInstructionsGrammar DEPENDS ${${isaName} _INSTRUCTIONS_GRAMMAR_SOURCES})
33
33
34
34
set (${isaName} _GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR} /${outputDir} )
35
35
set (${isaName} _ISA_SOURCES ${${isaName} _GENERATED_SOURCES})
You can’t perform that action at this time.
0 commit comments