You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
595 B

cmake_minimum_required(VERSION 3.10)
project(MacOsFW)
include("../AutogenGuiTest.cmake")
find_package(Qt5Test REQUIRED)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/output/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/output/lib)
set(CMAKE_INSTALL_NAME_DIR ${CMAKE_BINARY_DIR}/output/lib)
if(POLICY CMP0042) # in CMake 3.0.0+
set (CMAKE_MACOSX_RPATH OFF) # otherwise ON by default
endif(POLICY CMP0042)
if(POLICY CMP0068) # in CMake 3.9+
cmake_policy(SET CMP0068 NEW)
endif(POLICY CMP0068)
add_subdirectory(src)
add_subdirectory(test)