Commit Graph

98 Commits

Author SHA1 Message Date
kai
69e305b10b Remove quotes from arguments for add_custom_target.
This fixes #163.
2012-09-15 16:29:30 +02:00
kai
e333b76759 Use monitor_.d instead of monitor.c for Win64.
The compile error in monitor.c using MSVC is then irrelevant.
2012-09-07 23:56:04 +02:00
kai
b49f41fc62 Accidently removed monitor_.d from build. 2012-09-07 19:33:06 +02:00
kai
5bc41c963f Add Win64 support.
- Add new files and remove unused files.
- Only create .bc files if requested.
  (Creating .bc and .obj files at the same time confuses the LIB tool. Maybe a CMake bug....)
- Add references to new commits for Win64 in druntime and phobos.
2012-09-07 18:54:29 +02:00
David Nadlinger
bf0d8afc88 Merge branch 'dmd-2.060' into master.
Conflicts:
	dmd2/func.c
	dmd2/mars.c
2012-09-07 04:15:44 +02:00
David Nadlinger
9ac1582726 Update druntime/Phobos library version. 2012-09-07 03:51:31 +02:00
David Nadlinger
837ef30fec Merged DMD 2.060 frontend.
Upstream Git tag v2.060 (e8fe11c20249cb9e42538be88c99b74ede4d12e3).
2012-09-07 03:51:31 +02:00
kai
9a3cdf2e10 Use .obj extension on Windows.
The Windows linker LINK insists on the .obj extension. The following changes are made:
- CMake uses the same extension as the C compiler
- global.obj_ext_alt (aka .obj) is recognized as objectfile extension
- global.obj_ext_alt is used on Windows
2012-09-05 19:23:34 +02:00
David Nadlinger
1c1c6894e0 Only link CURL when building Phobos as shared library. 2012-07-24 19:17:24 +02:00
David Nadlinger
61e4d9044a Fix build on Linux.
Sorry for that, seems to work on OS X, even on case-sensitive file systems.
2012-07-24 19:13:31 +02:00
Dan Sanduleac
5ed0ee96da Fix missing curl dependency from phobos 2012-07-21 15:57:58 -04:00
kai
55366bc319 Add std.net to list of phobos modules. Fixes #139. 2012-07-18 12:51:20 +02:00
David Nadlinger
1c301aabcd Fix #105 - don't randomly overwrite di files with thread.di.
DI_CMD is the CMake equivalent of a global variable, so it needs to be set in any case.
2012-06-06 17:54:07 +02:00
Sven-Hendrik Haase
f1079bfbf6 Fix typos 2012-06-06 14:54:39 +02:00
David Nadlinger
6ad085a1f8 Only allow __Dmain to remain undefined in druntime to avoid hidden build errors. 2012-06-05 10:57:52 +02:00
David Nadlinger
1ead8476e5 Merge remote-tracking branch 'dansanduleac/i104_2' 2012-06-05 10:54:18 +02:00
Dan Sanduleac
74a1961d1f on APPLE, allow undefined symbols (for __Dmain) when linking druntime & phobos 2012-06-05 09:41:54 +01:00
David Nadlinger
911e00c434 Bump druntime/Phobos version to 2.059. 2012-06-05 10:27:35 +02:00
David Nadlinger
509a5799ff Use hand-written .di files if present along the source – fixes issue #95. 2012-06-02 16:49:47 +02:00
David Nadlinger
df61269ada Fixed LDC 1 config file installation.
Closes #79.

Thanks to SiegeLord for the meat of the patch.
2012-03-17 13:32:00 +01:00
David Nadlinger
947790248f Whoops.
Fixes issue 78.
2012-03-14 18:50:33 +01:00
David Nadlinger
c0abef4831 Fix druntime/Phobos module installation on OS X.
Note: Currently, we are not following a consequent strategy regarding which files to install and which to omit. In the future, we should either always install all of the modules (because they should have version() guards anyway), or omit all the files with paths containing {osx,windows,linux,freebsd} on the other OSes.
2012-03-14 18:11:20 +01:00
Alexey Prokhin
63a89bae0e CMake: DMD frontend version should not be stored to cache 2012-03-06 12:20:18 +04:00
Alexey Prokhin
c4414a2f3f CMake: fixed path to phobos 2012-03-06 12:10:02 +04:00
Alexey Prokhin
f1c7f6db65 Bump version 2012-02-16 15:45:04 +04:00
AlexeyProkhin
9264fcdf4f Merge pull request #80 from bioinfornatics/master
Add versionned lib
2012-02-16 03:36:01 -08:00
Alexey Prokhin
ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42:23 +04:00
Jonathan MERCIER
0cebc6d5bc use D_VERSION instead of DMDFE_MAJOR_VERSION 2012-02-15 13:59:50 +01:00
Alexey Prokhin
6fea4b65a2 Updated frontend to 2.058 beta4 2012-02-15 13:23:23 +04:00
Alexey Prokhin
e74e55df89 Merge 2.058beta 2012-02-15 13:23:16 +04:00
Alexey Prokhin
f2ed2e96b0 Use optimized array operators implemented in druntime 2012-02-15 13:16:34 +04:00
Jonathan MERCIER
a0ad3685d0 Add versionned lib supprt 2012-02-13 23:59:48 +01:00
Alexey Prokhin
0f489f1bdc Merge branch 'master' of github.com:ldc-developers/ldc 2012-01-10 21:37:34 +04:00
Alexey Prokhin
b4b4e990e2 Fixed issue #58 — Multilib: 64 on 32 2012-01-10 21:36:19 +04:00
David Nadlinger
e6521d87d3 Upstream memory_osx.d has been ported to D. 2011-12-22 02:44:32 +01:00
David Nadlinger
fa5fb9236a Fix druntime build when LIB_SUFFIX is used. 2011-12-07 16:20:09 +01:00
David Nadlinger
b0dd2e336d ldc/bitop.d no longer exists.
This fixes the install target broken after the big merge.
2011-12-04 20:58:26 +01:00
David Nadlinger
0b18b346f9 Renamed ldruntime back to druntime-ldc, as the name is hardcoded in the source.
Also took the opportunity to rename liblphobos2 to libphobos2-ldc as discussed on IRC, because this highlights the relationship to DMD's libphobos2 better e.g. when browsing through the file system.
2011-12-04 20:45:31 +01:00
David Nadlinger
74d7562a59 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.
2011-12-04 20:37:21 +01:00
David Nadlinger
38d1bf4cc8 Removed two (!) D1/Tango runtime build systems.
As discussed on IRC, Bob has been the default (and recommended) way to build Tango for LDC for quite some time now. Support for it in the CMake-based build system just created a big maintenance burden for (almost) no benefits. Besides, the build system was currently broken anyway.

The makefiles seemed to support building *.bc libs for Tango though, which Bob probably doesn't, which might be worth keeping in mind.
2011-12-04 20:21:56 +01:00
David Nadlinger
6559246669 Don't needlessly copy over druntime/Phobos to build directory.
This reapplies d57637a0a1, which was lost in merging.
2011-12-04 18:53:20 +01:00
David Nadlinger
3916835380 Merge remote-tracking branch 'AlexeyProkhin/master' into merge-3.0
Conflicts:
	CMakeLists.txt
	druntime
	runtime/CMakeLists.txt
2011-12-04 18:38:09 +01:00
Alexey Prokhin
b559805b7c Fixed path to generated *.di files 2011-12-02 22:16:08 +04:00
Alexey Prokhin
7d74a801bb Fixed #17 and #23 — added 'MULTILIB' option to cmake script and fixed 'make install' 2011-12-02 21:40:31 +04:00
David Nadlinger
c4e5c7ad11 No longer omit core/bitop.d from being installed. 2011-11-14 15:46:49 +01:00
David Nadlinger
ef748a9de0 Include std/internal in Phobos build.
Previously, std.internal.processinit was missing, leading to linker errors on OS X. All platform-specific stuff is wrapped in version() blocks, so we should be fine.
2011-11-12 22:35:28 +01:00
David Nadlinger
6e714f999e Remove code for building runtime separatly, it was broken in the current form anyway. 2011-11-12 15:17:42 +01:00
David Nadlinger
d57637a0a1 Don't needlessly copy over druntime/Phobos to build directory. 2011-11-12 13:30:07 +01:00
David Nadlinger
d9da8723d1 Remove ancient druntime patching helpers.
We are using our own forks and Git submodules now.
2011-11-12 13:08:03 +01:00
David Nadlinger
470323233a Merged build system patches by Jonathan Mercier.
In detail, this commit:
 - Changes the default version that is built to D2, use D_VERSION to override.
 - Reverts back to building static libs by default until we are certain shared libs work fine everywhere.
 - Fixes installation pathes so that CMAKE_INSTALL_PREFIX is respected; /etc as sysconf dir for /usr prefix is special-cased.
 - Fixes out-of-source builds again, and causes temporary files (idgen, …) not to be written to the source directory anymore.

This is a slightly cleaned up version of the changes from https://github.com/ldc-developers/ldc/pull/12.
2011-11-09 20:40:39 +01:00