Greg created XERCESC-2148: ----------------------------- Summary: Initial cmake build not working. Key: XERCESC-2148 URL: https://issues.apache.org/jira/browse/XERCESC-2148 Project: Xerces-C++ Issue Type: Bug Components: Build Affects Versions: 3.2.1 Environment: Windows 10 Reporter: Greg Fix For: 3.2.1
Using cmake (v 3.11.3) and latest download of 3.2.1. Using suggest build Windows msbuild with VS2015 x64 commands. See doc build page. This command fails cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=C:\GIDev\XercesC321\libs -Dmessage-loader=icu -Dtranscoder=icu C:\GIDev\XercesC321\xerces-c-3.2.1\src with error CMake Error at CMakeLists.txt:1291 (install): install TARGETS given no ARCHIVE DESTINATION for static library target "xerces-c". and build FAILS. line 1291 is install(TARGETS xerces-c EXPORT XercesCConfigInternal RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT "runtime" INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") Note: When using ICU doc makes no mention of how to specify location of ICU. Have to look a cmake code to find set ICUROOT=. Also --disable-pretty-make is no longer supported. Still in doc. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org