File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.4...3.18 )
2
2
3
- set (CMAKE_VERBOSE_MAKEFILE ON )
4
-
5
3
project (re2 LANGUAGES CXX C )
6
4
include (GNUInstallDirs )
7
5
8
- message ("re2 CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} " )
9
-
10
6
find_package (re2 CONFIG REQUIRED NAMES re2 )
11
7
12
8
get_target_property (include_dirs re2::re2 INTERFACE_INCLUDE_DIRECTORIES )
13
9
message ("re2_include_dirs=${include_dirs} " )
14
10
15
11
get_target_property (link_libraries re2::re2 INTERFACE_LINK_LIBRARIES )
16
12
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 " )
You can’t perform that action at this time.
0 commit comments