Commit Graph

14 Commits

Author SHA1 Message Date
yhirose
5ef7180a12 Update CMake related files 2024-06-17 13:03:53 -04:00
yhirose
0aec248de3 Changed to use gtest 2021-08-19 02:29:11 -04:00
yhirose
b26e2477ff C++17 support 2020-11-09 13:18:38 -05:00
Xinzhao Zhu
f58fd19f52 Use CMake's Threads library to provide '-pthread` for Linux
For linux platform, we may use the Threads library to provide
the option `-pthread` when the program uses multiple thread. This
solution is portable for WSL2/Linux and other disturbuiton.
2020-05-17 22:55:56 +08:00
bnjf
6137e2a340
Fix "terminate called after throwing an instance of 'std::system_error'"
This is a re-fix.  The missing pthread lib was fixed in 469a61f044, but then unfixed in 06fc879371.
2020-04-25 00:52:03 +10:00
yhirose
1a40e539d1 Updated cmake files 2020-01-24 22:54:03 -05:00
yhirose
06fc879371 Removed server mode from peglint and updated documentation 2019-02-09 08:55:28 -05:00
yhirose
469a61f044 Fixed 'std::call_once' crash problem with peglint on Ubuntu. 2018-09-01 16:05:00 +00:00
Yuji Hirose
91bf45b7d4 Fix #45 2018-08-30 13:34:09 -04:00
yhirose
15a08da1b2 Updated peglint and added peglint documentation 2018-08-03 23:47:25 -04:00
hvellyr
f98f8697c6 Add test support for windows MSVC 2015 on appveyor
- build the code with source and execution charset set to utf-8 (required
  for unicode chars in the source code)

- Example/culebra/linenoise.hpp requires being build with UNICODE on windows

  The WIN32 part of that code actually is written against wchar support
  only (e.g. wsprintf, wcstol, ...); but some pieces requires the UNICODE def
  being set explicitely (e.g. GetEnvironmentVariable).

- don't build lint and language subfolders on windows at all (for now)
2016-06-07 11:51:12 +02:00
hvellyr
c3c6037241 Enhance CMake files to set warning level high(er) and set C++14 flags 2016-06-01 16:27:23 +02:00
hvellyr
b031727fa2 Cmake 2.8 is more than sufficient
... for the purposes of this project and makes testing on older
platforms easier.  In addition travis-ci has by default only cmake
2.8.
2016-06-01 16:27:23 +02:00
yhirose
69ede706f0 Fixed build errors. Switched to CMake build system completely. 2015-11-30 17:26:06 -05:00