Are there Cmake scripts for the 0.7.6 version of CEGUI? I am building a project that uses cegui as a GUI and one of the targets is win32/mingw. My whole project uses cmake and I would love to use CEGUI as a staticaly compiled library. I just need the minizip resource manager, expat, libsilly and opengl renders. If there is no cmake for this version could someone provide me with pointers on how to find what files I need to generate (config.h/etc) and defines that I need to set in order to compile the library?
Thank you!
Cmake and 0.7.6
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Cmake and 0.7.6
You may find this either useful to use or at least some kind of starting point: viewtopic.php?p=23888#p23888
To see what defines to set and what files to include you would need to dissect a working project, though cegui/include/config.h.in (used on linux) should give you a few clues as to the values we define - though some will not appear there (those related to D3D for sure, there may be others).
With regards to what files to include, it's rather a case of including all files except a few that are not needed. The 'best' way is to look at the premake generation files, since these basically describe that requirement exactly. If you look here: http://crayzedsgui.hg.sourceforge.net/h ... remake.lua you can see we match all files initially, then exclude some files based on chosen options - this is reasonably simple to understand, and should get you a fair way towards what you want.
Also, don't forget that CEGUI default branch code is already using cmake - though, yes, the code is still considered 'unstable' - so it's reasonable not to want to use that yet
CE.
To see what defines to set and what files to include you would need to dissect a working project, though cegui/include/config.h.in (used on linux) should give you a few clues as to the values we define - though some will not appear there (those related to D3D for sure, there may be others).
With regards to what files to include, it's rather a case of including all files except a few that are not needed. The 'best' way is to look at the premake generation files, since these basically describe that requirement exactly. If you look here: http://crayzedsgui.hg.sourceforge.net/h ... remake.lua you can see we match all files initially, then exclude some files based on chosen options - this is reasonably simple to understand, and should get you a fair way towards what you want.
Also, don't forget that CEGUI default branch code is already using cmake - though, yes, the code is still considered 'unstable' - so it's reasonable not to want to use that yet
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Cmake and 0.7.6
Thanks, those where exactly what I was looking for.
I have not yet advanced a lot on the gui part of my application yet. Do you recommend going the 0.8.0 way? I have no trouble using beta stuff at this stage. As for the D3D, they don't matter to me - I am writing everything in OpenGL to keep the code portable.
Ideally I would like to setup my build system so the whole application would only depends on libc++, boost and opengl.
I have not yet advanced a lot on the gui part of my application yet. Do you recommend going the 0.8.0 way? I have no trouble using beta stuff at this stage. As for the D3D, they don't matter to me - I am writing everything in OpenGL to keep the code portable.
Ideally I would like to setup my build system so the whole application would only depends on libc++, boost and opengl.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Cmake and 0.7.6
0.8.0 is definitely usable. Aside from a rename of the 'Elements' directory to 'Widgets', there are no more huge changes planned for that release - the only reason it's not been released yet is that there are (quite) a few things that need finishing up (but I'm not willing to dedicate the time to get those done at the moment).
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Cmake and 0.7.6
Anyone get a Cmake project made for 0.7.6 as of yet? or a VC++2010 project?
Thanks!
Thanks!
Who is online
Users browsing this forum: No registered users and 5 guests