Skip to content

Commit

Permalink
Fix the demo so that it compiles with new instructions
Browse files Browse the repository at this point in the history
and add explanations for the VAL3DITY_USE_INTERNAL_DEPS new option
  • Loading branch information
hugoledoux committed Oct 28, 2024
1 parent c93f5fb commit e29a4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo_lib/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "val3dity.h"
#include "nlohmann-json/json.hpp"
#include "nlohmann/json.hpp"

#include <iostream>
#include <fstream>
Expand Down
4 changes: 3 additions & 1 deletion demo_lib/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The API reads `const char*` for XML data ([IndoorGML](http://indoorgml.net/) inp

```cpp
#include "val3dity.h"
#include "nlohmann-json/json.hpp"
#include "nlohmann/json.hpp"

#include <fstream>

Expand Down Expand Up @@ -58,6 +58,8 @@ int main(int argc, char *argv[])
1. `make`
1. `./myprogram`
You can also use the option `VAL3DITY_USE_INTERNAL_DEPS=false` if you do not want to use the dependencies bundled with val3dity, see the `./thirdparty/` folder (nlohmann JSON, spdlog, pugixml, tclap).
## Parameters
Expand Down

0 comments on commit e29a4a5

Please sign in to comment.