| 1 | project "cfsLib" |
|---|
| 2 | kind "StaticLib" |
|---|
| 3 | language "C++" |
|---|
| 4 | cf_global_Libs() |
|---|
| 5 | includedirs { "../ExtLibs/lua/src", "../ExtLibs/lwo", "../ExtLibs/jpeg" } |
|---|
| 6 | files "Math3D/*.cpp" |
|---|
| 7 | files(string.explode([[ |
|---|
| 8 | Bitmap/Bitmap.cpp Bitmap/jdatasrc.cpp |
|---|
| 9 | ConsoleCommands/ConVar.cpp ConsoleCommands/ConFunc.cpp |
|---|
| 10 | ConsoleCommands/ConsoleInterpreterImpl.cpp ConsoleCommands/ConsoleInterpreter_LuaBinding.cpp |
|---|
| 11 | ConsoleCommands/Console.cpp ConsoleCommands/Console_Lua.cpp ConsoleCommands/ConsoleComposite.cpp ConsoleCommands/ConsoleStdout.cpp ConsoleCommands/ConsoleStringBuffer.cpp ConsoleCommands/ConsoleWarningsOnly.cpp ConsoleCommands/ConsoleFile.cpp |
|---|
| 12 | Fonts/Font.cpp Fonts/FontTT.cpp |
|---|
| 13 | FileSys/FileManImpl.cpp FileSys/FileSys_LocalPath.cpp FileSys/FileSys_ZipArchive_GV.cpp FileSys/File_local.cpp FileSys/File_memory.cpp FileSys/Password.cpp |
|---|
| 14 | GuiSys/ConsoleByWindow.cpp GuiSys/Coroutines.cpp GuiSys/InitWindowTypes.cpp GuiSys/GuiImpl.cpp GuiSys/GuiManImpl.cpp |
|---|
| 15 | GuiSys/Window.cpp GuiSys/WindowCreateParams.cpp GuiSys/WindowChoice.cpp GuiSys/WindowEdit.cpp GuiSys/WindowListBox.cpp GuiSys/WindowModel.cpp GuiSys/WindowPtr.cpp GuiSys/EditorData.cpp |
|---|
| 16 | MapFile.cpp |
|---|
| 17 | Models/Loader.cpp Models/Loader_ase.cpp Models/Loader_cmdl.cpp Models/Loader_lwo.cpp Models/Loader_md5.cpp |
|---|
| 18 | Models/Loader_mdl.cpp |
|---|
| 19 | Models/Model_cmdl.cpp Models/Model_dlod.cpp Models/Model_dummy.cpp Models/Model_mdl.cpp Models/Model_proxy.cpp |
|---|
| 20 | Network/Network.cpp ParticleEngine/ParticleEngineMS.cpp PlatformAux.cpp Terrain/Terrain.cpp |
|---|
| 21 | TextParser/TextParser.cpp |
|---|
| 22 | Plants/Tree.cpp Plants/PlantDescription.cpp Plants/PlantDescrMan.cpp |
|---|
| 23 | Util/Util.cpp |
|---|
| 24 | Win32/Win32PrintHelp.cpp |
|---|
| 25 | DebugLog.cpp TypeSys.cpp]], "%s+")) |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | -- The model loader classes are in a separate library in order to not have to compile many unrelated source files |
|---|
| 29 | -- with their header search paths, and to keep them from cfsLib, which is linked to Cafu with "--whole-archive" |
|---|
| 30 | -- and thus would involve all related external libraries as well. |
|---|
| 31 | project "ModelLoaders" |
|---|
| 32 | kind "StaticLib" |
|---|
| 33 | language "C++" |
|---|
| 34 | cf_global_Libs() |
|---|
| 35 | if os.isdir("ExtLibs/fbx/include") then |
|---|
| 36 | defines "HAVE_FBX_SDK" |
|---|
| 37 | includedirs "ExtLibs/fbx/include" |
|---|
| 38 | end |
|---|
| 39 | includedirs { "../ExtLibs/assimp/include" } |
|---|
| 40 | files { "Models/Loader_assimp.cpp", "Models/Loader_fbx.cpp" } |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | -- This library is obsolete, and only used for our legacy programs in CaTools. |
|---|
| 44 | project "cfsOpenGL" |
|---|
| 45 | kind "StaticLib" |
|---|
| 46 | language "C++" |
|---|
| 47 | cf_global_Libs() |
|---|
| 48 | files { "OpenGL/OpenGLWindow.cpp" } |
|---|
| 49 | |
|---|
| 50 | configuration "windows" |
|---|
| 51 | files "DirectX/DirectInput.cpp" |
|---|
| 52 | includedirs "../ExtLibs/DirectX7/include" |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | project "GuiSysNullEditor" |
|---|
| 56 | kind "StaticLib" |
|---|
| 57 | language "C++" |
|---|
| 58 | cf_global_Libs() |
|---|
| 59 | files { "GuiSys/*_NullEditor.cpp" } |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | project "ClipSys" |
|---|
| 63 | kind "StaticLib" |
|---|
| 64 | language "C++" |
|---|
| 65 | cf_global_Libs() |
|---|
| 66 | includedirs "../ExtLibs/bullet/src" |
|---|
| 67 | files { "ClipSys/*.cpp" } |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | project "MatSys" |
|---|
| 71 | kind "StaticLib" |
|---|
| 72 | language "C++" |
|---|
| 73 | cf_global_Libs() |
|---|
| 74 | files { "MaterialSystem/*.cpp" } |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | project "SoundSys" |
|---|
| 78 | kind "StaticLib" |
|---|
| 79 | language "C++" |
|---|
| 80 | cf_global_Libs() |
|---|
| 81 | files { "SoundSystem/*.cpp" } |
|---|
| 82 | |
|---|
| 83 | |
|---|
| 84 | project "SceneGraph" |
|---|
| 85 | kind "StaticLib" |
|---|
| 86 | language "C++" |
|---|
| 87 | cf_global_Libs() |
|---|
| 88 | files { "SceneGraph/*.cpp" } |
|---|