mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 01:52:30 +00:00
fix(build): build new code structure
This commit is contained in:
parent
c37593d375
commit
f42d99c562
1 changed files with 4 additions and 4 deletions
|
|
@ -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})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue