mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +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
|
||||
popd
|
||||
# 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
|
||||
deactivate
|
||||
}
|
||||
|
|
2
dub.sdl
2
dub.sdl
|
@ -71,7 +71,7 @@ subPackage {
|
|||
name "frontend"
|
||||
targetType "library"
|
||||
sourcePaths "src/dmd"
|
||||
stringImportPaths "res"
|
||||
stringImportPaths "src/dmd/res"
|
||||
|
||||
versions \
|
||||
"NoBackend" \
|
||||
|
|
|
@ -916,7 +916,7 @@ void parseEnvironment()
|
|||
env.getDefault("GIT_HOME", "https://github.com/dlang");
|
||||
env.getDefault("SYSCONFDIR", "/etc");
|
||||
env.getDefault("TMP", tempDir);
|
||||
env.getDefault("RES", dmdRepo.buildPath("res"));
|
||||
env.getDefault("RES", dmdRepo.buildPath("src/dmd/res"));
|
||||
|
||||
version (Windows)
|
||||
enum installPref = "";
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
</Link>
|
||||
<DCompile>
|
||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
||||
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
||||
<CompilationModel>Package</CompilationModel>
|
||||
<ImportPaths>..</ImportPaths>
|
||||
|
@ -146,7 +146,7 @@
|
|||
</Link>
|
||||
<DCompile>
|
||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
||||
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||
<CRuntimeLibrary>MultiThreadedDebug</CRuntimeLibrary>
|
||||
<CompilationModel>Package</CompilationModel>
|
||||
<ImportPaths>..</ImportPaths>
|
||||
|
@ -175,7 +175,7 @@
|
|||
</Link>
|
||||
<DCompile>
|
||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
||||
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||
<CompilationModel>Package</CompilationModel>
|
||||
<ImportPaths>..</ImportPaths>
|
||||
<Optimizer>true</Optimizer>
|
||||
|
@ -204,7 +204,7 @@
|
|||
</Link>
|
||||
<DCompile>
|
||||
<VersionIdentifiers>MARS</VersionIdentifiers>
|
||||
<StringImportPaths>..\..\res;$(OutDir)</StringImportPaths>
|
||||
<StringImportPaths>../dmd/res;$(OutDir)</StringImportPaths>
|
||||
<CompilationModel>Package</CompilationModel>
|
||||
<ImportPaths>..</ImportPaths>
|
||||
<Optimizer>true</Optimizer>
|
||||
|
|
|
@ -250,7 +250,7 @@ void writeCmdfile(string path, string runnerPath, string outputPath,
|
|||
"-version=MARS",
|
||||
"-unittest",
|
||||
"-J" ~ buildOutputPath,
|
||||
"-J" ~ projectRootDir.buildPath("res"),
|
||||
"-J" ~ projectRootDir.buildPath("src/dmd/res"),
|
||||
"-I" ~ projectRootDir.buildPath("src"),
|
||||
"-I" ~ unitTestDir,
|
||||
"-i",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue