Skip to content

Commit

Permalink
Updated with emscripten version
Browse files Browse the repository at this point in the history
  • Loading branch information
david.wustenhagen committed Feb 24, 2024
1 parent 5901486 commit ca0cc97
Show file tree
Hide file tree
Showing 94 changed files with 9,107 additions and 65,300 deletions.
21 changes: 21 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"C:/Users/dwtys/emsdk/upstream/emscripten/cache/sysroot/include/**",
"C:/msys64/mingw64/include/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"configurationProvider": "ms-vscode.makefile-tools",
"cStandard": "c23",
"intelliSenseMode": "windows-gcc-x64"
}
],
"version": 4
}
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": []
}
31 changes: 31 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"terminal.integrated.env.windows": {
"PATH": "${env:PATH}"
},

"files.associations": {
"stdio.h": "c",
"emscripten.h": "c",
"stdlib.h": "c",
"sdl_image.h": "c",
"string.h": "c",
"type_traits": "c",
"cmath": "c",
"compare": "c",
"limits": "c",
"new": "c",
"simulation.h": "c",
"css_profile.h": "c",
"system_error": "c"
},
"cmake.configureOnOpen": true,
"makefile.launchConfigurations": [
{
"cwd": "C:\\Users\\dwtys\\emscripten\\test",
"binaryPath": "C:\\Users\\dwtys\\emscripten\\test\\main.exe",
"binaryArgs": []
}
],
"makefile.clearOutputBeforeBuild": false

}
54 changes: 54 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: gcc.exe build active file",
"command": "C:\\msys64\\mingw64\\bin\\gcc.exe",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe",
"-lgdi32",
"-lSDL2_ttf",
"-lSDL2",
"-lm",
"-lSDL2_image",
],
"options": {
"cwd": "C:\\msys64\\mingw64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
},
{
"type": "shell",
"label": "Emscripten build",
"command": "C:\\Users\\dwtys\\emsdk\\upstream\\emscripten\\emcc",
"args": [
"-sUSE_SDL=2",
"-v",
"-g",

"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.html"
],
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
Binary file removed 512Island.png
Binary file not shown.
Loading

0 comments on commit ca0cc97

Please sign in to comment.