From 014752f4f8cec04392868531a51bc486dcd4ecf9 Mon Sep 17 00:00:00 2001 From: Shuzhengz Date: Wed, 3 Aug 2022 13:37:40 -0700 Subject: [PATCH] setup --- .gitignore | 4 ++++ CMakeLists.txt | 6 ++++++ library.cpp | 2 ++ library.hpp | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 library.cpp create mode 100644 library.hpp diff --git a/.gitignore b/.gitignore index 259148f..20b9ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,7 @@ *.exe *.out *.app + +# Application Specific +.idea/ +cmake-build-debug/ diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..cbe4666 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.23) +project(JEC_cpp) + +set(CMAKE_CXX_STANDARD 14) + +add_library(JEC_cpp library.cpp) diff --git a/library.cpp b/library.cpp new file mode 100644 index 0000000..4059bdf --- /dev/null +++ b/library.cpp @@ -0,0 +1,2 @@ +#include "library.hpp" + diff --git a/library.hpp b/library.hpp new file mode 100644 index 0000000..015843d --- /dev/null +++ b/library.hpp @@ -0,0 +1,10 @@ +#ifndef JEC_CPP_LIBRARY_HPP +#define JEC_CPP_LIBRARY_HPP + +class Config {}; + +class ConfigFile {}; + +class ConfigDir {}; + +#endif //JEC_CPP_LIBRARY_HPP