mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
* Adjustment: Initial CMake reworking.
This commit is contained in:
parent
516163fd5d
commit
d7cdf54661
5394 changed files with 2615532 additions and 8711 deletions
9
Engine/lib/pcre/CMakeLists.txt
Normal file
9
Engine/lib/pcre/CMakeLists.txt
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue