cmake target
Opened this issue · 3 comments
another suggestion
make yip a meta-generator tool. ie, use yip to generate native makefiles like its doing now (android,ios,osx,tizen) or upcoming meta-makefiles (cmake,premake,...)
since, cmake is used to generate yip binary, it might be a good candidate for a meta-target as well. ie, there is no visual studio or windows port at the moment, but users could try yip for now if only yip could generate cmakefiles too, as a target.
using "-c target" or "--cmake target" would create a CMakeLists.txt file and would invoke a cmake /path/to/generated/cmakelists/ -G "target" call on it. so yip could have, all of a sudden, a good platform target support
btw, in order to compile yip with visual studio 2013 i had to remove noexcept from ui_compiler/ui_color.h . all the other files and sublibs compiled great
CMake is already planned (you may find it commented in the usage screen in main.cpp). Visual Studio project generator is planned too.
I primarily use Yip for my own products (I work as a freelancer) so most features are done when I do need them. You seem to be the first outer-world user of the product :) The TODO list was just very simple to implement...
Regarding the ui_color.h - it's a new code and my primary development platform is a Mac. Didn't test it on Windows yet (I do it periodically). Thanks for the report. It's very unfortunate that VS still does not support 'noexcept' while it already had almost the same __declspec(nothrow) for years...
yup, i understand. in my case, ive been using cmake for the good target support but i really hate the syntax, like a sane person would do. on the other side, the yip spec looks concise, nice and simple.
if you ever unroll the visual studio solution try to add support for the visual studio NMake generator as well (yep, im one of those users : )
I do not have plans for NMake or Makefile generator at the moment, because CMake is capable of generating Makefiles. CMake's generator is the best I have seen, it even has the progress indicator :)
For now, on Windows Yip is usable only for Android and Tizen development (and Tizen is very premature - it was done for taking part in the Tizen hackathon). But I have a project here in development which targets iOS, Android and WinRT, so expect some VS-related work in the nearest future.
By the way, if you (will) have any questions regarding the Yip or any other my projects, feel free to contact me at nikolay (at) friedcroc (dot) com. GitHub is not very convenient for discussions :)