mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 20:39:20 +01:00
Add as include directory
This commit is contained in:
parent
8080760cd5
commit
ffbcf0fb33
@ -5,12 +5,14 @@ set_property(GLOBAL PROPERTY CMAKE_CXX_STANDARD 17 PROPERTY CMAKE_CXX_STANDARD_R
|
||||
set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp)
|
||||
|
||||
include_directories(${source_DIR}/include)
|
||||
include_directories(${source_DIR})
|
||||
|
||||
add_library(lightswitch SHARED
|
||||
${source_DIR}/lightswitch.cpp
|
||||
${source_DIR}/core/arm/cpu.cpp
|
||||
${source_DIR}/core/arm/memory.cpp
|
||||
|
||||
${source_DIR}/core/hos/kernel/svc.cpp
|
||||
${source_DIR}/core/hos/loaders/nro.cpp
|
||||
)
|
||||
target_link_libraries(lightswitch ${source_DIR}/lib/${ANDROID_ABI}/libunicorn.a)
|
||||
|
@ -2,8 +2,8 @@
|
||||
#include <syslog.h>
|
||||
#include <sys/mman.h>
|
||||
#include <vector>
|
||||
#include "../../arm/cpu.h"
|
||||
#include "../../arm/memory.h"
|
||||
#include "core/arm/cpu.h"
|
||||
#include "core/arm/memory.h"
|
||||
#include "nro.h"
|
||||
|
||||
void ReadDataFromFile(std::string file, char* output, uint32_t offset, size_t size)
|
||||
|
Loading…
Reference in New Issue
Block a user