cpptrace/test
Vittorio Romeo 0ddbbf43cb
Improve compilation times on Windows (#172)
Thank you for the very useful library!

Few improvements:
- Better header hygiene
- Isolate `windows.h` to `.cpp` whenever possible
- Use `WIN32_LEAN_AND_MEAN`
- Remove unused headers

Tested on Windows with 
```
cmake .. -DCMAKE_BUILD_TYPE=Debug -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 
  -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-ftime-trace -Wall -Wextra -Wpedantic 
  -Wno-ignored-attributes" -DCMAKE_COLOR_DIAGNOSTICS=1 -DCPPTRACE_BUILD_TESTING=1 
  -DCPPTRACE_BUILD_BENCHMARKING=0
```

There's a lot more that can be improved if you are interested.

---------

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2024-10-02 10:55:13 -05:00
..
add_subdirectory-integration CMake improvements (#57) 2023-11-06 12:12:07 -05:00
expected Small test refactor 2024-05-04 11:52:45 -05:00
fetchcontent-integration Fix test 2023-11-06 12:42:06 -05:00
findpackage-integration Handle copying libcpptrace.dll better for findpackage integration 2024-02-12 22:14:03 -06:00
speedtest Aquire zstd with fetchcontent for libdwarf 9 (#85) 2024-02-01 00:14:48 -06:00
unit Improve compilation times on Windows (#172) 2024-10-02 10:55:13 -05:00
BUILD.bazel Enable Bazel build system support (#153) 2024-08-18 19:16:53 -05:00
CMakeLists.txt Implement a system for preventing redundant tracing during search, and other various improvements for the from_current system (#159) 2024-08-20 23:10:17 -05:00
ctrace_demo.c Support -Wpedantic if someone sets the flag globally while using FetchContent (#127) 2024-05-23 21:18:11 -05:00
demo.cpp Support -Wpedantic if someone sets the flag globally while using FetchContent (#127) 2024-05-23 21:18:11 -05:00
integration.cpp Support -Wpedantic if someone sets the flag globally while using FetchContent (#127) 2024-05-23 21:18:11 -05:00
signal_demo.cpp Add an error message for exec failures to the signal_demo, resolves #111 2024-04-18 19:38:19 -05:00
signal_tracer.cpp Remove some commented code 2024-08-16 10:29:00 -05:00