Remove source grouping temporarily

It's probably not how it should be done with modern CMake, so I'm
removing this for now to focus on other changes first.
fix-squashed-planets
MrSimbax 2020-07-10 13:03:23 +02:00
parent 4c02fe9cda
commit 4ae0360640
2 changed files with 0 additions and 14 deletions

View File

@ -175,5 +175,3 @@ else()
ARCHIVE DESTINATION ${COLOBOT_INSTALL_LIB_DIR}
RUNTIME DESTINATION ${COLOBOT_INSTALL_BIN_DIR})
endif()
group_sources("${SOURCES}" "Source Files")

View File

@ -3,16 +3,6 @@ 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
add_subdirectory(CBot)
@ -663,5 +653,3 @@ endif()
if(COLOBOT_LINT_BUILD)
add_fake_header_sources("src")
endif()
group_sources("${BASE_SOURCES}" "Source Files")