Eric Kunze | e5e2676 | 2020-10-13 16:11:07 -0700 | [diff] [blame^] | 1 | cmake_minimum_required (VERSION 3.4) |
| 2 | |
| 3 | set(CMAKE_INSTALL_PREFIX ".") |
| 4 | project(tosa_tools LANGUAGES CXX) |
| 5 | |
| 6 | option(TOSA_TOOLS_BUILD_SERIALIZATION "Enable building of Tosa Serialization Library" ON) |
| 7 | option(TOSA_TOOLS_BUILD_REFERENCE_MODEL "Enable building of Tosa Reference Model" ON) |
| 8 | |
| 9 | add_subdirectory(thirdparty) |
| 10 | |
| 11 | if(TOSA_TOOLS_BUILD_SERIALIZATION) |
| 12 | add_subdirectory(serialization) |
| 13 | endif() |
| 14 | |
| 15 | if(TOSA_TOOLS_BUILD_REFERENCE_MODEL) |
| 16 | add_subdirectory(reference_model) |
| 17 | endif() |