1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

7997 Commits

Author SHA1 Message Date
Arnim Balzer 7a779ba03c Do not use directories as by products when file are still present
Unfortunately cmake does not support generator expressions in add_custom_command byproducts so can't remove all files
2024-03-26 20:55:04 +00:00
Bartosz Taudul adbee2f820 Update NEWS. 2024-03-23 12:15:47 +01:00
Bartosz Taudul 828e52f5c4 Merge pull request #754 from Chekov2k/python
Added basic Python Support
2024-03-23 11:57:02 +01:00
Arnim Balzer 505afc8f77 Document other CMake options and fix tex errors 2024-03-23 06:45:12 +00:00
Arnim Balzer 059f1487af Option to disable use of external pybind11 2024-03-23 06:45:12 +00:00
Arnim Balzer d65d96191a Added basic Python Support
Supported:
 - FrameMarks
 - ScopedZones
 - Memory allocations
 - Plots
 - ThreadNames
 - Messages
 - AppConfig

Not supported:
 - GPU
2024-03-23 06:45:12 +00:00
Bartosz Taudul e38d9fa7ce Use mold linker if available. 2024-03-23 02:08:36 +01:00
Bartosz Taudul 8a411a72b8 Merge pull request #757 from JBurnWork/noCallstackUpdates
Updates to address compilation with TRACY_NO_CALLSTACK
2024-03-23 01:26:42 +01:00
Bartosz Taudul 3d70a61436 Update manual. 2024-03-23 00:48:43 +01:00
Bartosz Taudul 9e6be031c1 Don't install capstone on CI. 2024-03-23 00:36:52 +01:00
Bartosz Taudul afceec59aa Enable AVX2 code generation on MSVC. 2024-03-22 22:07:43 +01:00
Jeff Burnett 18352366f7 Still use named mem pool if no callstacks
Forward MemAllocCallstackNamed() and MemFreeCallstackNamed() to
MemAllocNamed() and MemFreeNamed if callstack capture is off.
2024-03-22 09:50:05 -05:00
Jeff Burnett 278330af5b Fix build warnings for TRACY_NO_CALLSTACK
Fix build warnings about undefined TRACY_HAS_CALLSTACK and an unused
argument for Callstack() when TRACY_NO_CALLSTACK is defined.
2024-03-22 09:50:05 -05:00
Bartosz Taudul aac38a7deb Update CI.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-22 13:49:08 +01:00
Bartosz Taudul 8b8cd7d28b Add -pthread to emscripten compile and link commands. 2024-03-21 23:04:41 +01:00
Bartosz Taudul 434d73c7bd Emscripten support.
Doesn't work due to i64 vs i32 type mismatch in glGetIntegerv, which
seems like some general compatibility bullshit, not something related
to CMake.
2024-03-21 23:04:41 +01:00
Bartosz Taudul 8ee866e840 Update git ignores. 2024-03-21 23:04:40 +01:00
Bartosz Taudul fec5e6bb9c UNIX variable is true on Apple. 2024-03-21 23:04:40 +01:00
Bartosz Taudul a2fdd3638c Change CMake build dir to "build". 2024-03-21 23:04:40 +01:00
Bartosz Taudul 7f8a2e2c9a Remove old build files. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 1df45c00c0 Generate private-code with wayland-scanner. 2024-03-21 23:04:40 +01:00
Bartosz Taudul bde0c63006 Generate Wayland protocol sources. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 71bde8d11a Add wayland-scanner CMake module.
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake

3dba889fef06c8760edab41159b98aaa4150b9b5
2024-03-21 23:04:40 +01:00
Bartosz Taudul 4c6f6332b0 Copy compile_commands.json to workspace root. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 1a3131178d Link update with dbghelp. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 148eac2c24 Link with getopt. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 06244c0def Provide sane default config for VS Code CMake extension. 2024-03-21 23:04:39 +01:00
Bartosz Taudul f523521831 Fix copypasta. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 25898a9c7a Enable LTO. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 4bfd6f42bc Add CMake build files for the rest of the utilites. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 46718851da Extract some common definitions. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 375f4526df Set TRACY_VERSION_STRING directly in version.cmake. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 776b08f2e0 Split core server files from the UI. 2024-03-21 23:04:38 +01:00
Bartosz Taudul cc4ed68271 Extract common set of server files to a separate cmake build file.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:38 +01:00
Bartosz Taudul 35246b4191 Remove vcpkg. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 269c75103e Windows build fixes.
- Include manifest.
- Add icon.
- Set subsystem to Windows.
2024-03-21 23:04:38 +01:00
Bartosz Taudul 2c4abf5f9f Link with winsock on Windows. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 58115b35c5 Fix non-wayland build. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 970250fc85 Another stupid macro needed for MSVC to not crap the pants. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 1bada6a6fd Set NOMINMAX on win32. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 699d93c7ae Provide a list of recommended VS Code extensions. 2024-03-21 23:04:37 +01:00
Bartosz Taudul ee81795f26 Move discovery of external dependencies to cmake/vendor.cmake.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul a5f256ca2d Add CMake Package Manager.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul 061b990875 Move version.cmake to cmake/ subdirectory.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul 1c43f6efa7 Move profiler to top of CMake projects list.
Will it make it the default in the extension?
2024-03-21 23:04:37 +01:00
Bartosz Taudul 96d44cc847 Add VS Code CMake configuration. 2024-03-21 23:04:37 +01:00
Bartosz Taudul b73a0ff54e Replace build and launch config by CMake integration. 2024-03-21 23:04:37 +01:00
Bartosz Taudul c9b4248d35 Add basic CMakeLists.txt for the profiler GUI. 2024-03-21 23:04:36 +01:00
Bartosz Taudul 0081f1bda0 Remove Microsoft's C++ extension configuration.
Use clangd instead.
2024-03-21 23:04:36 +01:00
Bartosz Taudul 9ca27bf7cc Enable including version.cmake from any directory. 2024-03-21 23:04:36 +01:00