Remove 'test' target in CMake files

Issue #428 resolved
Prof Garth Wells created an issue

Target test leads to CMake 3 warning:

CMake Warning (dev) at CMakeLists.txt:999 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "test" is reserved or not valid for certain CMake features,
  such as generator expressions, and may result in undefined behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

Comments (3)

  1. Log in to comment