Skip to content

Commit

Permalink
Install header files into one folder
Browse files Browse the repository at this point in the history
all headers from one project are best kept in one place
  • Loading branch information
Jan200101 committed Oct 2, 2024
1 parent fe6b790 commit f45dc88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ export(TARGETS TracyClient
install(FILES ${tracy_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy)
install(FILES ${client_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/client)
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/client)
install(FILES ${common_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/common)
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/common)
install(EXPORT TracyConfig
NAMESPACE Tracy::
FILE TracyTargets.cmake
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ tracy = library('tracy', tracy_src, tracy_header_files,
install : true)

install_headers(includes, subdir : 'tracy')
install_headers(common_includes, subdir : 'common')
install_headers(client_includes, subdir : 'client')
install_headers(common_includes, subdir : 'tracy/common')
install_headers(client_includes, subdir : 'tracy/client')

tracy_dep_compile_args = tracy_common_args

Expand Down

0 comments on commit f45dc88

Please sign in to comment.