mirror of
https://github.com/JHUAPL/kami.git
synced 2026-01-09 14:58:02 -05:00
Remove template cruft
This commit is contained in:
@@ -4,26 +4,26 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.13.0 FATAL_ERROR)
|
||||
|
||||
create_test( NAME test-foo.cat # Name for the unit test
|
||||
SOURCES # The sources that will be compiled [optional]
|
||||
unit-foo.cat.cpp
|
||||
PUBLIC_LINKED_TARGETS # The targest that need to be linked to this unit test [optional]
|
||||
foo::cat
|
||||
${COVERAGE_LIBS}
|
||||
COMMAND # The command to be called.
|
||||
test-foo.cat
|
||||
PUBLIC_COMPILE_FEATURES
|
||||
${COVERAGE_FLAGS}
|
||||
)
|
||||
|
||||
create_test( NAME test-foo.bar # Name for the unit test
|
||||
SOURCES # The sources that will be compiled [optional]
|
||||
unit-foo.bar.cpp
|
||||
PUBLIC_LINKED_TARGETS # The targest that need to be linked to this unit test [optional]
|
||||
foo::bar
|
||||
${COVERAGE_LIBS}
|
||||
COMMAND # The command to be called.
|
||||
test-foo.bar
|
||||
create_test( NAME
|
||||
unit-kami-agentid
|
||||
SOURCES
|
||||
unit-kami-agentid.cpp
|
||||
PUBLIC_LINKED_TARGETS
|
||||
kami::kami
|
||||
${COVERAGE_LIBS}
|
||||
COMMAND
|
||||
unit-kami-agentid
|
||||
PUBLIC_COMPILE_FEATURES
|
||||
${COVERAGE_FLAGS}
|
||||
)
|
||||
${COVERAGE_FLAGS})
|
||||
|
||||
create_test( NAME
|
||||
unit-kami-agent
|
||||
SOURCES
|
||||
unit-kami-agent.cpp
|
||||
PUBLIC_LINKED_TARGETS
|
||||
kami::kami
|
||||
${COVERAGE_LIBS}
|
||||
COMMAND
|
||||
unit-kami-agent
|
||||
PUBLIC_COMPILE_FEATURES
|
||||
${COVERAGE_FLAGS})
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#include <foo/bar/bar.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
foo::bar();
|
||||
return 0;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
#include <foo/cat/cat.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
foo::cat C;
|
||||
C.call_bar();
|
||||
return 0;
|
||||
}
|
||||
7
test/unit-kami-agent.cpp
Normal file
7
test/unit-kami-agent.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <kami/agent.hpp>
|
||||
|
||||
int main() {
|
||||
kami::Agent agent;
|
||||
agent.step();
|
||||
return 0;
|
||||
}
|
||||
5
test/unit-kami-agentid.cpp
Normal file
5
test/unit-kami-agentid.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <kami/agent.hpp>
|
||||
|
||||
int main(void) {
|
||||
kami::AgentID agentid;
|
||||
}
|
||||
Reference in New Issue
Block a user