File: CMakeLists.txt

package info (click to toggle)
c-munipack 2.1.39-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,888 kB
  • sloc: ansic: 200,762; cpp: 106,129; lex: 9,035; yacc: 4,916; sh: 4,074; fortran: 2,613; xml: 2,105; python: 1,182; makefile: 546; perl: 104
file content (39 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
include(cmake/internal_utils.cmake)

set(toolkit_common_source 
	src/cmdline.c 
	src/cmdline.h 
	src/utils.c 
	src/utils.h 
	src/cfgfile.c 
	src/cfgfile.h
)

set(toolkit_tools
	airmass 
	autoflat 
	biasbat 
	darkbat 
	flatbat 
	helcor 
	kombine 
	konve 
	meanbias 
	meandark 
	munifind 
	munilist 
	munimatch 
	muniphot 
	timebat
)

add_library(toolkit_common OBJECT ${toolkit_common_source})
set_target_properties(toolkit_common PROPERTIES FOLDER toolkit)
target_link_libraries(toolkit_common PUBLIC libcmpack)

set(toolkit_libraries toolkit_common)

foreach(t ${toolkit_tools})
	add_toolkit_target(${t} src/${t}.c src/${t}.rc)
endforeach()