Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Whitney Armstrong
physica
Commits
3631717a
Commit
3631717a
authored
Mar 20, 2017
by
Whitney Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new file: CMakeLists.txt
parent
21e8efbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
mud/CMakeLists.txt
mud/CMakeLists.txt
+60
-0
No files found.
mud/CMakeLists.txt
0 → 100644
View file @
3631717a
# mud
set
(
FSRCS
)
Set
(
XSRCS
)
Set
(
CSRCS
src/mud.c src/mud_misc.c src/mud_all.c src/mud_new.c src/mud_gen.c
src/mud_tri_ti.c src/mud_encode.c
src/mud_friendly.c src/fmud_friendly.c src/mud_fort.c
)
include_directories
(
mud/src
)
add_definitions
(
-DFORT -Wno-implicit-function-declaration
)
# FFLAGS = -g -malign-double -fno-second-underscore -fno-automatic -frecord-marker=4
# MACROS = -Dgfortran -Dunix
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-g -malign-double -fno-second-underscore -fno-automatic -frecord-marker=4 -Dgfortran -Dunix "
)
#ifeq (${HAVE_CERNLIB},YES)
# KERNLIB = $(CERN_DIR)/libkernlib.a
# PACKLIB = $(CERN_DIR)/libpacklib.a
#else
# KERNLIB =
# PACKLIB =
#endif
#
#GPLOT_LIB = $(GPLOT_DIR)/libgplot.a
#MUD_LIB = $(MUD_DIR)/lib/libmud.a
#PHYSICA_LIB = $(PHYSICA_DIR)/physica.a
#
#INCLUDES = -I/usr/X11R6/include -I/usr/local/include -I/$(HOME)/include
#OTHER_LIBS = -L/usr/lib -lX11 -L$(HOME)/lib64 -lgd $(HOME)/lib64/libgd.a -lpng -lz -lreadline -lncurses -lnsl -lpthread
enable_language
(
C Fortran
)
add_library
(
mudlib
${
FSRCS
}
${
XSRCS
}
${
CSRCS
}
)
#physicalib gplot mud kernlib packlib )
#physica : $(PHYSICA_LIB)
# $(FORTRAN) -o $@ -Wl,-u,MAIN__ \
# $(PHYSICA_LIB) $(MUD_LIB) $(GPLOT_LIB) $(KERNLIB) $(PACKLIB) $(OTHER_LIBS)
#ifeq (${HAVE_CERNLIB},YES)
# XSRCS = $(PHYSICA_DIR)/src/physica_minuit.F \
# $(PHYSICA_DIR)/src/map_hbook_dum.F \
# $(PHYSICA_DIR)/src/rstr_hbook.F
#else
# XSRCS = $(PHYSICA_DIR)/src/cern_dum.F
#endif
#
#CSRCS = $(PHYSICA_DIR)/src/physica_malloc.c \
# $(PHYSICA_DIR)/src/physica_free.c \
# $(PHYSICA_DIR)/src/x_resize_window.c \
# $(PHYSICA_DIR)/src/digitize_png.c \
# $(PHYSICA_DIR)/src/readline_wrapper.c \
# $(PHYSICA_DIR)/src/linux/rstr_mudc.c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment