mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
3331e9cd00
* remove spdlog * clang format and fix windows * add format shared * windows sucks
28 lines
689 B
CMake
28 lines
689 B
CMake
add_library(common
|
|
SHARED
|
|
cross_os_debug/xdbg.cpp
|
|
cross_sockets/xsocket.cpp
|
|
goos/Interpreter.cpp
|
|
goos/Object.cpp
|
|
goos/ParseHelpers.cpp
|
|
goos/PrettyPrinter.cpp
|
|
goos/Reader.cpp
|
|
goos/TextDB.cpp
|
|
log/log.cpp
|
|
type_system/deftype.cpp
|
|
type_system/Type.cpp
|
|
type_system/TypeFieldLookup.cpp
|
|
type_system/TypeSpec.cpp
|
|
type_system/TypeSystem.cpp
|
|
util/DgoWriter.cpp
|
|
util/FileUtil.cpp
|
|
util/Timer.cpp
|
|
)
|
|
|
|
target_link_libraries(common fmt)
|
|
|
|
IF(WIN32)
|
|
target_link_libraries(common wsock32 ws2_32)
|
|
ELSE()
|
|
target_link_libraries(common stdc++fs)
|
|
ENDIF() |