mirror of https://github.com/aminya/setup-cpp.git
chore: add cmake for the tests
This commit is contained in:
parent
9a1ed094b0
commit
3883a177d6
|
|
@ -22,3 +22,5 @@ coverage
|
|||
.turbo
|
||||
|
||||
/src/llvm/assets/
|
||||
|
||||
/build
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
cmake_minimum_required(VERSION 3.21...3.28)
|
||||
|
||||
project(
|
||||
setup_cpp_tests
|
||||
VERSION 0.46.2
|
||||
DESCRIPTION "Tests for setup-cpp"
|
||||
HOMEPAGE_URL "https://github.com/aminya/setup-cpp"
|
||||
LANGUAGES CXX C)
|
||||
|
||||
add_subdirectory("./dev/cpp_vcpkg_project")
|
||||
|
||||
add_executable(test_gcc ./src/gcc/__tests__/main.cpp)
|
||||
target_compile_features(test_gcc PRIVATE cxx_std_17)
|
||||
|
||||
add_executable(test_llvm ./src/llvm/__tests__/main.cpp)
|
||||
target_compile_features(test_llvm PRIVATE cxx_std_17)
|
||||
Loading…
Reference in New Issue