mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-10 23:07:07 +00:00
8cd7526dae
Add brick by brick conversion commands with 2 parameters to tell the program what to do with the data. Add zlib -> sd0 conversion. Files look good at a glance but should be tested in game to ensure stability. Tests to come.
30 lines
577 B
CMake
30 lines
577 B
CMake
set(DCOMMON_SOURCES "AMFFormat.cpp"
|
|
"AMFDeserialize.cpp"
|
|
"AMFFormat_BitStream.cpp"
|
|
"BinaryIO.cpp"
|
|
"dConfig.cpp"
|
|
"Diagnostics.cpp"
|
|
"dLogger.cpp"
|
|
"GeneralUtils.cpp"
|
|
"LDFFormat.cpp"
|
|
"MD5.cpp"
|
|
"Metrics.cpp"
|
|
"NiPoint3.cpp"
|
|
"NiQuaternion.cpp"
|
|
"SHA512.cpp"
|
|
"Type.cpp"
|
|
"ZCompression.cpp"
|
|
"BrickByBrickFix.cpp"
|
|
)
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/dCommon/)
|
|
|
|
add_library(dCommon STATIC ${DCOMMON_SOURCES})
|
|
|
|
target_link_libraries(dCommon bcrypt dDatabase)
|
|
|
|
if (UNIX)
|
|
find_package(ZLIB REQUIRED)
|
|
target_link_libraries(dCommon ZLIB::ZLIB)
|
|
endif()
|