File: CMakeLists.txt

package info (click to toggle)
libecpint 1.0.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,992 kB
  • sloc: xml: 31,587; cpp: 8,188; ansic: 922; python: 145; sh: 43; makefile: 15
file content (14 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

# define project
project( LibecpintExample
         VERSION 1.0
         LANGUAGES CXX)

add_executable(example example.cpp)
target_link_libraries(example PRIVATE ecpint Faddeeva pugixml)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/iodine.bas
     DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/hydrogen.bas
     DESTINATION ${CMAKE_CURRENT_BINARY_DIR})