mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 16:21:48 -05:00
18 lines
451 B
CMake
18 lines
451 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
|
|
project(Vanilla C CXX)
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
|
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
|
|
|
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
|
|
add_subdirectory(lib)
|
|
|
|
if (NOT ANDROID)
|
|
add_subdirectory(pipe)
|
|
endif()
|
|
|
|
add_subdirectory(app)
|