vanilla/CMakeLists.txt
2024-08-21 09:31:07 -07:00

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)