Tom G. Huang
71550cf30c
fix: Remove unnecessary -Dargtable3_IMPORTS
With target_compile_definitions(argtable3 INTERFACE argtable3_IMPORTS)
in src/CMakeLists.txt, we no longer have to explicitly specify
-Dargtable3_IMPORTS.
5 years ago
Tom G. Huang
b906967ef7
Merge pull request #38 from myd7349/fix-cmake-build
fix(cmakelists): Improve CMakeLists.txt
5 years ago
Tom G. Huang
7bcfc82254
Merge branch 'master' into fix-cmake-build
5 years ago
Tom G. Huang
9ca79594be
doc: Describe how to build and test configurations on all platforms
5 years ago
Tom G. Huang
336b59924d
fix: Has a typo in the tag name format
5 years ago
Tom G. Huang
f4cbd3bd96
doc: Show how to run CMake and CTest commands to build and test
5 years ago
Tom G. Huang
f64f687d6e
fix: MSVC Release builds have compiler warnings
5 years ago
Tom G. Huang
6b88169688
fix: Only include tests when we enable ARGTABLE3_ENABLE_TESTS
5 years ago
Tom G. Huang
465fd5669a
chore: Add more ignored directories
5 years ago
Tom G. Huang
09d011d604
fix: VS2019 complains __cplusplus undefined
5 years ago
tomghuang@gmail.com
78b79ece2b
fix: Fix MacOSX compiler and cmake warnings
5 years ago
Tom G. Huang
57febf80ff
fix: Resolve VC and MinGW compiler errors and warnings
These compiler errors and warnings appear because of the more strict
compiler options, which force us to be more ISO C90 compliant.
5 years ago
Tom G. Huang
627cc20ef4
fix: MSYS2 MINGW64 complains C++ comment and unknown pragma
5 years ago
Tom G. Huang
83e637cbc9
fix: Should reset parent->count after the for loop
5 years ago
Tom G. Huang
86dc67f214
Merge pull request #41 from oopsmonk/fix_arg_str
Fix the reset function in arg_str
5 years ago
Sam Chen
230bb6fa61
set empty string in reset function.
5 years ago
myd7349
0197d40a5e
fix(cmakelists): Improve CMakeLists.txt
- Fix MSVC build failure caused by unsupported compiler flags
- Install DLL file
- Set INTERFACE_INCLUDE_DIRECTORIES properly
- Do not build tests when ARGTABLE3_ENABLE_TESTS is OFF
- Discard ARGTABLE3_INSTALL_LIBDIR, ARGTABLE3_INSTALL_INCLUDEDIR
- Define argtable3_IMPORTS for Win32 shared library
5 years ago
Tom G. Huang
bbc4ec2099
Merge pull request #37 from hzeba/master
Added a new function arg_dstr_catc() for appending char types
5 years ago
Hrvoje Zeba
cbedb2a691
Respect coding standard
5 years ago
Hrvoje Zeba
ad4101beb3
Text longer than colwidth wasn't cutoff at whitespace boundary as intended
5 years ago
Hrvoje Zeba
070411f5ab
Added a new function arg_dstr_catc for appending char
types and use it in arg_print_formatted_ds()
5 years ago
Tom G. Huang
df2daad421
Merge pull request #35 from unmanned-player/master
Make argtable3 ANSI-C
5 years ago
Unmanned Player
d36fd36bea
Remove -Werror.
The older compiler (4.9.4) in Travis doesn't seem to recognise
`-Wno-discarded-qualifiers`. Removed it and along with it removed
-Werror too.
5 years ago
Unmanned Player
617fbd2f66
Make argtable3 ANSI-C.
Added some C flags and adjusted code to make argtable3 as much ANSI-C
compatible as possible.
5 years ago
Tom G. Huang
f9862aabcc
Merge pull request #33 from fenglc/master
redefine ARGTABLE3_INSTALL_CMAKEDIR
5 years ago
fenglc89
3b19b8b6e5
redefine ARGTABLE3_INSTALL_CMAKEDIR
6 years ago
Tom G. Huang
7a62d1a1cd
Merge pull request #31 from unasuke/executable-tools-build
Assign execute permission to tools/build
6 years ago
Yusuke Nakamura
4ec94f1237
Assign execute permission to tools/build
We should run tools/build to generate amalgamation source code
but that script has no execute permission.
It's a bit consuming to "chmod +x"
6 years ago
Tom G. Huang
1b3e481156
chore: Add Travis CI status image
6 years ago
Tom G. Huang
ee9a572369
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
04a84f6a34
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
500004b4b9
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
c56152bba0
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
3194f74231
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
924b5922e7
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
1ec44608ff
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
aadc92c144
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
0e76f5bc04
fix: Travis CI failed to run Conan package manager
6 years ago
Tom G. Huang
9ccdf04796
fix: Fail to build Conan package
6 years ago
Tom G. Huang
bb37058d3f
chore: Update README and the root Makefile for the latest build system
6 years ago
Tom G. Huang
432a160539
test: Add tests for all library types
With the new CMake script, we can generate four types of library:
shared, static, original source, and amalgamation source. We add tests
to make sure all library types can work correctly.
6 years ago
Tom G. Huang
53de1bdad7
fix: Space typo
6 years ago
Tom G. Huang
5165b42904
feat: Add version information to shared library
6 years ago
Tom G. Huang
89e3670302
chord: Remove manually created Makefiles
6 years ago
Tom G. Huang
8a808e3124
chord: Add copyright notice of the libraries used in argtable3
6 years ago
Tom G. Huang
afaa52b266
feat: Add Windows DLL library
6 years ago
Tom G. Huang
410a6ce55a
feat: Add static library and make examples link to libraries
We can use CMake ARGTABLE3_BUILD_STATIC_EXAMPLES option to choose
either the static or dynamic library in the UNIX environment.
6 years ago
Tom G. Huang
60e1dc3656
Merge branch 'master' of https://github.com/argtable/argtable3
6 years ago
Tom G. Huang
24af833794
fix: Adapt CMake scripts to new project file structure
We've also solved several issues related to Linux/Windows build errors.
The CMake script can generate the amalgamation distribution, and we can
choose whether to use the amalgamation or not.
6 years ago
Tom G. Huang
14f19ae091
Update README.md
6 years ago