7 Commits

Author SHA1 Message Date
Lefteris Kotsonis
f4fa4292eb fix duplicate target name in tests cmake 2020-11-05 21:38:59 +02:00
Austin McCartney
62e6506330 Travis, CDash, and CMake 3.14 warnings 2019-06-08 11:45:46 -06:00
Greg Beard
acfca0042e Adds a mio::mio_full_winapi target, which defines no WinAPI flags
The extra target doesn't `#define` any of `WIN32_LEAN_AND_MEAN`,
`NOMINMAX`. The default `mio::mio` adds both of these. This commit also
removes these defines from the `.*pp` files; they're now inserted by the
compile commands.
2018-10-19 07:21:34 +01:00
Greg Beard
77125df199 Fixes missing test file
For an earlier PR (#16), I introduced a new test file for testing
unicode support on Windows. The project's `.gitignore` file excludes the
entire test directory, so it was missed out. Turns out that this test
file wasn't actually needed, but the CMake config still uses it. This
commit just changes this back to the original `test.cpp` file.
2018-10-18 17:09:19 +01:00
Greg Beard
5655910e73 Removes superfluous compile flags 2018-10-18 13:17:47 +01:00
Greg Beard
0082811090 Changes Windows version to directly use CreateFileA
`CreateFile` is `#define`d as `CreateFileW` in unicode builds (when `/D
UNICODE` is defined). This is probably more likely to be a issue when
integrating into GUI projects.

This commit allows compilation to succeed when `UNICODE` has been
defined and adds a note to the README, explicitly stating that mio
doesn't support wide char string types as parameters.
2018-10-18 13:01:55 +01:00
Austin McCartney
d5f411e304 Added missing CMake file and added exception to .gitignore 2018-10-16 17:31:36 -06:00