Comments (4)
nah its going to be a mess if you need to do #include "util/macros.h" in every file you need macros just define them in the .h of the file you need the macro (as i think it is now).
The defines too we already have a long compile time if we add every lib we need in every .c file we have the compilation time will increase exponentially.
from candybar.
Allright, I'll leave it as it is now then.
Regarding compile time, would it be possible to not include every lib when compiling every C file, I've noticed the compile time starting to get a bit out of hand as I've been adding widgets. It would be nice not having to include libmpdclient
in 20 C files that don't actually use libmpdclient. I'm guessing it's possible with autotools, what I'm really asking is if you know whether it's a lot of work implementing and maintaining such a change.
from candybar.
i think that if you only put the header of libmpd in one file it wont make much difference. i think the time we are seeing is the time the pre-processor cpp
takes to copy the header files, not really compiling
from candybar.
Roger that, I'll leave things as they are.
from candybar.
Related Issues (20)
- Netctl Widget
- System monitor (like conky)
- Allow hiding empty desktops on desktops widget
- candybar fails to build with '-Werror' flag HOT 8
- White status line with html text on installation in NixOS
- AUR package not loneger exists
- Does not build with archlinux / latest gcc HOT 3
- pthreads related segfault HOT 12
- Build fail on volume.c HOT 3
- Command widget to spawn processes HOT 2
- Add WebKit web inspector while debugging. HOT 2
- WARNING timed out waiting for widget battery to exit HOT 1
- candybar doesn't seem track the mouse exiting its window vertically HOT 1
- weather: "unit" : "f" returns non integer HOT 2
- now_playing_mpris doesn't display playing song on startup
- desktops_i3 seems flaky HOT 1
- candybar segmentation fault HOT 6
- i3ipc-glib no longer needed HOT 6
- Feature Request: Support openbox also. HOT 3
- Core dump on close
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 candybar.