We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5324618 commit cc8fc1dCopy full SHA for cc8fc1d
1 file changed
core/CMakeLists.txt
@@ -97,6 +97,22 @@ if(NOT CODSPEED_MODE STREQUAL "off")
97
endif()
98
99
100
+install(
101
+ FILES
102
+ include/codspeed.h # or wherever codspeed.h is located in core/
103
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/benchmark
104
+ # Or possibly: DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
105
+)
106
+
107
108
+ TARGETS codspeed
109
+ EXPORT codspeed-targets
110
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
111
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
112
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
113
+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
114
115
116
message(STATUS "Codspeed mode: ${CODSPEED_MODE}")
117
118
option(ENABLE_TESTS "Enable building the unit tests which depend on gtest" OFF)
0 commit comments