Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cmakelists_gmpxx.txt « patches « build_environment « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5aa6c404035ce6cebd15d86bd6a9ac92625e3d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.1)
project(libgmpxx)

include_directories(. cxx ${GMP_INCLUDE_DIR})
add_definitions(-D__GMP_WITHIN_GMPXX)
add_library(libgmpxx SHARED
  cxx/dummy.cc
  cxx/isfuns.cc
  cxx/ismpf.cc
  cxx/ismpq.cc
  cxx/ismpz.cc
  cxx/ismpznw.cc
  cxx/limits.cc
  cxx/osdoprnti.cc
  cxx/osfuns.cc
  cxx/osmpf.cc
  cxx/osmpq.cc
  cxx/osmpz.cc
)

target_link_libraries(libgmpxx ${GMP_LIBRARY})
install(TARGETS libgmpxx DESTINATION lib)