Best way to add CEGUI into open source project

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

nostrora
Just popping in
Just popping in
Posts: 5
Joined: Tue Aug 19, 2014 21:53

Best way to add CEGUI into open source project

Postby nostrora » Tue Aug 19, 2014 22:06

Hello,

This is my first message on this forum and i would like to thanks CEGUI team for this so'good libraries. I want to make a new project, this project is open source and i don't want to add .lib and .dll into the git repo.
I just want to give the source code + dependancy of CEGUI into the git repo for anyone who want to have my project, and this user can build automaticaly his version of CEGUI.

That way I do not add the DLL, .lib compiled from my compiler, I leave this task to the person who will get my project.
I also like a simple method for that person to easily compile dependency for the project. With cmake I think.
Can I do this?

Thanks everybody, bye :)

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: Best way to add CEGUI into open source project

Postby lucebac » Wed Aug 20, 2014 10:26

Hi nostrora,

the CEGUI dev team has already published a CEGUI SDK which can be downloaded on SourceForge (http://sourceforge.net/projects/crayzed ... 0Mk-2/0.8/). It has precompiled libs for MSVC 2008, 2010, 2012 and 2013 as well as mingw. If you use *NIX, you will have to compile CEGUI yourself because the pre-built libs are only for windows.

nostrora
Just popping in
Just popping in
Posts: 5
Joined: Tue Aug 19, 2014 21:53

Re: Best way to add CEGUI into open source project

Postby nostrora » Wed Aug 20, 2014 10:40

Hi, thanks for you answer, but i think you have not understand my question.
I dont want to share 30mb of .dll and .lib in the GIT REPO
I'd like to share in the git repo, only the source of my project and the source of CEGUI.
And anyone can compile his version of CEGUI automatically (with the source which is in the git repo

I think i have to use CMake

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Best way to add CEGUI into open source project

Postby Kulik » Wed Aug 20, 2014 11:10

Just add a FindCEGUI.cmake or a similar script (depending on your build system) and tell the user where to get CEGUI. Linux users will just install it via their package managers, Windows users will download the SDK. Committing any binary files is nasty anyway.

nostrora
Just popping in
Just popping in
Posts: 5
Joined: Tue Aug 19, 2014 21:53

Re: Best way to add CEGUI into open source project

Postby nostrora » Wed Aug 20, 2014 11:59

Sounds good: D Thanks you
With this method I can integrate sources CEGUI in my project? And leave the task of compiling dependencies and cegui to the user?
I use CMake, I'll get this findCEGUI

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Best way to add CEGUI into open source project

Postby Kulik » Wed Aug 20, 2014 15:16

Yes.

nostrora
Just popping in
Just popping in
Posts: 5
Joined: Tue Aug 19, 2014 21:53

Re: Best way to add CEGUI into open source project

Postby nostrora » Wed Aug 20, 2014 15:38

Thanks, i try to do this also for RakNet.
I add the solution here if I find :wink:

nostrora
Just popping in
Just popping in
Posts: 5
Joined: Tue Aug 19, 2014 21:53

Re: Best way to add CEGUI into open source project

Postby nostrora » Wed Aug 20, 2014 16:23

This Cmake module also works for CEGUI dependency?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Best way to add CEGUI into open source project

Postby Kulik » Wed Aug 20, 2014 16:33

We do not force dependencies onto users. Like a proper library.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 35 guests