Skip to content

Commit

Permalink
added project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
iamAbhishekkumar committed Oct 6, 2024
1 parent 42007eb commit 637ae6e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
*.exe
*.out
*.app
build/
19 changes: 19 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.30)
project(gitlite)

# Set C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

include_directories(include)

set(SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
file(GLOB SOURCES ${SRC_DIR}/*.cpp)

add_executable(gitlite ${SOURCES})

# target_link_libraries()
# Link libraries for testing (for example, if using GoogleTest)
# find_package(GTest REQUIRED)
# target_link_libraries(demo_test GTest::GTest GTest::Main)

3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include <iostream>
using namespace std;
int main() {}
Empty file added tests/unit_tests.cpp
Empty file.

0 comments on commit 637ae6e

Please sign in to comment.