mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add CMake build files for the rest of the utilites.
This commit is contained in:
parent
46718851da
commit
4bfd6f42bc
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -2,6 +2,11 @@
|
|||||||
"cmake.configureOnOpen": true,
|
"cmake.configureOnOpen": true,
|
||||||
"cmake.sourceDirectory": [
|
"cmake.sourceDirectory": [
|
||||||
"${workspaceFolder}/profiler",
|
"${workspaceFolder}/profiler",
|
||||||
|
"${workspaceFolder}/capture",
|
||||||
|
"${workspaceFolder}/csvexport",
|
||||||
|
"${workspaceFolder}/import-chrome",
|
||||||
|
"${workspaceFolder}/import-fuchsia",
|
||||||
|
"${workspaceFolder}/update",
|
||||||
"${workspaceFolder}",
|
"${workspaceFolder}",
|
||||||
],
|
],
|
||||||
"cmake.buildDirectory": "${sourceDirectory}/builddir",
|
"cmake.buildDirectory": "${sourceDirectory}/builddir",
|
||||||
|
25
capture/CMakeLists.txt
Normal file
25
capture/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
||||||
|
option(NO_STATISTICS "Disable calculation of statistics" ON)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
tracy-capture
|
||||||
|
LANGUAGES ASM C CXX
|
||||||
|
VERSION ${TRACY_VERSION_STRING}
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
||||||
|
|
||||||
|
set(PROGRAM_FILES
|
||||||
|
src/capture.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME} ${PROGRAM_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyServer)
|
25
csvexport/CMakeLists.txt
Normal file
25
csvexport/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
||||||
|
set(NO_STATISTICS OFF)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
tracy-csvexport
|
||||||
|
LANGUAGES ASM C CXX
|
||||||
|
VERSION ${TRACY_VERSION_STRING}
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
||||||
|
|
||||||
|
set(PROGRAM_FILES
|
||||||
|
src/csvexport.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME} ${PROGRAM_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyServer)
|
25
import-chrome/CMakeLists.txt
Normal file
25
import-chrome/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
||||||
|
option(NO_STATISTICS "Disable calculation of statistics" ON)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
tracy-import-chrome
|
||||||
|
LANGUAGES ASM C CXX
|
||||||
|
VERSION ${TRACY_VERSION_STRING}
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
||||||
|
|
||||||
|
set(PROGRAM_FILES
|
||||||
|
src/import-chrome.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME} ${PROGRAM_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyServer)
|
25
import-fuchsia/CMakeLists.txt
Normal file
25
import-fuchsia/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
||||||
|
option(NO_STATISTICS "Disable calculation of statistics" ON)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
tracy-import-fuchsia
|
||||||
|
LANGUAGES ASM C CXX
|
||||||
|
VERSION ${TRACY_VERSION_STRING}
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
||||||
|
|
||||||
|
set(PROGRAM_FILES
|
||||||
|
src/import-fuchsia.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME} ${PROGRAM_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyServer)
|
28
update/CMakeLists.txt
Normal file
28
update/CMakeLists.txt
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
||||||
|
option(NO_STATISTICS "Disable calculation of statistics" ON)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
tracy-update
|
||||||
|
LANGUAGES ASM C CXX
|
||||||
|
VERSION ${TRACY_VERSION_STRING}
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
||||||
|
|
||||||
|
set(PROGRAM_FILES
|
||||||
|
src/OfflineSymbolResolver.cpp
|
||||||
|
src/OfflineSymbolResolverAddr2Line.cpp
|
||||||
|
src/OfflineSymbolResolverDbgHelper.cpp
|
||||||
|
src/update.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME} ${PROGRAM_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyServer)
|
Loading…
Reference in New Issue
Block a user