Changeset 1d6595e in tol
- Timestamp:
- Aug 5, 2010, 9:13:06 AM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 7e94347
- Parents:
- 8dd0559
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
windows/build_tools/build_tol_sdk/build_tol_sdk.tol
r8dd0559 r1d6595e 1 Text sourcePath = "../../../tol"; 2 Text libPath = "../../../tol/win-VC9/release"; 3 Text sdkPath = "../../tol-sdk"; 4 Text sdkIncPath = sdkPath+"/tol"; 5 Text sdkLibPath = sdkPath+"/lib"; 6 Real OSDirMake(sdkIncPath); 7 Real OSDirMake(sdkLibPath); 1 8 2 Text path = "../../tol"; 3 Set root = GetDir("../../tol"); 4 5 Set dir = root; 6 7 Set head = Select(dir[1],Real(Text s) 9 Set EvalSet(GetDir("root")[1],Real(Text file) 8 10 { 9 Or(TextEndAt(s,".h"),TextEndAt(s,".hpp")) 10 }); 11 12 Set sub = Select(dir[2],Real(Text s) 13 { 14 And(!TextBeginWith(s,"."),!TextBeginWith(s,"win")) 11 OSFilCopy("root/"+file,sdkPath+"/"+file) 15 12 }); 16 13 17 14 15 Real PlainHeader(Text sourcePath) 16 { 17 WriteLn("PlainHeader "+sourcePath); 18 Set dir = GetDir(sourcePath); 19 Set head = Select(dir[1],Real(Text s) 20 { 21 Or(TextEndAt(s,".h"),TextEndAt(s,".hpp")) 22 }); 23 Set EvalSet(head,Real(Text file) 24 { 25 OSFilCopy(sourcePath+"/"+file,sdkIncPath+"/"+file) 26 }); 27 Set sub = Select(dir[2],Real(Text s) 28 { 29 And(!TextBeginWith(s,"."),!TextBeginWith(s,"win")) 30 }); 31 Set EvalSet(sub,Real(Text s) 32 { 33 PlainHeader(sourcePath+"/"+s) 34 }); 35 True 36 }; 37 38 39 Real PlainHeader(sourcePath); 40 Real OSFilCopy(libPath+"/tol.lib",sdkLibPath); 41 Real OSFilCopy(libPath+"/../config.tol",sourcePath); 42
Note: See TracChangeset
for help on using the changeset viewer.
