Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/m-heim/Npc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-heim committed Jul 31, 2022
2 parents df082b8 + ea15997 commit 70d5d9d
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
*.o
build/*
!build/test_program.npc
!build/CMakeLists.txt
build
.cache
27 changes: 22 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,29 @@
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/build/npc",
"args": ["-d", "src/test_program.npc"],
"cwd": "${workspaceFolder}"
}
"args": ["--lexer-debug", "parser-debug", "../programs/simple_test_program.npc"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "CMake: build"
},
]
}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"author",
"date",
"version"
]
],
"cmake.sourceDirectory": "${workspaceFolder}/src",
"cmake.configureOnOpen": true,
"C_Cpp.intelliSenseEngine": "Disabled"
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cmake",
"label": "CMake: build",
"command": "build",
"targets": [
"all"
],
"group": "build",
"problemMatcher": [],
"detail": "CMake template build task"
},
{
"type": "shell",
"label": "generate doc",
"command": "sh ${workspaceFolder}/documentation/make_doc.sh",
}
]
}
3 changes: 2 additions & 1 deletion documentation/make_doc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rm refman.pdf
cd $(dirname "$0")
rm -f refman.pdf
doxygen doxygen.conf
cd latex
make
Expand Down
Binary file modified documentation/refman.pdf
Binary file not shown.

0 comments on commit 70d5d9d

Please sign in to comment.