aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Fix flaky build on WindowsDavid Robillard1-0/+2
2020-12-11Make demo programs work from any directory, and install themDavid Robillard1-8/+25
2020-12-01Add clipboard testDavid Robillard1-0/+1
2020-12-01Enable test coverage in debug buildsDavid Robillard1-0/+5
2020-11-26Generate documentation with SphinxDavid Robillard1-5/+13
2020-11-25Pass vkGetInstanceProcAddr to puglCreateSurface instead of a loaderDavid Robillard1-0/+1
This allows puglCreateSurface() to be used with some other loader, or when linking to Vulkan at compile time.
2020-11-01Run clang-tidy on all headers and fix various issuesDavid Robillard1-1/+7
It's a nightmare trying to get this thing to check everything.
2020-10-30Clean up installed man pagesDavid Robillard1-1/+4
2020-10-30Make C++ bindings a separate packageDavid Robillard1-8/+35
2020-10-30Move C++ bindings to a separate directoryDavid Robillard1-4/+6
This seemed messy and potentially misleading for what is fundamentally a C++ library. It also makes it possible to set separate clang-tidy and clang-format settings for each to avoid "tainting" the C settings, though currently the headers use the same checks.
2020-10-30Move implementation source files to a conventional src directoryDavid Robillard1-30/+19
I think this attempt to be optionally header-only was misguided, particularly installing source code to the system include path. Typically anyone vendoring code just includes the repository and builds from there anyway. This commit moves all the implementation code to a typical src directory (Don't Be Weird). I still think there is some value in simple "inline" deployment, but that would be better achieved another way, like producing a single-file amalgamation that builds anywhere, ala sqlite.
2020-10-28Add Vulkan demosDavid Robillard1-0/+73
2020-10-26Add Vulkan backendsDavid Robillard1-1/+39
2020-10-21Check all implementation files with IWYUDavid Robillard1-2/+6
2020-10-21Fix building with clang on WindowsDavid Robillard1-1/+6
2020-10-21Add no-cxx configure optionDavid Robillard1-4/+6
2020-10-21Fix Cairo backend compilation on WindowsDavid Robillard1-1/+2
2020-10-21Move includes to a separate directoryDavid Robillard1-21/+25
This is more conventional and directories named "include" are specially understood by some tooling like clang-tidy.
2020-10-21Check pugl.hpp and pugl.ipp with IWYUDavid Robillard1-1/+3
Apparently include-what-you-use only checks corresponding ".h" files by default.
2020-10-20Split stub backends into separate filesDavid Robillard1-1/+10
This makes things more consistent between platforms and backends.
2020-10-19Gracefully handle puglRealize() being called twiceDavid Robillard1-0/+1
2020-10-19Cleanup: Fix redundancy in test listsDavid Robillard1-2/+10
2020-10-18Cleanup: Fix long lineDavid Robillard1-1/+1
2020-10-16Only build header warning test in strict modeDavid Robillard1-38/+40
2020-10-14Suppress fewer MSVC warnings in header testDavid Robillard1-4/+0
2020-10-14Suppress MSVC warnings in header compile testDavid Robillard1-0/+12
2020-10-14Explicitly declare all special methodsDavid Robillard1-4/+0
2020-10-04Suppress warnings in release buildsDavid Robillard1-1/+8
2020-10-04Add refresh rate hintDavid Robillard1-5/+12
2020-10-04Add puglGetViewHint()David Robillard1-4/+20
This allows retrieving properties of the view that may be needed, such as the actual bit depth (which may vary from the suggested depth provided as a hint).
2020-09-21Fix library names in pkg-config filesDavid Robillard1-0/+1
2020-07-05Ensure that all API headers are warning-freeDavid Robillard1-0/+31
2020-07-05Update autowafDavid Robillard1-8/+5
2020-07-04Use more precise warning flagsDavid Robillard1-8/+16
This only enables warnings for C or C++ as necessary, to minimize the nubmer of suppressed warnings.
2020-07-04Only enable MSVC C++ warnings when compiling C++ codeDavid Robillard1-6/+8
2020-07-04Clean up and strengthen warning flagsDavid Robillard1-35/+63
2020-07-02Mac: Disable Wno-direct-ivar-accessDavid Robillard1-1/+2
This should probably be fixed as well, but that seems like quite a boilerplate project, so just disable it for now.
2020-07-02Fix werror with clang and deprecation warnings on MacDavid Robillard1-5/+7
2020-07-02Disable function type cast warnings with MinGWDavid Robillard1-0/+2
Unfortunately doing this is necessary to use modern GL on Windows.
2020-07-02Strengthen lint targetDavid Robillard1-19/+66
2020-07-02Fix check for clangDavid Robillard1-1/+1
2020-06-13Add puglSetCursor()Jean Pierre Cimalando1-1/+8
2020-06-13Disable implicit-fallthrough warning with clangDavid Robillard1-0/+1
Unfortunately clang does not support the comment syntax (but instead requires non-portable attribute gunk), so just disable it since this is covered by GCC anyway.
2020-06-13Cleanup: Fix flake8 warningsDavid Robillard1-3/+6
2020-04-19Set library environment for building against local PuglDavid Robillard1-1/+12
2020-04-19Disable pedantic warnings only for shader demo (for GLAD)David Robillard1-1/+4
2020-04-19Set library flags on targets only instead of globallyDavid Robillard1-10/+14
2020-04-19Clean up Mac flagsDavid Robillard1-5/+2
2020-04-19Only set custom warnings flags with ultra-strict configurationDavid Robillard1-1/+1
2020-04-19Add major version to library namesDavid Robillard1-2/+2