Comments (5)
cmake? Hmm. For convenience and portability reasons, I'd rather try to build a script or program that converts cmake files into dub.json/sdl definitions, at least for the D part of your target project.
Digging into interpreting cmake files, structures and build patterns is a probably too heavy feature to lift on my own -- it would attract too many new bugs and issues + the actual benefit isn't outweighing the necessary efforts; Cmake doesn't seem to be used widely in D(?) anymore(?).
from mono-d.
You'd be much better off having CMake generate a project file for Visual Studio, no idea how well that would work for D though. With CMake it's generally done such that CMake generates the project files, not the individual IDE's. CMake has never been widely used with D.
If you really wanted to implement CMake projects, the best approach would be to instead support makefile projects, and let CMake generate a makefile for it.
from mono-d.
IIRC, Mono-D already had some sort of makefile generation support back then (which I removed again for unpopularity reasons).
Despite that, you may create a normal D Project inside Mono-D, enter 'make'/'make run' as build/run commands, and have all the work done right now, without implementing further things.
from mono-d.
But IDE like netbeans just use cmake to generate makefiles for compiling, then create nbproject and use that makefile.
from mono-d.
but it was only idea. And I missed that fact there is a dub system.
from mono-d.
Related Issues (20)
- cannot open dub project HOT 5
- Debian 8.3 install MonoDevelop's D language binding failed! HOT 3
- Illegal Token HOT 3
- Error opening dub.json project [v2.14.2]
- error opening dub.json project Illegal Token for windows monod ver 2.14.2 HOT 6
- xamarin 6.0 not supported HOT 52
- Configuration Error: Compiler is not properly called HOT 14
- Incorrect parsing dub project HOT 3
- Hovering over method call crashes XS. HOT 1
- Multiple tabs in menu
- version parsing from dub file
- Can't run a dub project. (dub exited with code: 1) HOT 2
- Mono-D not available/working for Xamarin Studio Community 6.1 HOT 7
- Xamarin Studio hungs during opening vibe.d HOT 2
- Can't install on OSX because of missing dependencies HOT 3
- The repository '*/Debian_8.0 Release' is not signed. HOT 1
- Bugs on extra compiler option
- indentation of multiline string literal concatenation
- Not works with Monodevelop 7.5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mono-d.