Skip to content
Snippets Groups Projects
Commit 9e7685ac authored by Klaas Kliffen's avatar Klaas Kliffen :satellite: Committed by Mark de Wever
Browse files

CWG-10 Skeleton C++.

parent 87b77824
No related branches found
No related tags found
1 merge request!1CWG-10 Skeleton C++.
// Copyright (C) ASTRON (Netherlands Institute for Radio Astronomy)
// SPDX-License-Identifier: Apache-2.0
#include "hello.hpp"
int main(int, const char **) { lib::Hello(); }
# Copyright (C) ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: Apache-2.0
find_package(
Boost
COMPONENTS unit_test_framework
REQUIRED)
add_executable(unittests main.cpp hello.cpp)
target_link_libraries(unittests PRIVATE hello Boost::unit_test_framework)
add_test(
NAME unittests
COMMAND unittests -f JUNIT -k unittests.xml
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIRECTORY}")
// Copyright (C) ASTRON (Netherlands Institute for Radio Astronomy)
// SPDX-License-Identifier: Apache-2.0
#include "hello.hpp"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(hello)
BOOST_AUTO_TEST_CASE(hello) { lib::Hello(); }
BOOST_AUTO_TEST_SUITE_END()
// Copyright (C) ASTRON (Netherlands Institute for Radio Astronomy)
// SPDX-License-Identifier: Apache-2.0
#define BOOST_TEST_MODULE DP3
#include <boost/test/unit_test.hpp>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment