Re: Adding D code to a C++ codebase

2017-05-06 Thread Russel Winder via Digitalmars-d
On Sat, 2017-05-06 at 13:42 +, Joakim via Digitalmars-d wrote: > […] > ldc is a mixed D/C++ codebase using CMake: > > https://github.com/ldc-developers/ldc/blob/master/CMakeLists.txt > Of course it is. I should have known that. I shall delve into its build. -- Russel.

Re: Adding D code to a C++ codebase

2017-05-06 Thread Russel Winder via Digitalmars-d
On Sat, 2017-05-06 at 12:11 +, qznc via Digitalmars-d wrote: > […] > > There is a plugin for IntelliJ [0], but I have not tried it. I  > don't know the Jetbrains products. Is Clion and IntelliJ IDEA the  > same core with different plugins and branding or is it really  > different? > > [0] htt

Re: Adding D code to a C++ codebase

2017-05-06 Thread Joakim via Digitalmars-d
On Saturday, 6 May 2017 at 11:44:28 UTC, Russel Winder wrote: Say I have a C++14 codebase, for arguments sake let's call it Me TV. Say I fancy rewriting it in D, but incrementally not as a "big bang". Actually I may start by adding new features in D code rather than C++. In any event it is a mi

Re: Adding D code to a C++ codebase

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 11:44:28 UTC, Russel Winder wrote: CLion, IntelliJ IDEA, Eclipse/CDT, Xcode, and Visual Studio seem to be the IDEs of the moment. There is effort to get D support in IntelliJ IDEA, but CLion is where the C++ folk are. Eclipse/CDT appears to have lost all activity on t

Adding D code to a C++ codebase

2017-05-06 Thread Russel Winder via Digitalmars-d
Say I have a C++14 codebase, for arguments sake let's call it Me TV. Say I fancy rewriting it in D, but incrementally not as a "big bang". Actually I may start by adding new features in D code rather than C++. In any event it is a mixed C++/D code with a C++ main. The build is currently CMake (bec