From 734e6e97c06df98bb6c7584aa26b4ff26d20a39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Przyby=C5=82?= Date: Mon, 2 May 2016 12:14:18 +0200 Subject: [PATCH] Group source files for IDE projects in CMake Merge pull request #773 from MrSimbax/msvc-project-org-cmake --- CMakeLists.txt | 5 + src/CBot/CMakeLists.txt | 98 ++++++- src/CMakeLists.txt | 636 ++++++++++++++++++++++++++++------------ 3 files changed, 538 insertions(+), 201 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72e22179..dd412fb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,6 +64,7 @@ if("${CMAKE_SYSTEM_NAME}" MATCHES "Windows") # Platform-dependent implementation of system.h set(SYSTEM_CPP_MODULE "system_windows.cpp") + set(SYSTEM_H_MODULE "system_windows.h") elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") message(STATUS "Build for Linux system") set(PLATFORM_WINDOWS 0) @@ -74,6 +75,7 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") # Platform-dependent implementation of system.h set(SYSTEM_CPP_MODULE "system_linux.cpp") + set(SYSTEM_H_MODULE "system_linux.h") elseif("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "GNU") message(STATUS "Build for kFreeBSD system") set(PLATFORM_WINDOWS 0) @@ -84,6 +86,7 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD" OR "${CMAKE_SYSTEM_NAME}" STREQ # Platform-dependent implementation of system.h set(SYSTEM_CPP_MODULE "system_other.cpp") + set(SYSTEM_H_MODULE "system_other.h") elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") message(STATUS "Build for Mac OSX system") set(PLATFORM_WINDOWS 0) @@ -94,6 +97,7 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") # Platform-dependent implementation of system.h set(SYSTEM_CPP_MODULE "system_macosx.cpp") + set(SYSTEM_H_MODULE "system_macosx.h") # To avoid CMake warning set(CMAKE_MACOSX_RPATH 1) else() @@ -106,6 +110,7 @@ else() # Platform-dependent implementation of system.h set(SYSTEM_CPP_MODULE "system_other.cpp") + set(SYSTEM_H_MODULE "system_other.h") endif() diff --git a/src/CBot/CMakeLists.txt b/src/CBot/CMakeLists.txt index 1f17e6bb..dbd3d02e 100644 --- a/src/CBot/CMakeLists.txt +++ b/src/CBot/CMakeLists.txt @@ -1,75 +1,148 @@ set(SOURCES - CBotCallMethode.cpp - CBotClass.cpp + CBot.h CBotCStack.cpp + CBotCStack.h + CBotCallMethode.cpp + CBotCallMethode.h + CBotClass.cpp + CBotClass.h CBotDebug.cpp + CBotDebug.h CBotDefParam.cpp + CBotDefParam.h + CBotDefines.h + CBotEnums.h CBotExternalCall.cpp + CBotExternalCall.h CBotFileUtils.cpp - CBotProgram.cpp - CBotStack.cpp - CBotToken.cpp - CBotTypResult.cpp - CBotUtils.cpp + CBotFileUtils.h CBotInstr/CBotBlock.cpp + CBotInstr/CBotBlock.h CBotInstr/CBotBoolExpr.cpp + CBotInstr/CBotBoolExpr.h CBotInstr/CBotBreak.cpp + CBotInstr/CBotBreak.h CBotInstr/CBotCase.cpp + CBotInstr/CBotCase.h CBotInstr/CBotCatch.cpp + CBotInstr/CBotCatch.h CBotInstr/CBotCondition.cpp + CBotInstr/CBotCondition.h CBotInstr/CBotDefArray.cpp + CBotInstr/CBotDefArray.h CBotInstr/CBotDefBoolean.cpp + CBotInstr/CBotDefBoolean.h CBotInstr/CBotDefClass.cpp + CBotInstr/CBotDefClass.h CBotInstr/CBotDefFloat.cpp + CBotInstr/CBotDefFloat.h CBotInstr/CBotDefInt.cpp + CBotInstr/CBotDefInt.h CBotInstr/CBotDefString.cpp + CBotInstr/CBotDefString.h CBotInstr/CBotDo.cpp + CBotInstr/CBotDo.h CBotInstr/CBotEmpty.cpp - CBotInstr/CBotExpression.cpp + CBotInstr/CBotEmpty.h CBotInstr/CBotExprLitBool.cpp + CBotInstr/CBotExprLitBool.h CBotInstr/CBotExprLitNan.cpp + CBotInstr/CBotExprLitNan.h CBotInstr/CBotExprLitNull.cpp + CBotInstr/CBotExprLitNull.h CBotInstr/CBotExprLitNum.cpp + CBotInstr/CBotExprLitNum.h CBotInstr/CBotExprLitString.cpp + CBotInstr/CBotExprLitString.h CBotInstr/CBotExprUnaire.cpp + CBotInstr/CBotExprUnaire.h CBotInstr/CBotExprVar.cpp + CBotInstr/CBotExprVar.h + CBotInstr/CBotExpression.cpp + CBotInstr/CBotExpression.h CBotInstr/CBotFieldExpr.cpp + CBotInstr/CBotFieldExpr.h CBotInstr/CBotFor.cpp + CBotInstr/CBotFor.h CBotInstr/CBotFunction.cpp + CBotInstr/CBotFunction.h CBotInstr/CBotIf.cpp + CBotInstr/CBotIf.h CBotInstr/CBotIndexExpr.cpp - CBotInstr/CBotInstrCall.cpp + CBotInstr/CBotIndexExpr.h CBotInstr/CBotInstr.cpp + CBotInstr/CBotInstr.h + CBotInstr/CBotInstrCall.cpp + CBotInstr/CBotInstrCall.h CBotInstr/CBotInstrMethode.cpp + CBotInstr/CBotInstrMethode.h CBotInstr/CBotInstrUtils.cpp + CBotInstr/CBotInstrUtils.h CBotInstr/CBotLeftExpr.cpp + CBotInstr/CBotLeftExpr.h CBotInstr/CBotLeftExprVar.cpp + CBotInstr/CBotLeftExprVar.h CBotInstr/CBotListArray.cpp + CBotInstr/CBotListArray.h CBotInstr/CBotListExpression.cpp + CBotInstr/CBotListExpression.h CBotInstr/CBotListInstr.cpp + CBotInstr/CBotListInstr.h CBotInstr/CBotLogicExpr.cpp + CBotInstr/CBotLogicExpr.h CBotInstr/CBotNew.cpp + CBotInstr/CBotNew.h CBotInstr/CBotParExpr.cpp + CBotInstr/CBotParExpr.h CBotInstr/CBotPostIncExpr.cpp + CBotInstr/CBotPostIncExpr.h CBotInstr/CBotPreIncExpr.cpp + CBotInstr/CBotPreIncExpr.h CBotInstr/CBotReturn.cpp + CBotInstr/CBotReturn.h CBotInstr/CBotSwitch.cpp + CBotInstr/CBotSwitch.h CBotInstr/CBotThrow.cpp + CBotInstr/CBotThrow.h CBotInstr/CBotTry.cpp + CBotInstr/CBotTry.h CBotInstr/CBotTwoOpExpr.cpp + CBotInstr/CBotTwoOpExpr.h CBotInstr/CBotWhile.cpp - CBotVar/CBotVarArray.cpp - CBotVar/CBotVarBoolean.cpp - CBotVar/CBotVarClass.cpp + CBotInstr/CBotWhile.h + CBotProgram.cpp + CBotProgram.h + CBotStack.cpp + CBotStack.h + CBotToken.cpp + CBotToken.h + CBotTypResult.cpp + CBotTypResult.h + CBotUtils.cpp + CBotUtils.h CBotVar/CBotVar.cpp + CBotVar/CBotVar.h + CBotVar/CBotVarArray.cpp + CBotVar/CBotVarArray.h + CBotVar/CBotVarBoolean.cpp + CBotVar/CBotVarBoolean.h + CBotVar/CBotVarClass.cpp + CBotVar/CBotVarClass.h CBotVar/CBotVarFloat.cpp + CBotVar/CBotVarFloat.h CBotVar/CBotVarInt.cpp + CBotVar/CBotVarInt.h CBotVar/CBotVarPointer.cpp + CBotVar/CBotVarPointer.h CBotVar/CBotVarString.cpp + CBotVar/CBotVarString.h stdlib/Compilation.cpp + stdlib/Compilation.h stdlib/FileFunctions.cpp stdlib/MathFunctions.cpp stdlib/StringFunctions.cpp + stdlib/stdlib.h + stdlib/stdlib_public.h ) # Includes @@ -90,3 +163,4 @@ else() RUNTIME DESTINATION ${COLOBOT_INSTALL_BIN_DIR}) endif() +group_sources("${SOURCES}" "Source Files") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d397fb20..f619cac7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,6 +3,15 @@ set(CMAKE_CXX_FLAGS "${COLOBOT_CXX_FLAGS} ${MXE_CFLAGS}") set(CMAKE_CXX_FLAGS_RELEASE ${COLOBOT_CXX_FLAGS_RELEASE}) set(CMAKE_CXX_FLAGS_DEBUG ${COLOBOT_CXX_FLAGS_DEBUG}) +# Groups source files for IDE project +macro(group_sources SOURCES GROUP_ROOT) + foreach(SOURCE_FILE ${SOURCES}) + get_filename_component(GROUP "${SOURCE_FILE}" PATH) + string(REPLACE "/" "\\" GROUP "${GROUP}") + set(GROUP "${GROUP_ROOT}\\${GROUP}") + source_group("${GROUP}" FILES "${SOURCE_FILE}") + endforeach() +endmacro() # Subdirectories @@ -64,6 +73,10 @@ if(OPENAL_SOUND) sound/oalsound/buffer.cpp sound/oalsound/channel.cpp sound/oalsound/check.cpp + sound/oalsound/alsound.h + sound/oalsound/buffer.h + sound/oalsound/channel.h + sound/oalsound/check.h ) endif() @@ -75,195 +88,439 @@ endif() # Source files set(BASE_SOURCES - app/app.cpp - app/controller.cpp - app/input.cpp - app/pathman.cpp - app/pausemanager.cpp - app/signal_handlers.cpp - app/system.cpp - app/${SYSTEM_CPP_MODULE} - app/system_other.cpp - common/config_file.cpp - common/event.cpp - common/image.cpp - common/key.cpp - common/language.cpp - common/logger.cpp - common/regex_utils.cpp - common/resources/inputstream.cpp - common/resources/inputstreambuffer.cpp - common/resources/outputstream.cpp - common/resources/outputstreambuffer.cpp - common/resources/resourcemanager.cpp - common/resources/sdl_file_wrapper.cpp - common/resources/sdl_memory_wrapper.cpp - common/resources/sndfile_wrapper.cpp - common/restext.cpp - common/settings.cpp - common/stringutils.cpp - graphics/core/color.cpp - graphics/core/framebuffer.cpp - graphics/core/nulldevice.cpp - graphics/engine/camera.cpp - graphics/engine/cloud.cpp - graphics/engine/engine.cpp - graphics/engine/lightman.cpp - graphics/engine/lightning.cpp - graphics/engine/oldmodelmanager.cpp - graphics/engine/particle.cpp - graphics/engine/planet.cpp - graphics/engine/pyro.cpp - graphics/engine/pyro_manager.cpp - graphics/engine/terrain.cpp - graphics/engine/text.cpp - graphics/engine/water.cpp - graphics/opengl/gl21device.cpp - graphics/opengl/gl33device.cpp - graphics/opengl/gldevice.cpp - graphics/opengl/glframebuffer.cpp - graphics/opengl/glutil.cpp - graphics/model/model.cpp - graphics/model/model_input.cpp - graphics/model/model_manager.cpp - graphics/model/model_mesh.cpp - graphics/model/model_output.cpp - level/level_category.cpp - level/mainmovie.cpp - level/player_profile.cpp - level/robotmain.cpp - level/scene_conditions.cpp - level/parser/parser.cpp - level/parser/parserexceptions.cpp - level/parser/parserline.cpp - level/parser/parserparam.cpp - object/auto/auto.cpp - object/auto/autobase.cpp - object/auto/autoconvert.cpp - object/auto/autoderrick.cpp - object/auto/autodestroyer.cpp - object/auto/autoegg.cpp - object/auto/autopowerplant.cpp - object/auto/autofactory.cpp - object/auto/autoflag.cpp - object/auto/autohouston.cpp - object/auto/autojostle.cpp - object/auto/autokid.cpp - object/auto/autolabo.cpp - object/auto/automush.cpp - object/auto/autonest.cpp - object/auto/autonuclearplant.cpp - object/auto/autopowercaptor.cpp - object/auto/autoportico.cpp - object/auto/autoradar.cpp - object/auto/autorepair.cpp - object/auto/autoresearch.cpp - object/auto/autoroot.cpp - object/auto/autovault.cpp - object/auto/autopowerstation.cpp - object/auto/autotower.cpp - object/drive_type.cpp - object/interface/trace_drawing_object.cpp - object/implementation/power_container_impl.cpp - object/implementation/programmable_impl.cpp - object/implementation/program_storage_impl.cpp - object/implementation/task_executor_impl.cpp - object/motion/motion.cpp - object/motion/motionant.cpp - object/motion/motionbee.cpp - object/motion/motionlevelcontroller.cpp - object/motion/motionhuman.cpp - object/motion/motionqueen.cpp - object/motion/motionspider.cpp - object/motion/motiontoto.cpp - object/motion/motionvehicle.cpp - object/motion/motionworm.cpp - object/object.cpp - object/object_factory.cpp - object/object_manager.cpp - object/old_object.cpp - object/old_object_interface.cpp - object/task/task.cpp - object/task/taskadvance.cpp - object/task/taskbuild.cpp - object/task/taskdeletemark.cpp - object/task/taskfire.cpp - object/task/taskfireant.cpp - object/task/taskflag.cpp - object/task/taskgoto.cpp - object/task/taskgungoal.cpp - object/task/taskinfo.cpp - object/task/taskmanip.cpp - object/task/taskpen.cpp - object/task/taskrecover.cpp - object/task/tasksearch.cpp - object/task/taskshield.cpp - object/task/taskspiderexplo.cpp - object/task/tasktake.cpp - object/task/taskterraform.cpp - object/task/taskturn.cpp - object/task/taskwait.cpp - object/tool_type.cpp - object/subclass/base_alien.cpp - object/subclass/base_building.cpp - object/subclass/base_robot.cpp - object/subclass/base_vehicle.cpp - object/subclass/exchange_post.cpp - object/subclass/shielder.cpp - object/subclass/static_object.cpp - physics/physics.cpp - script/cbottoken.cpp - script/script.cpp - script/scriptfunc.cpp - sound/sound.cpp - sound/sound_type.cpp - ui/debug_menu.cpp - ui/displayinfo.cpp - ui/displaytext.cpp - ui/object_interface.cpp - ui/maindialog.cpp - ui/mainmap.cpp - ui/mainshort.cpp - ui/mainui.cpp - ui/studio.cpp - ui/controls/button.cpp - ui/controls/check.cpp - ui/controls/color.cpp - ui/controls/control.cpp - ui/controls/edit.cpp - ui/controls/editvalue.cpp - ui/controls/enumslider.cpp - ui/controls/gauge.cpp - ui/controls/group.cpp - ui/controls/image.cpp - ui/controls/interface.cpp - ui/controls/key.cpp - ui/controls/label.cpp - ui/controls/list.cpp - ui/controls/map.cpp - ui/controls/scroll.cpp - ui/controls/shortcut.cpp - ui/controls/slider.cpp - ui/controls/target.cpp - ui/controls/window.cpp - ui/screen/screen.cpp - ui/screen/screen_apperance.cpp - ui/screen/screen_io.cpp - ui/screen/screen_io_read.cpp - ui/screen/screen_io_write.cpp - ui/screen/screen_level_list.cpp - ui/screen/screen_loading.cpp - ui/screen/screen_main_menu.cpp - ui/screen/screen_player_select.cpp - ui/screen/screen_quit.cpp - ui/screen/screen_setup.cpp - ui/screen/screen_setup_controls.cpp - ui/screen/screen_setup_display.cpp - ui/screen/screen_setup_game.cpp - ui/screen/screen_setup_graphics.cpp - ui/screen/screen_setup_sound.cpp - ui/screen/screen_welcome.cpp ${OPENAL_SRC} + app/${SYSTEM_CPP_MODULE} + app/${SYSTEM_H_MODULE} + app/app.cpp + app/app.h + app/controller.cpp + app/controller.h + app/input.cpp + app/input.h + app/pathman.cpp + app/pathman.h + app/pausemanager.cpp + app/pausemanager.h + app/signal_handlers.cpp + app/signal_handlers.h + app/system.cpp + app/system.h + app/system_other.cpp + app/system_other.h + common/config_file.cpp + common/config_file.h + common/error.h + common/event.cpp + common/event.h + common/global.h + common/image.cpp + common/image.h + common/ioutils.h + common/key.cpp + common/key.h + common/language.cpp + common/language.h + common/logger.cpp + common/logger.h + common/make_unique.h + common/regex_utils.cpp + common/regex_utils.h + common/resources/inputstream.cpp + common/resources/inputstream.h + common/resources/inputstreambuffer.cpp + common/resources/inputstreambuffer.h + common/resources/outputstream.cpp + common/resources/outputstream.h + common/resources/outputstreambuffer.cpp + common/resources/outputstreambuffer.h + common/resources/resourcemanager.cpp + common/resources/resourcemanager.h + common/resources/sdl_file_wrapper.cpp + common/resources/sdl_file_wrapper.h + common/resources/sdl_memory_wrapper.cpp + common/resources/sdl_memory_wrapper.h + common/resources/sndfile_wrapper.cpp + common/resources/sndfile_wrapper.h + common/restext.cpp + common/restext.h + common/settings.cpp + common/settings.h + common/singleton.h + common/stringutils.cpp + common/stringutils.h + common/thread/resource_owning_thread.h + common/thread/sdl_cond_wrapper.h + common/thread/sdl_mutex_wrapper.h + graphics/core/color.cpp + graphics/core/color.h + graphics/core/device.h + graphics/core/framebuffer.cpp + graphics/core/framebuffer.h + graphics/core/light.h + graphics/core/material.h + graphics/core/nulldevice.cpp + graphics/core/nulldevice.h + graphics/core/texture.h + graphics/core/vertex.h + graphics/engine/camera.cpp + graphics/engine/camera.h + graphics/engine/cloud.cpp + graphics/engine/cloud.h + graphics/engine/engine.cpp + graphics/engine/engine.h + graphics/engine/lightman.cpp + graphics/engine/lightman.h + graphics/engine/lightning.cpp + graphics/engine/lightning.h + graphics/engine/oldmodelmanager.cpp + graphics/engine/oldmodelmanager.h + graphics/engine/particle.cpp + graphics/engine/particle.h + graphics/engine/planet.cpp + graphics/engine/planet.h + graphics/engine/pyro.cpp + graphics/engine/pyro.h + graphics/engine/pyro_manager.cpp + graphics/engine/pyro_manager.h + graphics/engine/pyro_type.h + graphics/engine/terrain.cpp + graphics/engine/terrain.h + graphics/engine/text.cpp + graphics/engine/text.h + graphics/engine/water.cpp + graphics/engine/water.h + graphics/model/model.cpp + graphics/model/model.h + graphics/model/model_crash_sphere.h + graphics/model/model_format.h + graphics/model/model_input.cpp + graphics/model/model_input.h + graphics/model/model_io_exception.h + graphics/model/model_io_structs.h + graphics/model/model_manager.cpp + graphics/model/model_manager.h + graphics/model/model_mesh.cpp + graphics/model/model_mesh.h + graphics/model/model_output.cpp + graphics/model/model_output.h + graphics/model/model_shadow_spot.h + graphics/model/model_triangle.h + graphics/opengl/gl21device.cpp + graphics/opengl/gl21device.h + graphics/opengl/gl33device.cpp + graphics/opengl/gl33device.h + graphics/opengl/gldevice.cpp + graphics/opengl/gldevice.h + graphics/opengl/glframebuffer.cpp + graphics/opengl/glframebuffer.h + graphics/opengl/glutil.cpp + graphics/opengl/glutil.h + level/build_type.h + level/level_category.cpp + level/level_category.h + level/mainmovie.cpp + level/mainmovie.h + level/parser/parser.cpp + level/parser/parser.h + level/parser/parserexceptions.cpp + level/parser/parserexceptions.h + level/parser/parserline.cpp + level/parser/parserline.h + level/parser/parserparam.cpp + level/parser/parserparam.h + level/player_profile.cpp + level/player_profile.h + level/research_type.h + level/robotmain.cpp + level/robotmain.h + level/scene_conditions.cpp + level/scene_conditions.h + math/all.h + math/const.h + math/func.h + math/geometry.h + math/intpoint.h + math/matrix.h + math/point.h + math/sphere.h + math/vector.h + object/auto/auto.cpp + object/auto/auto.h + object/auto/autobase.cpp + object/auto/autobase.h + object/auto/autoconvert.cpp + object/auto/autoconvert.h + object/auto/autoderrick.cpp + object/auto/autoderrick.h + object/auto/autodestroyer.cpp + object/auto/autodestroyer.h + object/auto/autoegg.cpp + object/auto/autoegg.h + object/auto/autofactory.cpp + object/auto/autofactory.h + object/auto/autoflag.cpp + object/auto/autoflag.h + object/auto/autohouston.cpp + object/auto/autohouston.h + object/auto/autojostle.cpp + object/auto/autojostle.h + object/auto/autokid.cpp + object/auto/autokid.h + object/auto/autolabo.cpp + object/auto/autolabo.h + object/auto/automush.cpp + object/auto/automush.h + object/auto/autonest.cpp + object/auto/autonest.h + object/auto/autonuclearplant.cpp + object/auto/autonuclearplant.h + object/auto/autoportico.cpp + object/auto/autoportico.h + object/auto/autopowercaptor.cpp + object/auto/autopowercaptor.h + object/auto/autopowerplant.cpp + object/auto/autopowerplant.h + object/auto/autopowerstation.cpp + object/auto/autopowerstation.h + object/auto/autoradar.cpp + object/auto/autoradar.h + object/auto/autorepair.cpp + object/auto/autorepair.h + object/auto/autoresearch.cpp + object/auto/autoresearch.h + object/auto/autoroot.cpp + object/auto/autoroot.h + object/auto/autotower.cpp + object/auto/autotower.h + object/auto/autovault.cpp + object/auto/autovault.h + object/crash_sphere.h + object/drive_type.cpp + object/drive_type.h + object/implementation/power_container_impl.cpp + object/implementation/power_container_impl.h + object/implementation/program_storage_impl.cpp + object/implementation/program_storage_impl.h + object/implementation/programmable_impl.cpp + object/implementation/programmable_impl.h + object/implementation/task_executor_impl.cpp + object/implementation/task_executor_impl.h + object/interface/carrier_object.h + object/interface/controllable_object.h + object/interface/damageable_object.h + object/interface/destroyable_object.h + object/interface/flying_object.h + object/interface/fragile_object.h + object/interface/interactive_object.h + object/interface/jet_flying_object.h + object/interface/jostleable_object.h + object/interface/movable_object.h + object/interface/power_container_object.h + object/interface/powered_object.h + object/interface/program_storage_object.h + object/interface/programmable_object.h + object/interface/ranged_object.h + object/interface/shielded_auto_regen_object.h + object/interface/shielded_object.h + object/interface/task_executor_object.h + object/interface/trace_drawing_object.cpp + object/interface/trace_drawing_object.h + object/interface/transportable_object.h + object/mission_type.h + object/motion/motion.cpp + object/motion/motion.h + object/motion/motionant.cpp + object/motion/motionant.h + object/motion/motionbee.cpp + object/motion/motionbee.h + object/motion/motionhuman.cpp + object/motion/motionhuman.h + object/motion/motionlevelcontroller.cpp + object/motion/motionlevelcontroller.h + object/motion/motionqueen.cpp + object/motion/motionqueen.h + object/motion/motionspider.cpp + object/motion/motionspider.h + object/motion/motiontoto.cpp + object/motion/motiontoto.h + object/motion/motionvehicle.cpp + object/motion/motionvehicle.h + object/motion/motionworm.cpp + object/motion/motionworm.h + object/object.cpp + object/object.h + object/object_create_exception.h + object/object_create_params.h + object/object_factory.cpp + object/object_factory.h + object/object_interface_type.h + object/object_manager.cpp + object/object_manager.h + object/object_type.h + object/old_object.cpp + object/old_object.h + object/old_object_interface.cpp + object/old_object_interface.h + object/subclass/base_alien.cpp + object/subclass/base_alien.h + object/subclass/base_building.cpp + object/subclass/base_building.h + object/subclass/base_robot.cpp + object/subclass/base_robot.h + object/subclass/base_vehicle.cpp + object/subclass/base_vehicle.h + object/subclass/exchange_post.cpp + object/subclass/exchange_post.h + object/subclass/shielder.cpp + object/subclass/shielder.h + object/subclass/static_object.cpp + object/subclass/static_object.h + object/task/task.cpp + object/task/task.h + object/task/taskadvance.cpp + object/task/taskadvance.h + object/task/taskbuild.cpp + object/task/taskbuild.h + object/task/taskdeletemark.cpp + object/task/taskdeletemark.h + object/task/taskfire.cpp + object/task/taskfire.h + object/task/taskfireant.cpp + object/task/taskfireant.h + object/task/taskflag.cpp + object/task/taskflag.h + object/task/taskgoto.cpp + object/task/taskgoto.h + object/task/taskgungoal.cpp + object/task/taskgungoal.h + object/task/taskinfo.cpp + object/task/taskinfo.h + object/task/taskmanip.cpp + object/task/taskmanip.h + object/task/taskpen.cpp + object/task/taskpen.h + object/task/taskrecover.cpp + object/task/taskrecover.h + object/task/tasksearch.cpp + object/task/tasksearch.h + object/task/taskshield.cpp + object/task/taskshield.h + object/task/taskspiderexplo.cpp + object/task/taskspiderexplo.h + object/task/tasktake.cpp + object/task/tasktake.h + object/task/taskterraform.cpp + object/task/taskterraform.h + object/task/taskturn.cpp + object/task/taskturn.h + object/task/taskwait.cpp + object/task/taskwait.h + object/tool_type.cpp + object/tool_type.h + physics/physics.cpp + physics/physics.h + script/cbottoken.cpp + script/cbottoken.h + script/script.cpp + script/script.h + script/scriptfunc.cpp + script/scriptfunc.h + sound/sound.cpp + sound/sound.h + sound/sound_type.cpp + sound/sound_type.h + ui/controls/button.cpp + ui/controls/button.h + ui/controls/check.cpp + ui/controls/check.h + ui/controls/color.cpp + ui/controls/color.h + ui/controls/control.cpp + ui/controls/control.h + ui/controls/edit.cpp + ui/controls/edit.h + ui/controls/editvalue.cpp + ui/controls/editvalue.h + ui/controls/enumslider.cpp + ui/controls/enumslider.h + ui/controls/gauge.cpp + ui/controls/gauge.h + ui/controls/group.cpp + ui/controls/group.h + ui/controls/image.cpp + ui/controls/image.h + ui/controls/interface.cpp + ui/controls/interface.h + ui/controls/key.cpp + ui/controls/key.h + ui/controls/label.cpp + ui/controls/label.h + ui/controls/list.cpp + ui/controls/list.h + ui/controls/map.cpp + ui/controls/map.h + ui/controls/scroll.cpp + ui/controls/scroll.h + ui/controls/shortcut.cpp + ui/controls/shortcut.h + ui/controls/slider.cpp + ui/controls/slider.h + ui/controls/target.cpp + ui/controls/target.h + ui/controls/window.cpp + ui/controls/window.h + ui/debug_menu.cpp + ui/debug_menu.h + ui/displayinfo.cpp + ui/displayinfo.h + ui/displaytext.cpp + ui/displaytext.h + ui/maindialog.cpp + ui/maindialog.h + ui/mainmap.cpp + ui/mainmap.h + ui/mainshort.cpp + ui/mainshort.h + ui/mainui.cpp + ui/mainui.h + ui/object_interface.cpp + ui/object_interface.h + ui/screen/screen.cpp + ui/screen/screen.h + ui/screen/screen_apperance.cpp + ui/screen/screen_apperance.h + ui/screen/screen_io.cpp + ui/screen/screen_io.h + ui/screen/screen_io_read.cpp + ui/screen/screen_io_read.h + ui/screen/screen_io_write.cpp + ui/screen/screen_io_write.h + ui/screen/screen_level_list.cpp + ui/screen/screen_level_list.h + ui/screen/screen_loading.cpp + ui/screen/screen_loading.h + ui/screen/screen_main_menu.cpp + ui/screen/screen_main_menu.h + ui/screen/screen_player_select.cpp + ui/screen/screen_player_select.h + ui/screen/screen_quit.cpp + ui/screen/screen_quit.h + ui/screen/screen_setup.cpp + ui/screen/screen_setup.h + ui/screen/screen_setup_controls.cpp + ui/screen/screen_setup_controls.h + ui/screen/screen_setup_display.cpp + ui/screen/screen_setup_display.h + ui/screen/screen_setup_game.cpp + ui/screen/screen_setup_game.h + ui/screen/screen_setup_graphics.cpp + ui/screen/screen_setup_graphics.h + ui/screen/screen_setup_sound.cpp + ui/screen/screen_setup_sound.h + ui/screen/screen_welcome.cpp + ui/screen/screen_welcome.h + ui/studio.cpp + ui/studio.h ) set(MAIN_SOURCES @@ -271,7 +528,6 @@ set(MAIN_SOURCES ${RES_FILES} ) - # Libraries set(LIBS CBot @@ -341,3 +597,5 @@ endif() if(COLOBOT_LINT_BUILD) add_fake_header_sources("src") endif() + +group_sources("${BASE_SOURCES}" "Source Files")