whoa/src/client/CMakeLists.txt
Tristan Cormier 4195109ac2 chore(util): moved CVar files under console subdir as ConsoleVar
CVar.cpp and CVar.hpp are renamed to ConsoleVar.cpp and ConsoleVar.hpp and moved to the new util/console subdirectory
2023-03-25 01:09:15 -04:00

53 lines
821 B
CMake

file(GLOB PRIVATE_SOURCES
"*.cpp"
"gui/*.cpp"
)
if(WHOA_SYSTEM_WIN)
file(GLOB WIN_SOURCES
"gui/win/*.cpp"
)
list(APPEND PRIVATE_SOURCES ${WIN_SOURCES})
endif()
if(WHOA_SYSTEM_MAC)
file(GLOB MAC_SOURCES
"gui/mac/*.cpp"
)
list(APPEND PRIVATE_SOURCES ${MAC_SOURCES})
endif()
if(WHOA_SYSTEM_LINUX)
file(GLOB LINUX_SOURCES
"gui/linux/*.cpp"
)
list(APPEND PRIVATE_SOURCES ${LINUX_SOURCES})
endif()
add_library(client STATIC
${PRIVATE_SOURCES}
)
target_include_directories(client
PRIVATE
${CMAKE_SOURCE_DIR}/src
)
target_link_libraries(client
PRIVATE
async
console
db
event
gx
model
net
ui
util
world
PUBLIC
bc
common
storm
)