hugoam / kiui

Auto-layout Ui library, lightweight, skinnable and system agnostic, with an OpenGL backend
zlib License
749 stars 70 forks source link

- Cmake fix to build the project on Windows with VS 2013 #2

Closed NotCamelCase closed 9 years ago

NotCamelCase commented 9 years ago

As there is no built-in Dirent API on Windows, the project fails to build without providing the mentioned twin header. There could likely be better way/syntax to correct the error but that's me the Cmake noob..

hugoam commented 9 years ago

Thanks, I'm quite new to CMake and I consider the build system a draft, so that's good enough for me, we can always refine it later.

hugoam commented 9 years ago

You will notice soon that the build system also lacks a few lines to install the example executable and the data files in a directory that makes it work. I'm thinking of replacing the hard-coded path in example.cpp by a macro defined by CMake using the install prefix.

NotCamelCase commented 9 years ago

Yep, noticed already. That could simplify things though. I'm playing with the library now so maybe I'll figure it out, too.