From d4300009ceb0cdb0d891e2e3f6584300b3ad6433 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Sat, 21 Feb 2015 23:21:59 -0800 Subject: [PATCH] Updating kll invocation arguments for readability. - Removing old cli arguments --- Lib/CMake/kll.cmake | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Lib/CMake/kll.cmake b/Lib/CMake/kll.cmake index fe28a09..09ec0d1 100644 --- a/Lib/CMake/kll.cmake +++ b/Lib/CMake/kll.cmake @@ -118,15 +118,13 @@ endforeach () # #| KLL Options -set ( kll_backend -b kiibohd ) -set ( kll_template -t ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdKeymap.h ) -set ( kll_outputname generatedKeymap.h ) -set ( kll_output -o ${kll_outputname} ) -set ( kll_define_output --defines-output kll_defs.h ) -set ( kll_define_template --defines-template ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdDefs.h ) +set ( kll_backend --backend kiibohd ) +set ( kll_template --templates ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdKeymap.h ${PROJECT_SOURCE_DIR}/kll/templates/kiibohdDefs.h ) +set ( kll_outputname generatedKeymap.h kll_defs.h ) +set ( kll_output --outputs ${kll_outputname} ) #| 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} COMMAND ${kll_cmd} DEPENDS ${KLL_DEPENDS}