modified preferences, added debug macros
continuous-integration/drone/push Build encountered an error Details

opengl
yorick 3 years ago
parent 704945b00e
commit 498f2c4f40

15
.gitignore vendored

@ -72,4 +72,17 @@ cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
_deps
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix

@ -0,0 +1,4 @@
{
"cmake.sourceDirectory": "${workspaceFolder}/Sources/src/Visnode",
"cmake.configureOnOpen": false
}

Binary file not shown.

@ -1,6 +1,7 @@
set(thredweaver_source_files
threadweaver.cpp
threadweaver.hpp
debugging.hpp
)
MESSAGE(STATUS "building threadweaver")
add_library(threadweaver ${thredweaver_source_files})

@ -0,0 +1,9 @@
#include <iostream>
#include <string>
#define DBGMODE
#define DBGPRINT(x) do { \
if (DBGMODE) { std::cerr << x << std::endl; } \
} while (0)

@ -1,5 +1,6 @@
#include <thread>
#include <vector>
#include "./debugging.hpp"
//main thread manager
class Threadweaver{

Loading…
Cancel
Save