first init, working mavlink example
authorNils Forssén <forssennils@gmail.com>
Thu, 13 Jun 2024 18:40:57 +0000 (20:40 +0200)
committerNils Forssén <forssennils@gmail.com>
Thu, 13 Jun 2024 18:40:57 +0000 (20:40 +0200)
.gitignore [changed mode: 0644->0755]
CMakeLists.txt [changed mode: 0644->0755]
CMakePresets.json [deleted file]
README.md [changed mode: 0644->0755]
build.sh
include/test.h [changed mode: 0644->0755]
src/CMakeLists.txt [changed mode: 0644->0755]
src/main.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8179d18..0f53064
@@ -1,3 +1,3 @@
-out/
+build/
 bin/
 .vscode/
\ No newline at end of file
old mode 100644 (file)
new mode 100755 (executable)
diff --git a/CMakePresets.json b/CMakePresets.json
deleted file mode 100644 (file)
index 869e79f..0000000
+++ /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
old mode 100644 (file)
new mode 100755 (executable)
index 195c2cb61d81ca14aa7b92b3d633f34397b69deb..823eb898143685a62367291ef3c7a944e1a0cd68 100755 (executable)
--- 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
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)