Install header files into one folder

all headers from one project are best kept in one place
This commit is contained in:
Jan200101 2024-10-02 22:51:01 +02:00
parent fe6b79082f
commit f45dc88bf8
No known key found for this signature in database
GPG Key ID: 5B71B1D78B882E05
2 changed files with 4 additions and 4 deletions

View File

@ -178,9 +178,9 @@ export(TARGETS TracyClient
install(FILES ${tracy_includes} install(FILES ${tracy_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy)
install(FILES ${client_includes} install(FILES ${client_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/client) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/client)
install(FILES ${common_includes} install(FILES ${common_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/common) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/common)
install(EXPORT TracyConfig install(EXPORT TracyConfig
NAMESPACE Tracy:: NAMESPACE Tracy::
FILE TracyTargets.cmake FILE TracyTargets.cmake

View File

@ -205,8 +205,8 @@ tracy = library('tracy', tracy_src, tracy_header_files,
install : true) install : true)
install_headers(includes, subdir : 'tracy') install_headers(includes, subdir : 'tracy')
install_headers(common_includes, subdir : 'common') install_headers(common_includes, subdir : 'tracy/common')
install_headers(client_includes, subdir : 'client') install_headers(client_includes, subdir : 'tracy/client')
tracy_dep_compile_args = tracy_common_args tracy_dep_compile_args = tracy_common_args