File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,22 @@ if(NOT CODSPEED_MODE STREQUAL "off")
97
97
endif ()
98
98
endif ()
99
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
+ install (
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
+
100
116
message (STATUS "Codspeed mode: ${CODSPEED_MODE} " )
101
117
102
118
option (ENABLE_TESTS "Enable building the unit tests which depend on gtest" OFF )
You can’t perform that action at this time.
0 commit comments