CMake for D
ed
sillymongrel at gmail.com
Sun Mar 23 23:18:05 PDT 2014
On Monday, 24 March 2014 at 05:44:37 UTC, Igor wrote:
> On Tuesday, 14 February 2012 at 07:35:26 UTC, Gour wrote:
>> On Tue, 14 Feb 2012 01:37:20 +0100
>> bioinfornatics <bioinfornatics at fedoraproject.org> wrote:
>>
>>> Maybe send a pull request to main cmake repo will be better.
>>> It is
>>> always better to put code to upstream
>>
>> I did ask in the mailing list (sometime ago) about the
>> procedure to
>> include it to upstream, but got no replies and then have become
>> interested for premake which is getting D support.
>>
>>
>> Sincerely,
>> Gour
>>
>
> Project (https://code.google.com/p/cmaked2/) seems to be dead :(
>
>
> Any alternatives??
I'm using CMaked2. When I upgraded to cmake 2.8.10 I had to patch
it, very simple sed, due to a breaking change in CMake itself.
See this link:
http://public.kitware.com/pipermail/cmake-developers/2012-October/005535.html
In summary:
---
* Replace CMAKE_PLATFORM_ROOT_BIN by CMAKE_PLATFORM_INFO_DIR
everywhere
* Replace ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY} by
${CMAKE_PLATFORM_INFO_DIR} in just the few places which involve a
*.cmake file.
---
All I did was sed the above for all *.cmake and *.in files in
cmaked2 then make/install cmaked2.
The LDC guys use CMake and may have a better option for CMake+D
also.
Cheers,
ed
More information about the Digitalmars-d-learn
mailing list