them in config.h where having spaces in path shouldnt matter. Removed
the old solution. Also removed the base source dir from searched
included paths because it's not needed (we only need base binary dir for
"config.h") and it was "hiding" the config.h from the out of source
build because #include saw a config.h (generated from an autotools
build) in the source dir first.
warnings for every function that could possibly be used in buffer
overflow conditions (just issue a warning for the whole language then if
you ask me...).
cmake create some empty directories not present in the source. Will
investigate further (needed for the various /var empty directories pvpgn
needs to make on install).
doesnt break anything and that now you properly get HAVE_SELECT and
friends and code from src/compat could me modified to not assume a lot
of stuff when WIN32 is present but just use the general HAVE_<function>
checks.
currently only tested with visual studio 8 (2005).
the bncdb tool is currently intentionally broken
as it was the only component relying on compat/pgetopt
(which has been removed due to serious problems building it).
I will fix this problem tomorrow and add a common/conf based
commandline parser similar to the one used in bnetd,d2cs and d2dbs.
easy to work with in non-POSIX enviroments than autotools. Still need to
add installation support for the targets (so you can use "make install")
and using sed to generate the config files.
Usage:
- autogen/configure become: "cmake /path/to/pvpgnsource"; only tested in
the current directory so far, so "cmake ."; out of source builds should
work too in theory
- make becomes: make (suprise!)
Will update docs with more instructions if we will use it after all.