Point CMake to using the subtree copy of Ox

This commit is contained in:
2017-05-06 12:10:40 -05:00
parent 56fb5595f9
commit a243a38d4d
9 changed files with 17 additions and 52 deletions

View File

@ -6,10 +6,6 @@ if(NOT WOMBAT_BUILD_TYPE STREQUAL "GBA")
find_package(Qt5Widgets)
endif()
find_package(Ox REQUIRED)
include_directories(${Ox_INCLUDE_DIRS})
#project packages
include_directories(".")

View File

@ -21,7 +21,7 @@ typedef uint16_t Pallete[256];
typedef Tile CharBlock[512];
typedef Tile8 CharBlock8[256];
struct __attribute__((aligned(4))) GbaImageData {
struct __attribute__((packed)) GbaImageData {
Pallete pal;
uint16_t tileCount;
uint8_t bpp;

View File

@ -21,6 +21,6 @@ endif()
target_link_libraries(
nostalgia
NostalgiaCore
${OxStd_LIBRARY}
${OxFS_LIBRARY}
OxStd
OxFS
)

View File

@ -15,9 +15,9 @@ target_link_libraries(
nostalgia-studio
Qt5::Core
Qt5::Widgets
${OxClArgs_LIBRARY}
${OxFS_LIBRARY}
${OxStd_LIBRARY}
OxClArgs
OxFS
OxStd
NostalgiaCommon
NostalgiaCore
NostalgiaStudioStatic

View File

@ -22,8 +22,8 @@ target_link_libraries(
NostalgiaStudioStatic
Qt5::Core
Qt5::Widgets
${OxFS_LIBRARY}
${OxStd_LIBRARY}
OxFS
OxStd
)
add_library(
@ -36,8 +36,8 @@ target_link_libraries(
Qt5::Core
Qt5::Widgets
NostalgiaStudioStatic
${OxFS_LIBRARY}
${OxStd_LIBRARY}
OxFS
OxStd
)
install(

View File

@ -10,9 +10,9 @@ add_executable(nost-pack pack.cpp)
target_link_libraries(
nost-pack
Qt5::Widgets
${OxClArgs_LIBRARY}
${OxFS_LIBRARY}
${OxStd_LIBRARY}
OxClArgs
OxFS
OxStd
NostalgiaCommon
NostalgiaCore
)