fix(build): build new code structure

This commit is contained in:
phaneron 2023-08-14 17:58:15 -04:00
parent c37593d375
commit f42d99c562

View file

@ -4,16 +4,16 @@ file(GLOB BC_SOURCES
"os/*.cpp" "os/*.cpp"
"file/*.cpp" "file/*.cpp"
"time/*.cpp" "time/*.cpp"
"file/system/*.cpp" "system/*.cpp"
"time/system/*.cpp" "system/file/*.cpp"
) )
if(DEFINED WHOA_SYSTEM_WIN) if(DEFINED WHOA_SYSTEM_WIN)
file(GLOB BC_FILE_SYSTEM_SOURCES "file/system/win/*.cpp") file(GLOB BC_FILE_SYSTEM_SOURCES "system/file/win/*.cpp")
endif() endif()
if(DEFINED WHOA_SYSTEM_LINUX OR WHOA_SYSTEM_MAC) if(DEFINED WHOA_SYSTEM_LINUX OR WHOA_SYSTEM_MAC)
file(GLOB BC_FILE_SYSTEM_SOURCES "file/system/posix/*.cpp") file(GLOB BC_FILE_SYSTEM_SOURCES "system/file/posix/*.cpp")
endif() endif()
list(APPEND BC_SOURCES ${BC_FILE_SYSTEM_SOURCES}) list(APPEND BC_SOURCES ${BC_FILE_SYSTEM_SOURCES})