Comments (4)
+1
from djinni.
It's reasonably likely this would be almost as expensive as if you did the full run and simply ignored the output files, since Djinni would still need to parse all the input to know the set of output files. Saving the I/O cost of writing them would be worthwhile, though, and not too difficult.
Another alternative here would be a mode in which Djinni outputs a single file (with a predictable name you can use in GYP actions). That can't work for Java, though.
from djinni.
This would be a help for tools like CMake.
CMake does have special targets to run code generators, but you have to supply it with the names of the generated files so it can do dependency analysis, know when to rebuild projects (for instance to add/remove generated files to Xcode projects) and stuff. So if it were possible to run djinni once to only get the output file names, capture them, and then forward them to the generator target, that might be a win.
Though this is yet hypothetical, we haven't integrated Djinni into our CMake toolchain yet.
from djinni.
This is available now. See the --list-in-files and --list-out-files parameters.
from djinni.
Related Issues (20)
- Problem running multiple processes on a android device HOT 1
- JNI headers include themselves HOT 1
- iOS vs Android performance HOT 1
- std::shared_ptr<T> and std::function<void <void* ptr , size_t size> > HOT 4
- Djinni does not wrap code into NN_CHECK_ASSERT HOT 5
- Djinni's optional<enum> generates an NSNumber on iOS HOT 3
- Bug on DSL parser HOT 1
- Djinni don't write enums correctly using ordinal value HOT 9
- iOS framework headers subfolder HOT 2
- Crash in IDEA plugin
- Circular Dependencies for Record? HOT 1
- Set with other collections doesn't compile HOT 1
- Discussion about merging works from LedgerHQ/djinni into this repository HOT 1
- Generate bindings for nodejs HOT 1
- Problems when compile djinni HOT 2
- Add djinni distribution in binary form HOT 5
- Mapping an enum inside a struct in .djinni file HOT 4
- Write operator functions for custom struct or class generated by djinni HOT 2
- android Q(10) HOT 1
- Comments on enums and flags are not included in C++ headers
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 djinni.