Skip to content

Commit

Permalink
Add test/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jun 21, 2024
1 parent f6f3623 commit 94f11c5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2018-2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt

include(BoostTest OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)

if(NOT HAVE_BOOST_TEST)
return()
endif()

set(BOOST_TEST_LINK_LIBRARIES Boost::stacktrace_basic Boost::core)

boost_test(TYPE run SOURCES test.cpp)
boost_test(TYPE run SOURCES test_noop.cpp)
boost_test(TYPE run SOURCES test_trivial.cpp)

0 comments on commit 94f11c5

Please sign in to comment.