Commit graph

10 commits

Author SHA1 Message Date
Johan Engelen
d8697cdcb0 [cmake] Remove code that tries to resolve "~" in host compiler variable passed by the user. It conflicts with -DD_COMPILER="dmd", which is much more important to support. 2016-08-08 16:47:45 +02:00
Johan Engelen
29d1a2037c [cmake] Fix passing of host compiler with relative path by ENV{DMD}. 2016-08-08 16:27:15 +02:00
Johan Engelen
dfbb930440 [cmake] Fix passing of host compiler flags with cmake -DD_COMPILER. 2016-08-08 16:26:22 +02:00
David Nadlinger
557a2562b5 cmake: Respect D_COMPILER_FLAGS when extracting linker flags
It is somewhat unclear whether the variable can actually be set
in a valid way at this point, though.
2016-07-27 00:25:23 +01:00
Johan Engelen
bff4d46f1b [CMake] Allow relative paths for D_COMPILER
Resolves #1495
2016-05-18 19:18:15 +02:00
Johan Engelen
3b5e8a9a70 [cmake] Allow specification of D_COMPILER on CMake cmdline.
Use with `cmake -DD_COMPILER=ldmd2`. Resolves issue #1320
2016-05-03 21:59:48 +02:00
Johan Engelen
febfcad3a2 Add "built with D compiler version" to --version output. 2016-03-21 14:13:30 +01:00
Johan Engelen
a56df03772 Fix FindDCompiler.cmake script: before, the script would find a previously built LDC from the install prefix path. 2016-02-21 16:07:07 +01:00
Johan Engelen
b017facbcd Add one "LDC builds LDC" to Travis. 2016-02-18 13:49:24 +01:00
Johan Engelen
29ce4012af dmd2 --> ddmd. Merge (almost all of) our changes to dmd source into the new D source of dmd 2.069.2.
Also adds the CMake infrastructure to compile and link the D source files.

The build is partially broken:
- A few files in Phobos and druntime do not build
- MSVC build is broken because of unresolved symbols involving reals
2016-01-28 19:03:58 +01:00