This is useful so we can at least check that it compiles on
Windows. We don't bother fixing the tests or testing infra (as has
been done in 1.4 branch) as we expect most development to happen
there. The CMake files will not be included in the distrubution and
are used for development/testing only.
This allows the following in post the c++11 world:
```
tclap::ValueConstraint<std::string> constraints({"foo", "bar"});
```
instead of
```
std::vector<std::string> constraint_choices({"foo", "bar"});
tclap::ValueConstraint<std::string> constraints(constraint_choices);
```
Script to be called from pre-commit hook to make sure any new test
files were added to Makefile.am
Example pre-commit hook (in .git/hooks):
function pyhook {
CMD="./scripts/$1.py"
$CMD
local status=$?
if [ $status -ne 0 ]; then
echo
echo "Pre-commit failed"
exit 1
fi
}
pyhook check_tests_enabled
Code would not compile with HAVE_STRSTREAM defined.
Code would not compile without HAVE_CONFIG_H defined (unless
-DHAVE_STRSTREAM or -DHAVE_SSTREAM was specified).
Code would not compile with HAVE_CONFIG_H defined if config.h did not
also define HAVE_SSTREAM.
This patch moves annoying logic for sstream/strstream logic to it's
own file and fixes the above mentioned issues.
https://sourceforge.net/p/tclap/bugs/23/
The test was failing because elipsis changed from "..." to
"... ". This is a quick and dirty fix and should be cleaned up.
Also updated copyright notice
# Conflicts:
# tests/test85.out
# tests/test85.sh
Code would not compile with HAVE_STRSTREAM defined.
Code would not compile without HAVE_CONFIG_H defined (unless
-DHAVE_STRSTREAM or -DHAVE_SSTREAM was specified).
Code would not compile with HAVE_CONFIG_H defined if config.h did not
also define HAVE_SSTREAM.
This patch moves annoying logic for sstream/strstream logic to it's
own file and fixes the above mentioned issues.
https://sourceforge.net/p/tclap/bugs/23/