basic project

This commit is contained in:
2026-02-14 21:54:27 -05:00
commit 2dd2d9c995
12 changed files with 235 additions and 0 deletions

26
CMakeLists.txt Normal file
View File

@@ -0,0 +1,26 @@
cmake_minimum_required(VERSION 3.15)
# Block unsupported platforms immediately.
if(WIN32 OR APPLE OR BSD)
message(FATAL_ERROR "tv2hv doesn't configure or build on these platforms.")
endif()
project(tv2hv
LANGUAGES CXX
)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
include(Policies)
include(Options)
include(ProjectFuncs)
include(CompilerFlags)
# required system dependencies
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
# the source code
add_subdirectory(src)