Start a new project for Visual Studio

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

RickF-
Just popping in
Just popping in
Posts: 2
Joined: Tue Oct 07, 2014 16:44

Start a new project for Visual Studio

Postby RickF- » Tue Oct 07, 2014 17:35

Hello,

I have a fair amount of experience using Cmake building scientific and medical apps via ITK / VTK / QT etc.

So, I've got the CEGUI built no problem.

I want to create a hello_word CMakeLists.txt file for my first project.

I would expect to do something like this in a new CMakeLists.txt file:

cmake_minimum_required(VERSION 2.8.12)
project(CEGUIApp)
SET(PROJECT_NAME CEGUIApp)
find_package(CEGUI REQUIRED)
find_package(VTK 6.2 REQUIRED NO_MODULE)
find_package(ITK REQUIRED)
include(${VTK_USE_FILE})
include(${ITK_USE_FILE})


etc....


But Cmake 3.0.2 doesn't seem to find a package setup for CEGUI.

My build is done out of source, and on my D: Drive so my directory setup is:

D:\Projects\cegui-0.8.3
D:\Projects\cegui-0.8.3.bin

where .bin is the output of the build of cegui.

So, the question is, what's the proper setup for a new project using CMake with a CMakeLists.txt file?

Thanks
Rick

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Start a new project for Visual Studio

Postby Ident » Tue Oct 07, 2014 18:00

We do not support 3.X it was released only recently.... Use 2.8.X


Did you look at lucebac's work on our v0-8 repo online? https://bitbucket.org/cegui/cegui/pull- ... s-for/diff
It is not finished but it should contain what you want if i get you right
CrazyEddie: "I don't like GUIs"

RickF-
Just popping in
Just popping in
Posts: 2
Joined: Tue Oct 07, 2014 16:44

Re: Start a new project for Visual Studio

Postby RickF- » Tue Oct 07, 2014 22:23

No - I should pull from git? This isn't in the zipped up windows release I guess?

Thanks

Rick

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

Re: Start a new project for Visual Studio

Postby lucebac » Tue Oct 07, 2014 23:31

It is pending for merge into v0-8 branch due to missing CMake script enhancements and small bug fixes I have not yet added. But I'm working on it.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Start a new project for Visual Studio

Postby Ident » Wed Oct 08, 2014 06:31

Once lucebac has fixed the small issues in his PR, it will be merged into v0-8. After that, the next 0.8.X zipped Windows Release will contain these files. Until then, lucebac's repository is all there is.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 21 guests