Updating kll invocation arguments for readability.
- Removing old cli arguments
This commit is contained in:
parent
53f2731960
commit
d4300009ce
@ -118,15 +118,13 @@ endforeach ()
|
|||||||
#
|
#
|
||||||
|
|
||||||
#| KLL Options
|
#| KLL Options
|
||||||
set ( kll_backend -b kiibohd )
|
set ( kll_backend --backend kiibohd )
|
||||||
set ( kll_template -t ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdKeymap.h )
|
set ( kll_template --templates ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdKeymap.h ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdDefs.h )
|
||||||
set ( kll_outputname generatedKeymap.h )
|
set ( kll_outputname generatedKeymap.h kll_defs.h )
|
||||||
set ( kll_output -o ${kll_outputname} )
|
set ( kll_output --outputs ${kll_outputname} )
|
||||||
set ( kll_define_output --defines-output kll_defs.h )
|
|
||||||
set ( kll_define_template --defines-template ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdDefs.h )
|
|
||||||
|
|
||||||
#| KLL Cmd
|
#| KLL Cmd
|
||||||
set ( kll_cmd ${PROJECT_SOURCE_DIR}/kll/kll.py ${BaseMap_Args} ${DefaultMap_Args} ${PartialMap_Args} ${kll_backend} ${kll_template} ${kll_output} ${kll_define_template} ${kll_define_output} )
|
set ( kll_cmd ${PROJECT_SOURCE_DIR}/kll/kll.py ${BaseMap_Args} ${DefaultMap_Args} ${PartialMap_Args} ${kll_backend} ${kll_template} ${kll_output} )
|
||||||
add_custom_command ( OUTPUT ${kll_outputname}
|
add_custom_command ( OUTPUT ${kll_outputname}
|
||||||
COMMAND ${kll_cmd}
|
COMMAND ${kll_cmd}
|
||||||
DEPENDS ${KLL_DEPENDS}
|
DEPENDS ${KLL_DEPENDS}
|
||||||
|
Reference in New Issue
Block a user