After half a week of trial and error hacking, I managed to get CMake to work - I made it even decide whether it is on a tardis system or not, for some needed flags.
The entire CMakeLists.txt is quite ugly atm, but at least it works. On the other hand, some ogre config files - namely plugins.cfg - need to be adapted to the specific system they run on. I am thinking of writing a little script to do that, but I am open to any other suggestions.
cheers
nico
Buildsystem and ogre.configs
Moderator: PPS-Leaders
-
- Baron Vladimir Harkonnen
- Posts: 258
- Joined: Wed Nov 01, 2006 7:58 pm
- Location: your mind
- Contact:
Buildsystem and ogre.configs
BOFH Excuse #212: Of course is doesn't work. We've performed a software upgrade.
-
- Baron Vladimir Harkonnen
- Posts: 258
- Joined: Wed Nov 01, 2006 7:58 pm
- Location: your mind
- Contact:
I give it a try this morning, and it worked. I even had another chat with David, and he told me that he tries to get CEGUI running on the tardis.
I hope that the following code is not too much for our students...
I try to do some test with a openAL code snippet I found... Or at least try to get to understand CMake a little better - it is quite confusing
cheer
nico
I hope that the following code is not too much for our students...
Code: Select all
cd ${TOP_SOURCE_DIR}/build
./build-script
./run-script
cheer
nico
BOFH Excuse #212: Of course is doesn't work. We've performed a software upgrade.
Try to make a little tutorial about cmake itself on some wiki pages. Call it BuildSystem or something. Like that it's easy to see what one has to modify on the existing cmake files to extend them for future code.
It doesn't have to contain too much, but the essential and important parts should be briefly documented.
It doesn't have to contain too much, but the essential and important parts should be briefly documented.
"I'm Commander Shepard and this is my favorite forum on the internet."
Who is online
Users browsing this forum: No registered users and 3 guests