]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Adding git refresh command to kll.cmake and kll file listing to build process
authorJacob Alexander <haata@kiibohd.com>
Sun, 14 Sep 2014 23:03:10 +0000 (16:03 -0700)
committerJacob Alexander <haata@kiibohd.com>
Sun, 14 Sep 2014 23:03:10 +0000 (16:03 -0700)
Lib/CMake/kll.cmake

index e9794fda1ef7466b3dfcf175593446344776aedc..ca88392fae004d15cf9343055958018f1a164bba 100644 (file)
@@ -27,6 +27,11 @@ if ( NOT EXISTS "${PROJECT_SOURCE_DIR}/kll/kll.py" )
        execute_process ( COMMAND ${GIT_EXECUTABLE} clone https://github.com/kiibohd/kll.git
                WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
        )
+else () # Otherwise attempt to update the repo
+       # Clone kll git repo
+       execute_process ( COMMAND ${GIT_EXECUTABLE} pull --rebase
+               WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/kll
+       )
 endif () # kll/kll.py exists
 
 
@@ -96,6 +101,13 @@ if ( NOT "${PartialMaps}" STREQUAL "" )
 endif ()
 
 
+#| Print list of layout sources used
+message ( STATUS "Detected Layout Files:" )
+foreach ( filename ${KLL_DEPENDS} )
+       message ( "${filename}" )
+endforeach ()
+
+
 
 ###
 # Run KLL Compiler