diff --git a/.gitignore b/.gitignore index 34f5764f..b8172a1c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ Luna.iso toolchain/ -.vscode/ build/ initrd/boot/moon env-local.sh diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..c40fe288 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,13 @@ +{ + "configurations": [ + { + "name": "Luna", + "compilerPath": "${workspaceFolder}/toolchain/x86-64-luna/bin/x86_64-luna-gcc", + "cStandard": "c17", + "cppStandard": "c++20", + "intelliSenseMode": "gcc-x64", + "configurationProvider": "ms-vscode.cmake-tools" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..133694f8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.formatOnSave": true, + "editor.defaultFormatter": "xaver.clang-format" +} \ No newline at end of file diff --git a/luna/CMakeLists.txt b/luna/CMakeLists.txt index 7583fc4b..4d8be399 100644 --- a/luna/CMakeLists.txt +++ b/luna/CMakeLists.txt @@ -1,6 +1,9 @@ # The miscellaneous library shared between the Luna kernel and userspace, with stuff such as custom types, common routines and data structures. +file(GLOB HEADERS include/luna/*.h) + set(FREESTANDING_SOURCES + ${HEADERS} src/Format.cpp src/NumberParsing.cpp src/CString.cpp