Browse Source

remowing cmake cache

Kenneth Lausdahl 6 years ago
parent
commit
4d6b40a82b

+ 5 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp.tests/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/tests/TestCompileUtils.java

@@ -56,6 +56,11 @@ public class TestCompileUtils {
 	}
 
 	public boolean checkCompile(File destination) throws InterruptedException, IOException {
+		
+		File cmakeFile = new File(destination,"CMakeLists.txt");
+		if(cmakeFile.exists())
+			cmakeFile.delete();
+		
 		System.out.println(destination.getAbsolutePath());
 		ProcessBuilder pb = new ProcessBuilder();
 		pb.directory(destination);