2020-05-02 07:31:03 +00:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
|
|
|
# set the project name
|
|
|
|
project(media-tools)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
2020-07-04 18:43:08 +00:00
|
|
|
set_property( GLOBAL PROPERTY USE_FOLDERS ON)
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2020-05-02 07:31:03 +00:00
|
|
|
add_subdirectory(src)
|
2020-06-07 17:11:36 +00:00
|
|
|
add_subdirectory(apps)
|
|
|
|
add_subdirectory(test)
|