Hello everyone.
I try to set a specific library for the debug and release configuration.
I try to do it this way:
IF(DEFINED USEFCGI)
SET(BACKENDLIB wtfcgi)
ELSE(DEFINED USEFCGI)
SET(BACKENDLIB wthttp)
ENDIF(DEFINED USEFCGI)
IF(WIN32)
TARGET_LINK_LIBRARIES(construction.wt
debug wtd ${BACKENDLIB}d
optimized wt ${BACKENDLIB})
ELSE(WIN32)
TARGET_LINK_LIBRARIES(construction.wt wt ${BACKENDLIB})
ENDIF(WIN32)
but the resulting libraries for debug are:
wtd.lib;wthttpd.lib;wthttp.lib
and for release:
wthttpd.lib;wt.lib;wthttp.lib
what am I doing wrong here?
Thank you again, Louis
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake