init fsfw-from-zero

This commit is contained in:
Robin Müller 2022-09-02 08:39:20 +02:00
commit 05a272c0ff
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 28 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/build*
/cmake-build*

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "fsfw"]
path = fsfw
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw.git

15
CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 3.22.0)
# We can version our project using CMake
project(foo VERSION 0.1.0)
# Sometimes, a C++ project might require a certain C++ standard to build.
# The following directives make sure that the compiler supports the required
# standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# This adds a library target called "foo"
add_executable(fsfw-from-zero)
target_sources(fsfw-from-zero PRIVATE main.cpp)
# target_link_libraries(fsfw-from-zero PRIVATE fsfw)

1
fsfw Submodule

@ -0,0 +1 @@
Subproject commit eb8e236cd4f5aec692aba89eb004a8e3dd3d53fb

7
main.cpp Normal file
View File

@ -0,0 +1,7 @@
#include <iostream>
using namespace std;
int main() {
cout << "hello world!" << endl;
}