Skip to content

Commit a4937cb

Browse files
committed
cleanup CMakeLists.txt, time for basic CI testing
Signed-off-by: Stephen L Arnold <[email protected]>
1 parent 699c2d6 commit a4937cb

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

CMakeLists.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,12 @@
11
cmake_minimum_required(VERSION 3.4...3.18)
22

3-
set(CMAKE_VERBOSE_MAKEFILE ON)
4-
53
project(re2 LANGUAGES CXX C)
64
include(GNUInstallDirs)
75

8-
message("re2 CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}")
9-
106
find_package(re2 CONFIG REQUIRED NAMES re2)
117

128
get_target_property(include_dirs re2::re2 INTERFACE_INCLUDE_DIRECTORIES)
139
message("re2_include_dirs=${include_dirs}")
1410

1511
get_target_property(link_libraries re2::re2 INTERFACE_LINK_LIBRARIES)
1612
message("re2_extra_objects=${link_libraries}")
17-
18-
19-
message(STATUS "<<< re2 Build configuration >>>
20-
Build type ${CMAKE_BUILD_TYPE}
21-
Install path ${CMAKE_INSTALL_PREFIX}
22-
Compiler flags:
23-
C ${CMAKE_C_FLAGS}
24-
C++ ${CMAKE_CXX_FLAGS}
25-
Linker flags:
26-
Executable ${CMAKE_EXE_LINKER_FLAGS}
27-
Module ${CMAKE_MODULE_LINKER_FLAGS}
28-
Shared ${CMAKE_SHARED_LINKER_FLAGS}
29-
30-
ToolchainFile:
31-
${CMAKE_TOOLCHAIN_FILE}\n")

0 commit comments

Comments
 (0)