star-3dstl

Create star-3d geometries from StL files
git clone git://git.meso-star.fr/star-3dstl.git
Log | Files | Refs | README | LICENSE

commit 839d3f99665cedc21acab230a046f8bbe82c3bbf
parent 458bcd8289d592a7df0325db24c93bba9cb66272
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 19 Oct 2023 11:20:17 +0200

Remove CMake support

POSIX make is now the only supported build system.

Diffstat:
Dcmake/CMakeLists.txt | 83-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 83 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -1,83 +0,0 @@ -# Copyright (C) 2016, 2018, 2021, 2023 |Méso|Star> (contact@meso-star.com) -# -# 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(star-3dstl C) -enable_testing() - -option(NO_TEST "Do not compile the test pograms" OFF) - -set(S3DSTL_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src) - -################################################################################ -# Dependencies -################################################################################ -find_package(RCMake 0.2 REQUIRED) -find_package(RSys 0.3 REQUIRED) -find_package(Star3D 0.3 REQUIRED) -find_package(StarSTL 0.3 REQUIRED) -include_directories( - ${RSys_INCLUDE_DIR} - ${Star3D_INCLUDE_DIR} - ${StarSTL_INCLUDE_DIR}) - -set(CMAKE_MODULE_PATH ${RCMAKE_SOURCE_DIR}) -include(rcmake) -include(rcmake_runtime) - -################################################################################ -# Define targets -################################################################################ -set(S3DSTL_FILES_INC_API s3dstl.h) -set(S3DSTL_FILES_SRC s3dstl.c) -set(S3DSTL_FILES_DOC COPYING.fr COPYING.en README.md) -rcmake_prepend_path(S3DSTL_FILES_SRC ${S3DSTL_SOURCE_DIR}) -rcmake_prepend_path(S3DSTL_FILES_INC_API ${S3DSTL_SOURCE_DIR}) -rcmake_prepend_path(S3DSTL_FILES_DOC ${S3DSTL_SOURCE_DIR}/../) - -add_library(s3dstl SHARED ${S3DSTL_FILES_SRC} ${S3DSTL_FILES_INC_API}) -target_link_libraries(s3dstl RSys Star3D StarSTL) - -set(VERSION_MAJOR 0) -set(VERSION_MINOR 3) -set(VERSION_PATCH 2) -set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) -set_target_properties(s3dstl PROPERTIES - DEFINE_SYMBOL S3DSTL_SHARED_BUILD - VERSION ${VERSION} - SOVERSION ${VERSION_MAJOR}) - -rcmake_setup_devel(s3dstl Star3DSTL ${VERSION} star/s3dstl_version.h) - -################################################################################ -# Define tests -################################################################################ -if(NOT NO_TEST) - add_executable(test_s3dstl ${S3DSTL_SOURCE_DIR}/test_s3dstl.c) - target_link_libraries(test_s3dstl s3dstl) - add_test(test_s3dstl test_s3dstl) - rcmake_copy_runtime_libraries(test_s3dstl) -endif(NOT NO_TEST) - -################################################################################ -# Install directories -################################################################################ -install(TARGETS s3dstl - ARCHIVE DESTINATION bin - LIBRARY DESTINATION lib - RUNTIME DESTINATION bin) -install(FILES ${S3DSTL_FILES_INC_API} DESTINATION include/star) -install(FILES ${S3DSTL_FILES_DOC} DESTINATION share/doc/star-3dstl) -