Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/post/src/sico2elmer/CMakeLists.txt
3204 views
1
2
########### next target ###############
3
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
4
5
SET(sico2elmer_SRCS
6
sico2elmerc.c
7
sico2elmer.f90
8
sico2elmer.h
9
)
10
11
add_executable(sico2elmer ${sico2elmer_SRCS})
12
13
target_link_libraries(sico2elmer)
14
SET_TARGET_PROPERTIES(sico2elmer PROPERTIES LINKER_LANGUAGE Fortran)
15
install(TARGETS sico2elmer DESTINATION bin COMPONENT ElmerPost)
16
17
18
########### install files ###############
19
20
21
22
23
#original Makefile.am contents follow:
24
25
#if NOTWINDOWS
26
#
27
#bin_PROGRAMS=sico2elmer
28
#
29
#sico2elmer_SOURCES=\
30
# sico2elmerc.c \
31
# sico2elmer.f90 \
32
# sico2elmer.h
33
#
34
#endif
35
36