Skip to content
Snippets Groups Projects
Verified Commit f6dd0ec7 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: some formatting

parent ad95f046
No related branches found
No related tags found
1 merge request!3Better Error Handling and Logging
Pipeline #10863 failed
......@@ -31,15 +31,16 @@ variable.
### How to build on Windows
We use [Visual Studio 2019](https://visualstudio.microsoft.com/de/vs/features/cplusplus/) as compiler.
We use [cmake](https://cmake.org/download/) as build tool.
We use [Visual Studio 2019](https://visualstudio.microsoft.com/de/vs/features/cplusplus/)
as compiler. We use [cmake](https://cmake.org/download/) as build tool.
1. `mkdir build`
2. `cd build`
3. `conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD --build=missing --update`
4. `cmake -B . ..`
5. open ` libcaosdb.sln` with Visual Studio, change the buildtype to `Release` and build the project.
(You can open Tools/Command Line/Developer Command Prompt and execute `msbuild libcaosdb.sln /property:Configuration=Release`)
5. open ` libcaosdb.sln` with Visual Studio, change the buildtype to `Release`
and build the project. (You can open Tools/Command Line/Developer Command
Prompt and execute `msbuild libcaosdb.sln /property:Configuration=Release`)
## Unit Tests
......
......@@ -54,7 +54,12 @@ private:
std::unique_ptr<Entity> entity;
};
enum TransactionState { TS_INIT = 10, TS_EXECUTING = 20, TS_SUCCESS = 30, TS_ERROR = 40 };
enum TransactionState {
TS_INIT = 10,
TS_EXECUTING = 20,
TS_SUCCESS = 30,
TS_ERROR = 40
};
/**
* @brief Create a transaction via `CaosDBConnection.createTransaction()`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment