Windows build, package C, and updated README #109

Merged
prenaux merged 5 commits from master into master 2015-08-13 10:00:22 -07:00
prenaux commented 2015-08-13 02:18:38 -07:00 (Migrated from github.com)

All tested on Windows and OSX.

The package-c task creates a unified css-layout.h file which is a single include containing the header and the implementation.

Example usage:

// some_file.c
#define CSS_LAYOUT_IMPLEMENTATION
#include <css-layout.h> // prototypes and implementation
...
// some_other_file.c
#include <css-layout.h> // prototypes only

This in my experience is the simplest way to distribute a lightweight C lib, its inspired by https://github.com/nothings/stb.

All tested on Windows and OSX. The package-c task creates a unified css-layout.h file which is a single include containing the header and the implementation. Example usage: ``` c // some_file.c #define CSS_LAYOUT_IMPLEMENTATION #include <css-layout.h> // prototypes and implementation ... ``` ``` c // some_other_file.c #include <css-layout.h> // prototypes only ``` This in my experience is the simplest way to distribute a lightweight C lib, its inspired by https://github.com/nothings/stb.
ColinEberhardt commented 2015-08-13 02:34:32 -07:00 (Migrated from github.com)

Great job - a few comments on the Gruntfile, but otherwise, looks good to me.

It would be good to get some input from someone else on the C package step.

Great job - a few comments on the Gruntfile, but otherwise, looks good to me. It would be good to get some input from someone else on the C package step.
prenaux commented 2015-08-13 02:58:06 -07:00 (Migrated from github.com)

I've updated the code based on your comments.

I've updated the code based on your comments.
vjeux commented 2015-08-13 09:16:30 -07:00 (Migrated from github.com)

@ColinEberhardt feel free to merge it in when it is to your liking, you do not need to wait for me :)

@ColinEberhardt feel free to merge it in when it is to your liking, you do not need to wait for me :)
ColinEberhardt commented 2015-08-13 10:00:16 -07:00 (Migrated from github.com)

Thanks @prenaux for turning this around so quickly.

Thanks @prenaux for turning this around so quickly.
Sign in to join this conversation.
No description provided.