Ignore CMake build directories.

This commit is contained in:
Bartosz Taudul 2024-07-12 17:11:27 +02:00
parent 1458a6ab23
commit 521e371c60
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
4 changed files with 6 additions and 7 deletions

7
.gitignore vendored
View File

@ -1,10 +1,4 @@
.vs
*.opendb
*.db
*.vcxproj.user
x64
Release
Debug
_build
_compiler
tools/*
@ -36,7 +30,6 @@ profiler/build/win32/Tracy.aps
extra/vswhere.exe
extra/tracy-build
.cache
build
compile_commands.json
profiler/build/wasm/Tracy-release.*
profiler/build/wasm/Tracy-debug.*

View File

@ -5,6 +5,8 @@ include(cmake/version.cmake)
project(Tracy LANGUAGES CXX VERSION ${TRACY_VERSION_STRING})
file(GENERATE OUTPUT .gitignore CONTENT "*")
if(${BUILD_SHARED_LIBS})
set(DEFAULT_STATIC OFF)
else()

View File

@ -52,3 +52,5 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-eliminate-unused-debug-types")
endif()
endif()
file(GENERATE OUTPUT .gitignore CONTENT "*")

View File

@ -12,6 +12,8 @@ project(
LANGUAGES C CXX
VERSION ${TRACY_VERSION_STRING})
file(GENERATE OUTPUT .gitignore CONTENT "*")
# a bit weird but works: include the client cmake config coming from top-level
# cmake needs us to specify the build subfolder -> client/ this way we can
# simply link the test executable against TracyClient