From 02069472d962ff30496c1a02f0a53c70176078d1 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 27 Feb 2020 22:42:14 +0100 Subject: [PATCH] adding project files --- .gitignore | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ CMakeLists.txt | 5 ++++ main.c | 7 +++++ 3 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 main.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ed70a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,78 @@ +# This file is used to ignore files which are generated +# ---------------------------------------------------------------------------- + +pjc-0x02 +*.cmake +*.user +CMakeCache* +CMakeFiles* +*~ +*.autosave +*.a +*.core +*.moc +*.o +*.obj +*.orig +*.rej +*.so +*.so.* +*_pch.h.cpp +*_resource.rc +*.qm +.#* +*.*# +core +!core/ +tags +.DS_Store +.directory +*.debug +Makefile* +*.prl +*.app +moc_*.cpp +ui_*.h +qrc_*.cpp +Thumbs.db +*.res +*.rc +/.qmake.cache +/.qmake.stash + +# qtcreator generated files +*.pro.user* + +# xemacs temporary files +*.flc + +# Vim temporary files +.*.swp + +# Visual Studio generated files +*.ib_pdb_index +*.idb +*.ilk +*.pdb +*.sln +*.suo +*.vcproj +*vcproj.*.*.user +*.ncb +*.sdf +*.opensdf +*.vcxproj +*vcxproj.* + +# MinGW generated files +*.Debug +*.Release + +# Python byte code +*.pyc + +# Binaries +# -------- +*.dll +*.exe + diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..7a669ec --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +cmake_minimum_required(VERSION 3.5) + +project(pjc-0x02 LANGUAGES C) + +add_executable(pjc-0x02 main.c) diff --git a/main.c b/main.c new file mode 100644 index 0000000..059c5a0 --- /dev/null +++ b/main.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + printf("Hello World!\n"); + return 0; +}