Browse Source

adding submodule update to cmake script

Kenneth Lausdahl 6 years ago
parent
commit
ada0a81ce2

+ 1 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.testframework/src/be/uantwerpen/ansymo/semanticadaptation/testframework/StaticGenerators.xtend

@@ -210,6 +210,7 @@ class StaticGenerators {
 		set(HCF_DIR hcf)
 		set(HCF_DIR hcf)
 		if(EXISTS ${HCF_DIR})
 		if(EXISTS ${HCF_DIR})
 			execute_process(COMMAND git pull WORKING_DIRECTORY ${HCF_DIR})
 			execute_process(COMMAND git pull WORKING_DIRECTORY ${HCF_DIR})
+			execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${HCF_DIR})
 		else()
 		else()
 			execute_process(COMMAND git clone --depth 1 git@github.com:into-cps/hybridCosimulation-framework.git ${HCF_DIR} )
 			execute_process(COMMAND git clone --depth 1 git@github.com:into-cps/hybridCosimulation-framework.git ${HCF_DIR} )
 			execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${HCF_DIR})
 			execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${HCF_DIR})