diff --git a/.gitignore b/.gitignore index 87109a8..35c2493 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ /.settings /.classpath /.project -/.vscode /shared-folder /shared-folder/** /src/main/c/lib/** \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..a6b7cdf --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,22 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "${workspaceFolder}/**", + "C:/Program Files/Eclipse Adoptium/jdk-17.0.10.7-hotspot/include/**" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "windowsSdkVersion": "10.0.19041.0", + "compilerPath": "C:/Program Files/w64devkit/bin/gcc.exe", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "windows-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c295062 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "configurations": [ + { + "type": "java", + "name": "Launch Java Program", + "request": "launch", + "mainClass": "electrosphere.Main", + "vmArgs": "-Djava.library.path=./shared-folder" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..46eb8be --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,18 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic", + "files.associations": { + "stdio.h": "c", + "jni.h": "c", + "immintrin.h": "c", + "stdint.h": "c", + "utilities.h": "c", + "chunkmask.h": "c", + "pthread.h": "c", + "semaphore.h": "c", + "libfluidsim.h": "c", + "stb_ds.h": "c", + "threadpool.h": "c", + "electrosphere_fluidsim.h": "c", + "type_traits": "c" + } +} \ No newline at end of file