From: Nils Forssén Date: Thu, 13 Jun 2024 18:40:57 +0000 (+0200) Subject: first init, working mavlink example X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=d340bc71b94f9961d0643428ea2a64da0aca5d13;p=flygplan.git first init, working mavlink example --- diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 8179d18..0f53064 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -out/ +build/ bin/ .vscode/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/CMakePresets.json b/CMakePresets.json deleted file mode 100644 index 869e79f..0000000 --- a/CMakePresets.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "version": 8, - "configurePresets": [ - { - "name": "client_toolchain", - "displayName": "Configure preset using toolchain file", - "description": "Sets Ninja generator, build and install directory", - "generator": "Ninja", - "binaryDir": "${sourceDir}/out/build/${presetName}", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "CMAKE_TOOLCHAIN_FILE": "", - "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" - } - } - ] -} \ No newline at end of file diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/build.sh b/build.sh index 195c2cb..823eb89 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/usr/bin/bash -cd $(dirname "$0")/out/build/client_toolchain +cd $(dirname "$0")/build +cmake -G Ninja .. ninja \ No newline at end of file diff --git a/include/test.h b/include/test.h old mode 100644 new mode 100755 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/src/main.cpp b/src/main.cpp old mode 100644 new mode 100755