* Adjustment: Initial CMake reworking.

This commit is contained in:
Robert MacGregor 2022-05-13 23:42:41 -04:00
parent 516163fd5d
commit d7cdf54661
5394 changed files with 2615532 additions and 8711 deletions

View file

@ -0,0 +1,9 @@
file(GLOB PCRE_SOURCES "*.c")
add_library(pcre STATIC ${PCRE_SOURCES})
target_compile_definitions(pcre PUBLIC PCRE_STATIC HAVE_CONFIG_H)
target_include_directories(pcre PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
if(WIN32)
set_property(TARGET pcre PROPERTY COMPILE_FLAGS /TP) #/TP = compile as C++
endif()