mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
e74bd3b32b
* ci: bring over some of my code to enable the process * ci: cleanup builds a bit and add release stuff * ci: fix paths and such after debugging * ci: fix flowchart * cmake: easily toggle between building everything dyn or statically linked * ci: build release artifacts statically linked * ci: fix some issues after testing once again, linux binaries are still too big
54 lines
1.4 KiB
CMake
54 lines
1.4 KiB
CMake
add_library(common
|
|
audio/audio_formats.cpp
|
|
cross_os_debug/xdbg.cpp
|
|
cross_sockets/xsocket.cpp
|
|
custom_data/TFrag3Data.cpp
|
|
dma/dma.cpp
|
|
dma/dma_copy.cpp
|
|
dma/gs.cpp
|
|
|
|
goos/Interpreter.cpp
|
|
goos/Object.cpp
|
|
goos/ParseHelpers.cpp
|
|
goos/Printer.cpp
|
|
goos/PrettyPrinter.cpp
|
|
goos/PrettyPrinter2.cpp
|
|
goos/Reader.cpp
|
|
goos/TextDB.cpp
|
|
goos/ReplUtils.cpp
|
|
math/geometry.cpp
|
|
log/log.cpp
|
|
type_system/defenum.cpp
|
|
type_system/deftype.cpp
|
|
type_system/state.cpp
|
|
type_system/Type.cpp
|
|
type_system/TypeFieldLookup.cpp
|
|
type_system/TypeSpec.cpp
|
|
type_system/TypeSystem.cpp
|
|
util/Assert.cpp
|
|
util/BitUtils.cpp
|
|
util/compress.cpp
|
|
util/dgo_util.cpp
|
|
util/DgoReader.cpp
|
|
util/DgoWriter.cpp
|
|
util/diff.cpp
|
|
util/FileUtil.cpp
|
|
util/json_util.cpp
|
|
util/Timer.cpp
|
|
util/os.cpp
|
|
util/print_float.cpp
|
|
util/FontUtils.cpp
|
|
util/FrameLimiter.cpp
|
|
util/image_loading.cpp
|
|
goos/Printer.cpp
|
|
goos/PrettyPrinter2.cpp
|
|
)
|
|
|
|
target_link_libraries(common fmt lzokay replxx libzstd_static)
|
|
|
|
if(WIN32)
|
|
target_link_libraries(common wsock32 ws2_32 windowsapp)
|
|
else()
|
|
target_link_libraries(common stdc++fs)
|
|
endif()
|