We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4092 - [patch] CMake support for building everything in the "test" directory
Summary: [patch] CMake support for building everything in the "test" directory
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-23 07:06 UTC by Eric Wasylishen
Modified: 2018-02-24 17:00 UTC (History)
0 users

See Also:


Attachments
cmake patch (6.27 KB, patch)
2018-02-23 07:06 UTC, Eric Wasylishen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Wasylishen 2018-02-23 07:06:35 UTC
Created attachment 3180 [details]
cmake patch

Patch to support building the tests with cmake.
Disabled by default, use: "cmake .. -DSDL_TEST=YES" to enable the tests.

Tested on macOS 10.13 with the ninja, makefile, and Xcode generators, and Windows 10 with the Visual Studio 2017 generator.
Comment 1 Sam Lantinga 2018-02-24 17:00:14 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/e4d03d8733f3