forked from andreasvc/pyre2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup CMakeLists.txt, time for basic CI testing
Signed-off-by: Stephen L Arnold <[email protected]>
- Loading branch information
Showing
1 changed file
with
0 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.4...3.18) | ||
|
||
set(CMAKE_VERBOSE_MAKEFILE ON) | ||
|
||
project(re2 LANGUAGES CXX C) | ||
include(GNUInstallDirs) | ||
|
||
message("re2 CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}") | ||
|
||
find_package(re2 CONFIG REQUIRED NAMES re2) | ||
|
||
get_target_property(include_dirs re2::re2 INTERFACE_INCLUDE_DIRECTORIES) | ||
message("re2_include_dirs=${include_dirs}") | ||
|
||
get_target_property(link_libraries re2::re2 INTERFACE_LINK_LIBRARIES) | ||
message("re2_extra_objects=${link_libraries}") | ||
|
||
|
||
message(STATUS "<<< re2 Build configuration >>> | ||
Build type ${CMAKE_BUILD_TYPE} | ||
Install path ${CMAKE_INSTALL_PREFIX} | ||
Compiler flags: | ||
C ${CMAKE_C_FLAGS} | ||
C++ ${CMAKE_CXX_FLAGS} | ||
Linker flags: | ||
Executable ${CMAKE_EXE_LINKER_FLAGS} | ||
Module ${CMAKE_MODULE_LINKER_FLAGS} | ||
Shared ${CMAKE_SHARED_LINKER_FLAGS} | ||
ToolchainFile: | ||
${CMAKE_TOOLCHAIN_FILE}\n") |