Move Asar in CMakeLists
This commit is contained in:
@@ -28,12 +28,6 @@ find_package(PNG REQUIRED)
|
||||
find_package(OpenGL REQUIRED)
|
||||
find_package(GLEW REQUIRED)
|
||||
|
||||
# Asar Assembly ---------------------------------------------------------------
|
||||
add_subdirectory(src/lib/asar/src)
|
||||
get_target_property(ASAR_INCLUDE_DIR asar-static INCLUDE_DIRECTORIES)
|
||||
include_directories(${ASAR_INCLUDE_DIR})
|
||||
add_definitions(-Dstricmp=strcasecmp)
|
||||
|
||||
# Project Files
|
||||
add_subdirectory(src/lib/abseil-cpp)
|
||||
add_subdirectory(src/lib/SDL)
|
||||
|
||||
@@ -34,6 +34,11 @@ set(
|
||||
${IMGUI_COLOR_TEXT_EDIT_PATH}/TextEditor.cpp
|
||||
)
|
||||
|
||||
# Asar Assembly ---------------------------------------------------------------
|
||||
add_subdirectory(lib/asar/src)
|
||||
get_target_property(ASAR_INCLUDE_DIR asar-static INCLUDE_DIRECTORIES)
|
||||
add_definitions(-Dstricmp=strcasecmp)
|
||||
|
||||
set(
|
||||
YAZE_APP_CORE_SRC
|
||||
app/core/common.cc
|
||||
@@ -67,7 +72,7 @@ set(
|
||||
|
||||
set(
|
||||
YAZE_APP_ASM_SRC
|
||||
app/asm/script.h
|
||||
app/asm/script.cc
|
||||
)
|
||||
|
||||
set(
|
||||
|
||||
Reference in New Issue
Block a user