diff --git a/LibCmo/CMakeLists.txt b/LibCmo/CMakeLists.txt index efb0f5a..925d7e1 100644 --- a/LibCmo/CMakeLists.txt +++ b/LibCmo/CMakeLists.txt @@ -9,30 +9,40 @@ find_package(Iconv REQUIRED) set(CMAKE_CXX_STANDARD 20) set(libcmo_headers ".") -set(libcmo_sources - CKGlobals.cpp - CKFile.cpp - CKFileReader.cpp - CKFileWriter.cpp - CKMinContext.cpp - CKStateChunk.cpp - VxMemoryMappedFile.cpp - VTEncoding.cpp + +set(libcmo_vt_src VTUtils.cpp + VTEncoding.cpp ) -set(libcmo_managers_sources - CKManagerImplements/CKBaseManager.cpp +set(libcmo_ck2_src + CK2/CKContext.cpp + CK2/CKFileOthers.cpp + CK2/CKFileReader.cpp + CK2/CKFileWriter.cpp + CK2/CKGlobals.cpp + CK2/CKStateChunk.cpp ) -set(libcmo_objects_sources - CKObjectImplements/CKObject.cpp +set(libcmo_ck2_mgr_src + CK2/MgrImpls/CKBaseManager.cpp +) +set(libcmo_ck2_obj_src + CK2/ObjImpls/CKObject.cpp +) +set(libcmo_vxmath_src + VxMath/VxMemoryMappedFile.cpp +) +set(libcmo_xcontainer_src ) # create static library add_library(LibCmo STATIC - ${libcmo_sources} - ${libcmo_managers_sources} - ${libcmo_objects_sources} + ${libcmo_vt_src} + ${libcmo_ck2_src} + ${libcmo_ck2_mgr_src} + ${libcmo_ck2_obj_src} + ${libcmo_vxmath_src} + ${libcmo_xcontainer_src} ) target_link_libraries(LibCmo PRIVATE diff --git a/Unvirt/CMakeLists.txt b/Unvirt/CMakeLists.txt index ded7d84..f484941 100644 --- a/Unvirt/CMakeLists.txt +++ b/Unvirt/CMakeLists.txt @@ -11,6 +11,7 @@ set(unvirt_sources StringHelper.cpp StructFormatter.cpp TerminalHelper.cpp + UnvirtContext.cpp Unvirt.cpp )