mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 16:37:13 +01:00
trunk: split cmake debug/optimize build
This commit is contained in:
parent
7cb622a445
commit
ddaceef0ec
@ -1,8 +1,8 @@
|
||||
set(LIBNAME "PocoFoundation")
|
||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set(LIBNAME "${LIBNAME}d")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
set( BASE_SRCS
|
||||
src/ASCIIEncoding.cpp
|
||||
@ -188,7 +188,7 @@ set(LIN_SRCS
|
||||
|
||||
if(CMAKE_SYSTEM MATCHES "Windows")
|
||||
set(SRCS ${BASE_SRCS} ${WIN_SRCS})
|
||||
add_definitions( -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC)
|
||||
add_definitions( -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DFoundation_EXPORTS)
|
||||
set(SYSLIBS ${SYSLIBS} iphlpapi)
|
||||
else (CMAKE_SYSTEM MATCHES "Windows")
|
||||
set(SRCS ${BASE_SRCS} ${LIN_SRCS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user