commit 34754a713077fbcc616993546b94acc87381e3ed Author: Atreya Bain Date: Tue Sep 29 20:45:00 2020 +0530 Add hello diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..307433c --- /dev/null +++ b/.gitignore @@ -0,0 +1,46 @@ +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +build/ + +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0db5873 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cmake.configureOnOpen": true +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..057fe38 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION 3.17) + +project(bfc) + +# specify the C++ standard +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED True) + + +set(SOURCES + src/main.cpp +) + +add_executable(main.out ${SOURCES}) + +target_include_directories(main.out + PRIVATE + ${PROJECT_SOURCE_DIR}/include +) diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..ac361c8 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,5 @@ +#include + +int main(){ + std::cout<<"Hello World"<