@@ -235,7 +235,7 @@ private List<File> compileFiles(String outputPath, File sourcePath,
235
235
File objectFile = new File (objectPath );
236
236
File dependFile = new File (dependPath );
237
237
objectPaths .add (objectFile );
238
- if (is_already_compiled (file , objectFile , dependFile , prefs ))
238
+ if (isAlreadyCompiled (file , objectFile , dependFile , prefs ))
239
239
continue ;
240
240
String [] cmd = getCommandCompilerC (includePaths , file .getAbsolutePath (),
241
241
objectPath );
@@ -248,7 +248,7 @@ private List<File> compileFiles(String outputPath, File sourcePath,
248
248
File objectFile = new File (objectPath );
249
249
File dependFile = new File (dependPath );
250
250
objectPaths .add (objectFile );
251
- if (is_already_compiled (file , objectFile , dependFile , prefs ))
251
+ if (isAlreadyCompiled (file , objectFile , dependFile , prefs ))
252
252
continue ;
253
253
String [] cmd = getCommandCompilerCPP (includePaths ,
254
254
file .getAbsolutePath (), objectPath );
@@ -258,10 +258,10 @@ private List<File> compileFiles(String outputPath, File sourcePath,
258
258
return objectPaths ;
259
259
}
260
260
261
- private boolean is_already_compiled (File src , File obj , File dep , Map <String , String > prefs ) {
261
+ private boolean isAlreadyCompiled (File src , File obj , File dep , Map <String , String > prefs ) {
262
262
boolean ret =true ;
263
263
try {
264
- //System.out.println("\n is_already_compiled : begin checks: " + obj.getPath());
264
+ //System.out.println("\n isAlreadyCompiled : begin checks: " + obj.getPath());
265
265
if (!obj .exists ()) return false ; // object file (.o) does not exist
266
266
if (!dep .exists ()) return false ; // dep file (.d) does not exist
267
267
long src_modified = src .lastModified ();
@@ -284,8 +284,8 @@ private boolean is_already_compiled(File src, File obj, File dep, Map<String, St
284
284
String objpath = obj .getCanonicalPath ();
285
285
File linefile = new File (line );
286
286
String linepath = linefile .getCanonicalPath ();
287
- //System.out.println(" is_already_compiled : obj = " + objpath);
288
- //System.out.println(" is_already_compiled : line = " + linepath);
287
+ //System.out.println(" isAlreadyCompiled : obj = " + objpath);
288
+ //System.out.println(" isAlreadyCompiled : line = " + linepath);
289
289
if (objpath .compareTo (linepath ) == 0 ) {
290
290
need_obj_parse = false ;
291
291
continue ;
@@ -308,7 +308,7 @@ private boolean is_already_compiled(File src, File obj, File dep, Map<String, St
308
308
ret = false ; // prerequisite modified since object was compiled
309
309
break ;
310
310
}
311
- //System.out.println(" is_already_compiled : prerequisite ok");
311
+ //System.out.println(" isAlreadyCompiled : prerequisite ok");
312
312
}
313
313
}
314
314
reader .close ();
@@ -575,6 +575,10 @@ static public List<File> findFilesInFolder(File folder, String extension,
575
575
boolean recurse ) {
576
576
List <File > files = new ArrayList <File >();
577
577
578
+ if (Library .SOURCE_CONTROL_FOLDERS .contains (folder .getName ())) {
579
+ return files ;
580
+ }
581
+
578
582
if (folder .listFiles () == null )
579
583
return files ;
580
584
0 commit comments