mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 21:51:03 +03:00
move res/ subdirectory to src/dmd/res/
This commit is contained in:
parent
6ee04563a3
commit
e008ca1df7
6 changed files with 8 additions and 8 deletions
2
ci.sh
2
ci.sh
|
@ -115,7 +115,7 @@ test_dub_package() {
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
# Test rdmd build
|
# Test rdmd build
|
||||||
"${build_path}/dmd" -version=NoBackend -version=GC -version=NoMain -Jgenerated/dub -Jres -Isrc -i -run test/dub_package/frontend.d
|
"${build_path}/dmd" -version=NoBackend -version=GC -version=NoMain -Jgenerated/dub -Jsrc/dmd/res -Isrc -i -run test/dub_package/frontend.d
|
||||||
fi
|
fi
|
||||||
deactivate
|
deactivate
|
||||||
}
|
}
|
||||||
|
|
2
dub.sdl
2
dub.sdl
|
@ -71,7 +71,7 @@ subPackage {
|
||||||
name "frontend"
|
name "frontend"
|
||||||
targetType "library"
|
targetType "library"
|
||||||
sourcePaths "src/dmd"
|
sourcePaths "src/dmd"
|
||||||
stringImportPaths "res"
|
stringImportPaths "src/dmd/res"
|
||||||
|
|
||||||
versions \
|
versions \
|
||||||
"NoBackend" \
|
"NoBackend" \
|
||||||
|
|
|
@ -916,7 +916,7 @@ void parseEnvironment()
|
||||||
env.getDefault("GIT_HOME", "https://github.com/dlang");
|
env.getDefault("GIT_HOME", "https://github.com/dlang");
|
||||||
env.getDefault("SYSCONFDIR", "/etc");
|
env.getDefault("SYSCONFDIR", "/etc");
|
||||||
env.getDefault("TMP", tempDir);
|
env.getDefault("TMP", tempDir);
|
||||||
env.getDefault("RES", dmdRepo.buildPath("res"));
|
env.getDefault("RES", dmdRepo.buildPath("src/dmd/res"));
|
||||||
|
|
||||||
version (Windows)
|
version (Windows)
|
||||||
enum installPref = "";
|
enum installPref = "";
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
</Link>
|
</Link>
|
||||||
<DCompile>
|
<DCompile>
|
||||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||||
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
||||||
<CompilationModel>Package</CompilationModel>
|
<CompilationModel>Package</CompilationModel>
|
||||||
<ImportPaths>..</ImportPaths>
|
<ImportPaths>..</ImportPaths>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
</Link>
|
</Link>
|
||||||
<DCompile>
|
<DCompile>
|
||||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||||
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
||||||
<CompilationModel>Package</CompilationModel>
|
<CompilationModel>Package</CompilationModel>
|
||||||
<ImportPaths>..</ImportPaths>
|
<ImportPaths>..</ImportPaths>
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
</Link>
|
</Link>
|
||||||
<DCompile>
|
<DCompile>
|
||||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||||
<CompilationModel>Package</CompilationModel>
|
<CompilationModel>Package</CompilationModel>
|
||||||
<ImportPaths>..</ImportPaths>
|
<ImportPaths>..</ImportPaths>
|
||||||
<Optimizer>true</Optimizer>
|
<Optimizer>true</Optimizer>
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
</Link>
|
</Link>
|
||||||
<DCompile>
|
<DCompile>
|
||||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||||
<CompilationModel>Package</CompilationModel>
|
<CompilationModel>Package</CompilationModel>
|
||||||
<ImportPaths>..</ImportPaths>
|
<ImportPaths>..</ImportPaths>
|
||||||
<Optimizer>true</Optimizer>
|
<Optimizer>true</Optimizer>
|
||||||
|
|
|
@ -250,7 +250,7 @@ void writeCmdfile(string path, string runnerPath, string outputPath,
|
||||||
"-version=MARS",
|
"-version=MARS",
|
||||||
"-unittest",
|
"-unittest",
|
||||||
"-J" ~ buildOutputPath,
|
"-J" ~ buildOutputPath,
|
||||||
"-J" ~ projectRootDir.buildPath("res"),
|
"-J" ~ projectRootDir.buildPath("src/dmd/res"),
|
||||||
"-I" ~ projectRootDir.buildPath("src"),
|
"-I" ~ projectRootDir.buildPath("src"),
|
||||||
"-I" ~ unitTestDir,
|
"-I" ~ unitTestDir,
|
||||||
"-i",
|
"-i",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue