Add Python setup to CMakeLists.txt

This commit is contained in:
Dan Paulat 2025-05-28 22:21:48 -05:00
parent ffbe3aedad
commit ea2c2e8f58
4 changed files with 44 additions and 4 deletions

View file

@ -1,5 +1,10 @@
cmake_minimum_required(VERSION 3.24)
set(PROJECT_NAME supercell-wx)
include(tools/scwx_config.cmake)
scwx_python_setup()
project(${PROJECT_NAME}
VERSION 0.4.9
DESCRIPTION "Supercell Wx is a free, open source advanced weather radar viewer."
@ -11,8 +16,6 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0079 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0148 OLD) # aws-sdk-cpp uses FindPythonInterp
include(tools/scwx_config.cmake)
scwx_output_dirs_setup()
enable_testing()