soil
soil copied to clipboard
Cmake build
Hi! These days CMake became a de-facto standard for building and distributing C/C++ projects. Also, like most C++ programmers, i hate autotools/automake and don't know anyone who uses clib in their development (not going to offend clib). So i've add CMake build support for SOIL.
Cons:
- clib and automake builds are probably slightly broken because of moving compile defs from actually compile defs to CMake-configured header file (passing string defs to compiler is broken on Windows).
Pros:
- it's possible to build/install SOIL as static or shared libs and easlily discover with CMake
- it works for *nix, Windows and Android (i personally use it for Android project) and will work (after i get mac device :) ) on iOs.
- it's able to provide custom headers/libraries to SOIL build (needed since we have amount of different OpenGL versions these days)
- doxygen documentation autogenerates while building if doxygen installed
Also i've added names to enums in SOIL.h just to slightly improve autodocs generation.
Thanx for your attention and criticism :)
unfortunately, I no longer have control of this repository so someone from littlstar will have to review, and merge. This repository should probably be archived as anyone who would maintain is no longer able to
Understood. Thank You.