Refactoring **everything**

This commit is contained in:
2025-05-29 02:56:51 -05:00
parent 391dcd32ad
commit 74b1d0d1fc
26 changed files with 629 additions and 331 deletions

View File

@@ -33,7 +33,7 @@ CPMAddPackage(NAME Event
URL https://git.redacted.cc/josh/Event/archive/Release-12.zip)
CPMAddPackage(NAME jjx
URL https://git.redacted.cc/josh/jjx/archive/Release-1.1.zip)
URL https://git.redacted.cc/josh/jjx/archive/Release-1.2.zip)
CPMAddPackage(NAME J3ML
URL https://git.redacted.cc/josh/j3ml/archive/3.4.5.zip)
@@ -53,16 +53,12 @@ if (UNIX)
endif()
if (WIN32)
ADD_LIBRARY(Editor2D STATIC ${EDITOR_SRC}
include/Preferences.hpp
src/Utils.cpp
include/NewMapDialog.hpp
src/Tileset.cpp
src/Layer.cpp)
ADD_LIBRARY(Editor2D STATIC ${EDITOR_SRC})
endif()
set_target_properties(Editor2D PROPERTIES LINKER_LANGUAGE CXX)
# TODO: Separate dependency packages such that only bare-minimum required is compiled with the just the lib.
target_include_directories(Editor2D PUBLIC
${Event_SOURCE_DIR}/include
${J3ML_SOURCE_DIR}/include