Skip to content

Commit eefdebf

Browse files
fixup! feat(core): allow measurement through codspeed core library
1 parent 2972e91 commit eefdebf

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

core/CMakeLists.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
cmake_minimum_required(VERSION 3.10)
22

3-
set(CODSPEED_VERSION 1.0)
3+
set(CODSPEED_VERSION 1.0.0)
44

5-
project(
6-
codspeed
7-
VERSION ${CODSPEED_VERSION}
8-
LANGUAGES CXX)
5+
project(codspeed VERSION ${CODSPEED_VERSION} LANGUAGES CXX)
96

107
# Specify the C++ standard
118
set(CMAKE_CXX_STANDARD 17)
@@ -22,8 +19,8 @@ add_compile_definitions(CODSPEED_VERSION="${CODSPEED_VERSION}")
2219

2320
# Disable valgrind compilation errors
2421
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
25-
# Disable the old-style-cast warning for the specific target
26-
target_compile_options(codspeed PRIVATE -Wno-old-style-cast)
22+
# Disable the old-style-cast warning for the specific target
23+
target_compile_options(codspeed PRIVATE -Wno-old-style-cast)
2724
endif()
2825

2926
# Specify the include directories for users of the library

0 commit comments

Comments
 (0)