Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
4a1fce7c
Commit
4a1fce7c
authored
6 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Bring argparse to autotools
parent
9ee1f043
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!689
Add GNU style long command line arguments
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile.am
+1
-1
1 addition, 1 deletion
Makefile.am
argparse/Makefile.am
+28
-0
28 additions, 0 deletions
argparse/Makefile.am
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
with
30 additions
and
2 deletions
Makefile.am
+
1
−
1
View file @
4a1fce7c
...
...
@@ -19,7 +19,7 @@
ACLOCAL_AMFLAGS
=
-I
m4
# Show the way...
SUBDIRS
=
src examples doc tests tools
SUBDIRS
=
src
argparse
examples doc tests tools
# Non-standard files that should be part of the distribution.
EXTRA_DIST
=
INSTALL.swift .clang-format format.sh
This diff is collapsed.
Click to expand it.
argparse/Makefile.am
0 → 100644
+
28
−
0
View file @
4a1fce7c
# This file is part of SWIFT.
# Copyright (c) 2018 Peter W. Draper (p.w.draper@durham.ac.uk)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
lib_LTLIBRARIES
=
libargparse.la
include_HEADERS
=
argparse.h
AM_SOURCES
=
argparse.c
# Sources and flags for regular library
libargparse_la_SOURCES
=
$(
AM_SOURCES
)
libargparse_la_CFLAGS
=
$(
AM_CFLAGS
)
libargparse_la_LDFLAGS
=
$(
AM_LDFLAGS
)
EXTRA_DIST
=
LICENSE README.md
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
4a1fce7c
...
...
@@ -1579,7 +1579,7 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test "$ac_cv_path_ac_pt_DX_DOXYGEN" != ""])
# Handle .in files.
AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile doc/Makefile doc/Doxyfile tests/Makefile])
AC_CONFIG_FILES([tools/Makefile])
AC_CONFIG_FILES([
argparse/Makefile
tools/Makefile])
AC_CONFIG_FILES([tests/testReading.sh], [chmod +x tests/testReading.sh])
AC_CONFIG_FILES([tests/testActivePair.sh], [chmod +x tests/testActivePair.sh])
AC_CONFIG_FILES([tests/test27cells.sh], [chmod +x tests/test27cells.sh])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment