changeset 206:c6a90fe8cf2f

Adding git refresh command to kll.cmake and kll file listing to build process
author Jacob Alexander <haata@kiibohd.com>
date Sun, 14 Sep 2014 16:03:10 -0700
parents a2e9bb170eef
children 8b11031e38a7
files Lib/CMake/kll.cmake
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Lib/CMake/kll.cmake	Sun Sep 14 15:51:36 2014 -0700
+++ b/Lib/CMake/kll.cmake	Sun Sep 14 16:03:10 2014 -0700
@@ -27,6 +27,11 @@
 	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 @@
 endif ()
 
 
+#| Print list of layout sources used
+message ( STATUS "Detected Layout Files:" )
+foreach ( filename ${KLL_DEPENDS} )
+	message ( "${filename}" )
+endforeach ()
+
+
 
 ###
 # Run KLL Compiler