You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TUNING.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,15 @@ Boost.Container (https://www.boost.org/doc/libs/release/libs/container) is being
28
28
29
29
As the used library is header-only implementation you only need to install the package on the system you build the binary on but not on the system you run the analysis on.
30
30
31
-
The official Windows binary is currently not using this (TODO: file ticket).
31
+
The official Windows binary is currently not using this - see https://trac.cppcheck.net/ticket/13823 for details.
32
32
33
-
(TODO: enable usage by default / bail out when it is enforced)
33
+
This will be used by default if Boost is detected in CMake. If you want to enforce the usage, you can use the CMake option `-DUSE_BOOST=On` which will cause the build to fail if no Boost was detected.
34
+
35
+
Using Visual Studio you need to provide a full Boost release (i.e. including binaries) for it to be detected by CMake. If you are not able to do this you can specify the CMake option `-DBOOST_INCLUDEDIR=<in>` (pointing to the directory which *contains* the `boost` include directory) to work around this (this is a Cppcheck specific hack) - see https://trac.cppcheck.net/ticket/13822 for more details.
36
+
37
+
If you are using `make` instead you need to specify `-DHAVE_BOOST` in the flags.
38
+
39
+
(TODO: document how to use with provided Visual Studio project)
0 commit comments