Codebase list isospec / 556a67c
And now reinstate the CMake build system files to their upstream form so that the patches from debian/patches can apply correctly. Filippo Rusconi 3 years ago
3 changed file(s) with 7 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
0 cmake_minimum_required(VERSION 3.12)
1
02 #############################################################
13 #############################################################
24 # CMake configuration
35
4 cmake_minimum_required(VERSION 3.12)
5
66 # CMake script for the IsoSpec library
7 # Author: Anonymous and Filippo Rusconi
8 # This script was present in the source tree but was
9 # highly rudimentary. I have implemented most of what is
10 # here (Filippo Rusconi).
11 # Last Modifs: July 2020
7 # Author: Filippo Rusconi
8 # Created: June 2020
129
1310 ############################################################
1411 ############################################################
2017
2118 set(ISOSPEC_VERSION_MAJOR "2")
2219 set(ISOSPEC_VERSION_MINOR "1")
23 set(ISOSPEC_VERSION_PATCH "2")
20 set(ISOSPEC_VERSION_PATCH "0")
2421 set(ISOSPEC_LIB_NAME "libIsoSpec++")
2522 set(ISOSPEC_VERSION "${ISOSPEC_VERSION_MAJOR}.${ISOSPEC_VERSION_MINOR}.${ISOSPEC_VERSION_PATCH}")
26 set(VERSION 2.1.2)
23 set(VERSION 2.1.0)
2724 set(ISOSPEC_LIB_VERSION ${ISOSPEC_VERSION})
2825 set(ISOSPEC_LIB_SOVERSION ${ISOSPEC_VERSION_MAJOR})
2926
+0
-22
CMakeStuff/toolchains/apple-macport-toolchain.cmake less more
0 message("")
1 message("${BoldRed}APPLE environment${ColourReset}")
2 message("")
3 message("~~~~~~ Instructions ~~~~~~")
4 message("cmake -DCMAKE_BUILD_TYPE=<Debug | Release> ../../development")
5 message("")
6
7 set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/local/include")
8 set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/local/lib")
9
10
11 set(HOME_DEVEL_DIR "/Users/rusconi/devel")
12
13
14 ## platform dependent compiler flags:
15 include(CheckCXXCompilerFlag)
16
17 if(WITH_FPIC)
18 add_definitions(-fPIC)
19 endif()
20
21
88
99
1010 # On Win10 all the code is relocatable.
11 message(STATUS "Removing definitions -fPIC.")
11 message(STATUS "Removing definitions -fPic.")
1212 remove_definitions(-fPIC)
1313