2023-11-02 09:36:58 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
|
|
|
2023-11-09 01:23:06 +00:00
|
|
|
project("Plugin-rsp")
|
2023-11-02 09:36:58 +00:00
|
|
|
include_directories(..)
|
|
|
|
|
2023-11-09 01:23:06 +00:00
|
|
|
add_library(Plugin-rsp SHARED
|
2023-11-02 09:36:58 +00:00
|
|
|
main.cpp)
|
|
|
|
|
|
|
|
add_definitions(-DANDROID)
|
|
|
|
|
2023-11-09 01:23:06 +00:00
|
|
|
ADD_SUBDIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/../Common ${CMAKE_CURRENT_BINARY_DIR}/Common)
|
|
|
|
ADD_SUBDIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/../Project64-rsp-core ${CMAKE_CURRENT_BINARY_DIR}/Project64-rsp-core)
|
2023-11-02 09:36:58 +00:00
|
|
|
ADD_SUBDIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/../Settings ${CMAKE_CURRENT_BINARY_DIR}/Settings)
|
2023-11-09 01:23:06 +00:00
|
|
|
target_link_libraries(Plugin-rsp Project64-rsp-core settings Common)
|