Source code is included for reference. This can go away again once Prebuild is updated with a more general mechanism for cleaning up files.
The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
44 lines
896 B
Plaintext
44 lines
896 B
Plaintext
* monodev target should be able to detect whether the project is 1.x
|
|
or 2.x runtime
|
|
|
|
* remove target which links ../project/foo.dll to each project's build
|
|
root
|
|
|
|
* generate .config files
|
|
|
|
* Fix the autotools target so that
|
|
sub generate_project_files { ... }
|
|
sub generate_solution_files { ... }
|
|
sub generate_multi_solution_files { ... }
|
|
sub generate_project {
|
|
...
|
|
generate_project_files();
|
|
}
|
|
sub generate_solution {
|
|
foreach $project ( @projects ){
|
|
mkdir "$project/";
|
|
pushd "$project/";
|
|
generate_project();
|
|
popd;
|
|
}
|
|
generate_solution_files();
|
|
}
|
|
sub generate_multi_solution {
|
|
foreach $solution ( @solutions ){
|
|
mkdir "$solution/";
|
|
pushd "$solution/";
|
|
generate_solution();
|
|
popd;
|
|
}
|
|
generate_multi_solution_files();
|
|
}
|
|
|
|
if(numProjects == 1){
|
|
generate_project();
|
|
}elsif(numSolutions == 1){
|
|
generate_solution();
|
|
}else{
|
|
generate_multi_solution();
|
|
}
|
|
|