-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3d9daf
commit 83f507c
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
add_subdirectory(source) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
|
||
set(src | ||
alberfor.c | ||
alberinv.c | ||
alconfor.c | ||
alconinv.c | ||
azimfor.c | ||
aziminv.c | ||
br_gctp.c | ||
cproj.c | ||
eqconfor.c | ||
eqconinv.c | ||
equifor.c | ||
equiinv.c | ||
for_init.c | ||
gctp.c | ||
gnomfor.c | ||
gnominv.c | ||
goodfor.c | ||
goodinv.c | ||
gvnspfor.c | ||
gvnspinv.c | ||
hamfor.c | ||
haminv.c | ||
imolwfor.c | ||
imolwinv.c | ||
inv_init.c | ||
lamazfor.c | ||
lamazinv.c | ||
lamccfor.c | ||
lamccinv.c | ||
make.com | ||
merfor.c | ||
merinv.c | ||
millfor.c | ||
millinv.c | ||
molwfor.c | ||
molwinv.c | ||
nad1927.dat | ||
nad1983.dat | ||
nad27sp | ||
nad83sp | ||
obleqfor.c | ||
obleqinv.c | ||
omerfor.c | ||
omerinv.c | ||
orthfor.c | ||
orthinv.c | ||
paksz.c | ||
polyfor.c | ||
polyinv.c | ||
psfor.c | ||
psinv.c | ||
report.c | ||
robfor.c | ||
robinv.c | ||
sinfor.c | ||
sininv.c | ||
somfor.c | ||
sominv.c | ||
sphdz.c | ||
sterfor.c | ||
sterinv.c | ||
stplnfor.c | ||
stplninv.c | ||
tmfor.c | ||
tminv.c | ||
untfz.c | ||
utmfor.c | ||
utminv.c | ||
vandgfor.c | ||
vandginv.c | ||
wivfor.c | ||
wivinv.c | ||
wviifor.c | ||
wviiinv.c | ||
) | ||
|
||
add_library(gctpc OBJECT ${src}) | ||
|
||
target_include_directories(gctpc PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}>) | ||
|
||
install( | ||
TARGETS gctpc | ||
EXPORT wgrib2_exports | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) |