Cafu and CMake

Get technical support about the C++ source code and about Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
Post Reply
User avatar
BRabbit
Posts: 28
Joined: 2010-08-16, 19:26
Location: Moscow, Russia

Cafu and CMake

Post by BRabbit » 2010-11-08, 21:14

Okay, so I'm trying to make right now the CMake for Cafu, this will help users used to a specific IDE to create the project files.
But Carsten, there are some things about the libraries that are part of Cafu that get me confused:

-what version of wxWidgets is using Cafu r-154? I think 2.9.1, but I can't get CaWE to compile with the CMake'd 2.9.1.
-Where's located the source code for each of the renderer DLLs? (RendererCgNV2X.dll, RendererOpenGL12.dll, etc). And what libs are needed to link them?
-where's located the file "Win32/Win32Console.hpp"? (It's used in CaPVS)
-Where's defined the class PlaneT (also in CaPVS)?
-Where's the source code for the libraries cfsLib.lib, cfsCoreLib.lib, GuiSysNullEditor.lib (this one seems to be Window_NullEditor.cpp) and cfsOpenGL.lib?
-cfs_png.lib and cfs_jpeg.lib are just nicknames for the libpng and libjpeg respectively?

Excuse me for making too many questions, but I think this will help us to continue developing with Cafu in an easy way.
User avatar
Carsten
Site Admin
Posts: 2160
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: Cafu and CMake

Post by Carsten » 2010-11-08, 22:33

BRabbit wrote:-what version of wxWidgets is using Cafu r-154? I think 2.9.1, but I can't get CaWE to compile with the CMake'd 2.9.1.
Yes, currently it's wx 2.9.1 at http://trac.cafu.de/browser/cafu/trunk/ ... /wxWidgets (with a few custom patches, see http://trac.cafu.de/log/cafu/trunk/ExtLibs/wxWidgets for details).
-Where's located the source code for each of the renderer DLLs? (RendererCgNV2X.dll, RendererOpenGL12.dll, etc). And what libs are needed to link them?
See
http://trac.cafu.de/browser/cafu/trunk/Libs/SConscript
http://trac.cafu.de/browser/cafu/trunk/ ... rialSystem
-where's located the file "Win32/Win32Console.hpp"? (It's used in CaPVS)
http://trac.cafu.de/browser/cafu/trunk/Libs/Win32
-Where's defined the class PlaneT (also in CaPVS)?
http://trac.cafu.de/browser/cafu/trunk/ ... Plane3.hpp
-Where's the source code for the libraries cfsLib.lib, cfsCoreLib.lib, GuiSysNullEditor.lib (this one seems to be Window_NullEditor.cpp) and cfsOpenGL.lib?
Best you see the above mentioned file
http://trac.cafu.de/browser/cafu/trunk/Libs/SConscript

I think it's relatively straightforward (and already much simpler than it used to be), but otherwise don't hesitate to ask.
-cfs_png.lib and cfs_jpeg.lib are just nicknames for the libpng and libjpeg respectively?
The names are different in order to not confuse them with the (same) system libraries that ship with Unix-based OS's.
Excuse me for making too many questions,
No problem, you're welcome. :-)
but I think this will help us to continue developing with Cafu in an easy way.
Yes, I think so, too (though I doubt that any of these will be able to replace SCons entirely anytime soon).
Best regards,
Carsten
User avatar
BRabbit
Posts: 28
Joined: 2010-08-16, 19:26
Location: Moscow, Russia

Re: Cafu and CMake

Post by BRabbit » 2010-11-09, 16:27

Yeah, i forgot those SConscripts in the subfolders... :p
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests