mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 10:16:36 +01:00
Moved druntime and Phobos submodules to runtime.
This makes much more sense since the subdirecotry also contains the build system for them, and reduces clutter.
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,6 +1,6 @@
|
||||
[submodule "druntime"]
|
||||
path = druntime
|
||||
path = runtime/druntime
|
||||
url = git://github.com/ldc-developers/druntime.git
|
||||
[submodule "phobos"]
|
||||
path = phobos
|
||||
path = runtime/phobos
|
||||
url = git://github.com/ldc-developers/phobos.git
|
||||
|
||||
@@ -34,13 +34,13 @@ else(BUILD_SHARED_LIBS)
|
||||
endif(BUILD_SHARED_LIBS)
|
||||
|
||||
get_directory_property(PROJECT_PARENT_DIR DIRECTORY ${PROJECT_SOURCE_DIR} PARENT_DIRECTORY)
|
||||
set(RUNTIME_DIR ${PROJECT_PARENT_DIR}/druntime CACHE PATH "runtime source dir")
|
||||
set(RUNTIME_DIR ${PROJECT_SOURCE_DIR}/druntime CACHE PATH "runtime source dir")
|
||||
|
||||
#
|
||||
# Gather source files.
|
||||
#
|
||||
|
||||
set(PHOBOS2_DIR ${PROJECT_PARENT_DIR}/phobos CACHE PATH "phobos2 source dir")
|
||||
set(PHOBOS2_DIR ${PROJECT_SOURCE_DIR}/phobos CACHE PATH "phobos2 source dir")
|
||||
set(RUNTIME_CC druntime-core)
|
||||
set(RUNTIME_GC druntime-gc-basic)
|
||||
set(RUNTIME_DC druntime-rt-ldc)
|
||||
|
||||
Reference in New Issue
Block a user