Refactoring **everything**
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user