Skip to content

Commit

Permalink
change src structure
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed May 9, 2021
1 parent 286d849 commit eee736b
Show file tree
Hide file tree
Showing 118 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ ELSE()
FILE(GLOB MIR2X_LOG_SRC_FILELIST
${CMAKE_SOURCE_DIR}/common/src/*.[hc]pp
${CMAKE_SOURCE_DIR}/client/src/*.[hc]pp
${CMAKE_SOURCE_DIR}/server/monoserver/src/*.[hc]pp
${CMAKE_SOURCE_DIR}/server/src/*.[hc]pp
)

FOREACH(LOG_SRC ${MIR2X_LOG_SRC_FILELIST})
STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" LOG_SRC_BODY ${LOG_SRC})
STRING(APPEND MIR2X_LOG_FILELIST "R\"DELIM(${LOG_SRC_BODY})DELIM\",\n")
ENDFOREACH()

FILE(GLOB MIR2X_LOG_FL_FILELIST ${CMAKE_SOURCE_DIR}/server/monoserver/src/*.[fF][lL])
FILE(GLOB MIR2X_LOG_FL_FILELIST ${CMAKE_SOURCE_DIR}/server/src/*.[fF][lL])
FOREACH(LOG_FL_SRC ${MIR2X_LOG_FL_FILELIST})
GET_FILENAME_COMPONENT(FL_SRC_BASENAME ${LOG_FL_SRC} NAME_WE)
STRING(APPEND MIR2X_LOG_FILELIST "R\"DELIM(server/monoserver/src/${FL_SRC_BASENAME}.hpp)DELIM\",\n")
STRING(APPEND MIR2X_LOG_FILELIST "R\"DELIM(server/monoserver/src/${FL_SRC_BASENAME}.cpp)DELIM\",\n")
STRING(APPEND MIR2X_LOG_FILELIST "R\"DELIM(server/src/${FL_SRC_BASENAME}.hpp)DELIM\",\n")
STRING(APPEND MIR2X_LOG_FILELIST "R\"DELIM(server/src/${FL_SRC_BASENAME}.cpp)DELIM\",\n")
ENDFOREACH()
ENDIF()

Expand Down
2 changes: 1 addition & 1 deletion server/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ADD_SUBDIRECTORY(monoserver)
ADD_SUBDIRECTORY(src)
1 change: 0 additions & 1 deletion server/monoserver/CMakeLists.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ ELSE()
ENDIF()

INSTALL(TARGETS monoserver DESTINATION server)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/server/monoserver/script DESTINATION server)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/server/script DESTINATION server)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/client/bin/Res/Map DESTINATION server)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit eee736b

Please sign in to comment.