Jay Berkenbilt
ff65e272a8
Fix printf formatting for newer msvc
...
Use autoconf rather than ifdefs to determine what format string to use
for long long.
2020-10-16 07:02:23 -04:00
Jay Berkenbilt
07da0039d3
Link with setargv or wsetargv with MSVC ( fixes #224 )
...
For wildcard expansion to work properly with the msvc binary, it is
necessary to link with setargv.obj or wsetargv.obj, depending on
whether wmain is in use.
2019-11-09 18:50:42 -05:00
Jay Berkenbilt
429ffcf397
Unicode main for Windows qpdf.cc
2019-01-17 11:43:56 -05:00
Jay Berkenbilt
e37ce85190
Clarify static vs. import library on Windows ( fixes #225 )
2018-08-14 16:57:37 -04:00
Jay Berkenbilt
e0ee307a19
Updates for newer Windows toolchain
2017-07-26 06:24:07 -04:00
Jay Berkenbilt
3c5e602a1e
Windows build (msvc): target Windows 5.0.1 (XP)
...
Without this, qpdf executables work only on Vista or newer.
Fixes #35
2014-06-07 17:16:50 -04:00
Jay Berkenbilt
88c29873e5
Add /FS flag (msvc) for parallel builds
2013-11-30 15:58:32 -05:00
Jay Berkenbilt
a11081085b
Handle warning flags better
...
Make --enable-werror work properly on msvc, handle extra warnings
flags for msvc in configure.ac instead of hardcoding into
make/msvc.mk, separate warnings flags into WFLAGS in autoconf.mk to
avoid duplication and to make it easier to override.
2013-03-04 16:45:15 -05:00
Jay Berkenbilt
c833295a39
Adjust Windows built to support 32-bit and 64-bit builds
...
Update the build to support new external-libs layout, and autoconf
options to specify windows word size. Split make_windows_releases
into multiple scripts.
2012-06-21 21:22:35 -04:00
Jay Berkenbilt
5d4cad9c02
ABI change: fix use of off_t, size_t, and integer types
...
Significantly improve the code's use of off_t for file offsets, size_t
for memory sizes, and integer types in cases where there has to be
compatibility with external interfaces. Rework sections of the code
that would have prevented qpdf from working on files larger than 2 (or
maybe 4) GB in size.
2012-06-20 15:20:26 -04:00
Jay Berkenbilt
b282fd818d
further tweaking of dll creation to deal with msys shell issues
...
git-svn-id: svn+q:///qpdf/trunk@1008 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 22:29:49 +00:00
Jay Berkenbilt
bc91aa2945
tweak shared library creation
...
git-svn-id: svn+q:///qpdf/trunk@1007 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 22:13:24 +00:00
Jay Berkenbilt
c9e5fe6f43
use revision - age on windows like on linux
...
git-svn-id: svn+q:///qpdf/trunk@1003 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 21:07:14 +00:00
Jay Berkenbilt
b84b698a17
add optimization to cl
...
git-svn-id: svn+q:///qpdf/trunk@881 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-23 03:44:51 +00:00
Jay Berkenbilt
96bc48a4e0
windows install fixes
...
git-svn-id: svn+q:///qpdf/trunk@858 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:42:09 +00:00
Jay Berkenbilt
1fc7c89cb4
revamp install targets
...
git-svn-id: svn+q:///qpdf/trunk@854 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:20:41 +00:00
Jay Berkenbilt
27ee889c0e
tweak dll stuff again
...
git-svn-id: svn+q:///qpdf/trunk@851 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-21 01:45:13 +00:00
Jay Berkenbilt
6c4ea673b3
remove pdb
...
git-svn-id: svn+q:///qpdf/trunk@798 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-12 02:13:04 +00:00
Jay Berkenbilt
4f1ce188de
working msvc configuration
...
git-svn-id: svn+q:///qpdf/trunk@778 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-11 01:02:08 +00:00
Jay Berkenbilt
444fab8f87
more build fixes
...
git-svn-id: svn+q:///qpdf/trunk@777 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-11 00:44:23 +00:00
Jay Berkenbilt
2b5ac676ed
generalize build
...
git-svn-id: svn+q:///qpdf/trunk@776 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-11 00:24:22 +00:00
Jay Berkenbilt
9e05a15d7b
windows fixes
...
git-svn-id: svn+q:///qpdf/trunk@775 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-11 00:13:28 +00:00
Jay Berkenbilt
64a890db2b
msvc -- not tested
...
git-svn-id: svn+q:///qpdf/trunk@774 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 22:58:41 +00:00