commit 96270087a26b335f7ef376d3de3b77a4317d35fc
parent 3c70e9b5864bd8e803e33d729e0c4b209a3db960
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 31 Oct 2023 08:57:06 +0100
Remove CMake support
POSIX make is the only supported build system.
Diffstat:
| D | cmake/CMakeLists.txt | | | 101 | ------------------------------------------------------------------------------- |
1 file changed, 0 insertions(+), 101 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -1,101 +0,0 @@
-# Copyright (C) 2018, 2019, 2020, 2021 |Méso|Star> (contact@meso-star.com)
-# Copyright (C) 2018, 2019 Centre National de la Recherche Scientifique
-# Copyright (C) 2018, 2019 Université Paul Sabatier
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-cmake_minimum_required(VERSION 3.1)
-project(htsky C)
-
-set(HTSKY_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src)
-
-################################################################################
-# Check dependencies
-################################################################################
-find_package(HTCP 0.0.2 REQUIRED)
-find_package(HTGOP 0.1 REQUIRED)
-find_package(HTMIE 0.0.2 REQUIRED)
-find_package(OpenMP 1.2 REQUIRED)
-find_package(RCMake 0.3 REQUIRED)
-find_package(RSys 0.7 REQUIRED)
-find_package(StarVX 0.2 REQUIRED)
-
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${RCMAKE_SOURCE_DIR})
-include(rcmake)
-include(rcmake_runtime)
-
-include_directories(
- ${HTCP_INCLUDE_DIR}
- ${HTGOP_INCLUDE_DIR}
- ${HTMIE_INCLUDE_DIR}
- ${RSys_INCLUDE_DIR}
- ${StarVX_INCLUDE_DIR})
-
-################################################################################
-# Configure and define targets
-################################################################################
-set(VERSION_MAJOR 0)
-set(VERSION_MINOR 2)
-set(VERSION_PATCH 2)
-set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
-
-set(HTSKY_FILES_SRC
- htsky.c
- htsky_atmosphere.c
- htsky_cloud.c
- htsky_dump_cloud_vtk.c
- htsky_log.c
- htsky_svx.c)
-set(HTSKY_FILES_INC
- htsky_c.h
- htsky_atmosphere.h
- htsky_cloud.h
- htsky_log.h
- htsky_svx.h)
-set(HTSKY_FILES_INC_API htsky.h)
-
-set(HTSKY_FILES_DOC COPYING README.md)
-
-# Prepend each file in the `HTSKY_FILES_<SRC|INC>' list by `HTSKY_SOURCE_DIR'
-rcmake_prepend_path(HTSKY_FILES_SRC ${HTSKY_SOURCE_DIR})
-rcmake_prepend_path(HTSKY_FILES_INC ${HTSKY_SOURCE_DIR})
-rcmake_prepend_path(HTSKY_FILES_INC_API ${HTSKY_SOURCE_DIR})
-rcmake_prepend_path(HTSKY_FILES_DOC ${PROJECT_SOURCE_DIR}/../)
-
-add_library(htsky SHARED ${HTSKY_FILES_SRC} ${HTSKY_FILES_INC} ${HTSKY_FILES_INC_API})
-target_link_libraries(htsky HTCP HTGOP HTMIE RSys StarVX)
-
-if(CMAKE_COMPILER_IS_GNUCC)
- target_link_libraries(htsky m)
- set_target_properties(htsky PROPERTIES LINK_FLAGS "${OpenMP_C_FLAGS}")
-endif()
-
-set_target_properties(htsky PROPERTIES
- COMPILE_FLAGS "${OpenMP_C_FLAGS}"
- DEFINE_SYMBOL HTSKY_SHARED_BUILD
- VERSION ${VERSION}
- SOVERSION ${VERSION_MAJOR})
-
-rcmake_setup_devel(htsky HTSky ${VERSION} high_tune/htsky_version.h)
-
-################################################################################
-# Define output & install directories
-################################################################################
-install(TARGETS htsky
- ARCHIVE DESTINATION bin
- LIBRARY DESTINATION lib
- RUNTIME DESTINATION bin)
-install(FILES ${HTSKY_FILES_INC_API} DESTINATION include/high_tune)
-install(FILES ${HTSKY_FILES_DOC} DESTINATION share/doc/htsky)
-