mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 04:43:14 +01:00
If both CMAKE_INSTALL_PREFIX and INCLUDE_INSTALL_DIR are specified on the commandline then CMAKE_INSTALL_PREFIX takes precedence. E.g. you can't install all files with prefix /usr and move the include directory to /usr/include/ldc2 at the same time. This commit changes the behaviour by preserving the value of INCLUDE_INSTALL_DIR given on the commandline.
Building druntime/Phobos for D2 --- LDC currently needs custom forks of druntime and Phobos. They are integrated with the main repository using Git submodules. To build them, make sure you have up-to-date copies of the submodules in your local repository: $ git submodule update -i The libraries should then be built and installed automatically along with the compiler itself. If, for some reason, you want to build them separately, the targets are: $ make runtime $ make phobos2 Building Tango for D1 --- This directory used to contain scripts for building Tango for LDC/D1, which became obsolete after LDC support was added to its build system, and were consequently removed. Please use the official Tango build system (bob) from now on.