ldc-developers/ldc — Issue #19: Runtime is not automatically built before installation, but make install fails without it being present
Author: klickverbot
Created: 2011-11-12 09:58:49+00:00
State: open

If I don't manually build the runtime before installing, this happens:

```
$ make install
[ 0%] Built target idgen
[ 0%] Built target impcnvgen
[100%] Built target ldc2
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/ldc2
-- Up-to-date: /usr/local/bin/ldmd2
-- Installing: /usr/local/etc/ldc2.conf
-- Installing: /usr/local/etc/ldc2.rebuild.conf
CMake Error at cmake_install.cmake:63 (FILE):
file INSTALL cannot find "/Build/Work/ldc2/runtime/import/core".
```

This is not quite optimal from an usability point of view. As far as I know, installation dependencies for CMake are so easy to specify – is there any reason not to build the runtime as part of the default `make` target? @bioinfornatics?