rename tests -> examples (#18)

This commit is contained in:
Lars Melchior
2019-04-15 17:54:53 +02:00
committed by GitHub
parent 923265e7ae
commit d3d8a6ab4f
5 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(CPMTest)
# add dependencies
include(${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/CPM.cmake)
CPMAddPackage(
NAME LarsParser
GIT_REPOSITORY https://github.com/TheLartians/Parser.git
VERSION 1.7
)
# add executable
set (CMAKE_CXX_STANDARD 17)
add_executable(cpm-test test.cpp)
target_link_libraries(cpm-test LarsParser)
# tests
enable_testing()
add_test(cpm-test cpm-test)