Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
3.2.1
-
None
-
None
-
Windows 10
Description
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.