Commit graph

6 commits

Author SHA1 Message Date
nicolas
335c8eee9c Add scons build to appveyor builds
This will guarantee we can build hammer with default arguments
2016-05-22 13:56:17 +02:00
Nicolas Léveillé
f9d8f1df7f Reactivate examples that can build on windows
This is proof that Hammer can be linked and used in a windows
program!
2016-01-31 18:11:27 +01:00
Nicolas Léveillé
a02045b44e Remove now unneeded workaround
The workaround would now cause build failures in Appveyor as seem to
have pre-emptively applied it to their environments.

I'm not too happy about their handling of the issue. Seems fiddly.

Anyway this commit is now required to build on Appveyor.
2015-09-22 10:16:53 +02:00
Nicolas Léveillé
e0a41a85fc Add workaround for VS2015 so that appveyor works
It seems Appveyor's images have been changed. The builds could not
find standard library headers anymore.

It seems to be an interaction between MS' scripts and the Windows
Driver Kit that is installed there.

One way to disable this interaction is to rename the `wdf` folder to
some other name.

See:
- http://stackoverflow.com/questions/31862627/vs2015-cl-cant-find-crt-libs-stido-h-ctype-h-etc-when-building-on-command-l
- http://help.appveyor.com/discussions/problems/3062-problem-with-new-updates-visual-studio-2015-and-cmake
- https://github.com/appveyor/ci/issues/414
2015-09-20 17:16:43 +02:00
Nicolas Léveillé
226cad2ab2 Don't build all of Hammer on AppVeyor just now
Since the port is not finished yet, we remove some source files
and the compilation of examples.
2015-08-09 22:46:45 +02:00
Nicolas Léveillé
be30820023 windows build: Add build scripts + appveyor.yml
In order to guarantee that Hammer can build on Windows, an appveyor.yml
and associated build scripts will build hammer and its examples. The idea
is that as soon as the appveyor.yml exists in the repository, pull
requests that would impede Windows portability would be immediately
detected.

The scripts expect CL.EXE to be in the path, and will produce their
results in build/

The highest level of warning is enabled on CL.EXE, minus warnings that
bring CL.EXE to a level that ressembles C99. The only notable warning
that was disabled is the one that tells you about implicit truncating
conversions.

Hammer's source code has quite a few implicit conversions say from a 64bit
unsigned integer to a integer of a lesser size (signed or otherwise)
2015-08-09 22:46:00 +02:00