Skip to content

Commit b665782

Browse files
committed
init cmake project
0 parents  commit b665782

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CMake
2+
cmake-build-*/
3+
build/
4+
cbuild/

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
project(gtest_coverage)
3+
4+
set(CMAKE_CXX_STANDARD 20)
5+
6+
add_executable(gtest_coverage main.cpp)

main.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include <iostream>
2+
3+
int main() {
4+
std::cout << "Hello, World!" << std::endl;
5+
return 0;
6+
}

0 commit comments

Comments
 (0)