]> granicus.if.org Git - curl/commit
CMake: Don't build unit tests if private symbols are hidden
authorJakub Zakrzewski <slither.jz@gmail.com>
Sun, 4 Sep 2016 10:58:35 +0000 (12:58 +0200)
committerJakub Zakrzewski <slither.jz@gmail.com>
Fri, 9 Sep 2016 22:35:38 +0000 (00:35 +0200)
commit257bf3ac67eb6267c6185af79247daf0c8d744d6
tree8846a90cba75d28c3d6f49210db787261d6534f6
parent6140dfcf3e7845f11dee755de6865379aa96dab7
CMake: Don't build unit tests if private symbols are hidden

This only excludes building unit tests from default build ( 'all' Make
target or "Build Solution" in VisualStudio). The projects and Make
targets will still be generated and shown in supporting IDEs.

Fixes https://github.com/curl/curl/issues/981
Reported-by: Randy Armstrong
Closes https://github.com/curl/curl/pull/990
tests/unit/CMakeLists.txt