trunk: split cmake debug/optimize build
This commit is contained in:
Родитель
7cb622a445
Коммит
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})
|
||||
|
|
Загрузка…
Ссылка в новой задаче