Updated to use JGL
This commit is contained in:
@@ -28,20 +28,39 @@ include(cmake/CPM.cmake)
|
||||
# You specify the release name to target against. See the link below for releases:
|
||||
# https://git.redacted.cc/Redacted/ReWindow/releases
|
||||
|
||||
CPMAddPackage(
|
||||
NAME mcolor
|
||||
URL https://git.redacted.cc/maxine/mcolor/archive/Prerelease-5.zip
|
||||
)
|
||||
|
||||
CPMAddPackage(
|
||||
NAME ReWindow
|
||||
URL URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-31.zip
|
||||
URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-32.zip
|
||||
)
|
||||
|
||||
CPMAddPackage(
|
||||
NAME JGL
|
||||
URL https://git.redacted.cc/josh/JGL/archive/Prerelease-47.zip
|
||||
)
|
||||
|
||||
add_executable(ReWalkerApp main.cpp)
|
||||
|
||||
target_include_directories(ReWalkerApp PUBLIC ${ReWindow_SOURCE_DIR}/include ${J3ML_SOURCE_DIR}/include)
|
||||
target_include_directories(ReWalkerApp PUBLIC
|
||||
${ReWindow_SOURCE_DIR}/include
|
||||
${J3ML_SOURCE_DIR}/include
|
||||
${mcolor_SOURCE_DIR}/include
|
||||
${JGL_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
target_link_libraries(ReWalkerApp PUBLIC J3ML ReWindowLibrary)
|
||||
target_link_libraries(ReWalkerApp PUBLIC J3ML ReWindow mcolor JGL)
|
||||
|
||||
# simple window test
|
||||
add_executable(TestWindowApp test.cpp)
|
||||
|
||||
target_include_directories(TestWindowApp PUBLIC ${ReWindow_SOURCE_DIR}/include ${J3ML_SOURCE_DIR}/include)
|
||||
target_include_directories(TestWindowApp PUBLIC
|
||||
${ReWindow_SOURCE_DIR}/include
|
||||
${J3ML_SOURCE_DIR}/include
|
||||
${mcolor_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
target_link_libraries(TestWindowApp PUBLIC J3ML ReWindowLibrary)
|
||||
target_link_libraries(TestWindowApp PUBLIC J3ML ReWindow)
|
Reference in New Issue
Block a user