2015-07-07 03:22:44 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(RetroCommon)
|
|
|
|
if (NOT TARGET NOD)
|
|
|
|
add_subdirectory(NODLib)
|
|
|
|
endif()
|
2015-07-16 01:57:34 +00:00
|
|
|
include_directories(${ATHENA_INCLUDE_DIR} ${LOG_VISOR_INCLUDE_DIR} ${ANGELSCRIPT_INCLUDE_DIR})
|
|
|
|
set(NOD_LIB_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/NODLib/include)
|
2015-07-07 03:22:44 +00:00
|
|
|
add_subdirectory(DataSpec)
|
2015-07-11 22:41:10 +00:00
|
|
|
add_subdirectory(Runtime)
|
2015-07-20 03:04:27 +00:00
|
|
|
|
2015-07-20 23:25:16 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
2015-07-20 03:04:27 +00:00
|
|
|
include_directories(include)
|
|
|
|
add_library(RetroCommon
|
|
|
|
src/RetroCommon.cpp include/RetroCommon.hpp
|
|
|
|
src/MREADecompress.cpp)
|