[Kde-bindings] Patches for smokegen/smokeqt/qyoto under Windows (almost done!)
Arno Rehn
arno at arnorehn.de
Thu Dec 8 15:44:54 UTC 2011
On Wednesday 07 December 2011 18:39:49 Steven Boswell II wrote:
> Enclosed is an archive of my latest patches to smokegen, smokeqt, and qyoto,
> against the latest version of the code in the git repositories.
>
> Now all the DLLs are put into the "bin" directory (to minimize the number of
> directories that have to be added to the Windows system path), and "lib" is
> no longer prepended to the beginning of DLL/archive names. No files are
> moved under Linux; the generated directory tree has the same layout.
>
>
> But there's one problem I can't solve. Look at line 107 of
> qyoto-windows.patch. I removed that line because otherwise, the Windows
> CMake dies during generation with:
>
> CMake Error: INSTALL(EXPORT "QyotoExport") given absolute DESTINATION
> "C:/Program Files (x86)/qyoto/share/qyoto/cmake" but the export references
> an installation of target "qyoto" which has relative DESTINATION "bin".
>
> But removing that line also causes SmokeExport.cmake and
> SmokeExport-release.cmake to not get installed in the Linux version, and
> presumably in the Windows version. With that line restored (i.e. if the
> patch file is altered to not remove that line), the Linux version builds
> fine, and SmokeExport.cmake and SmokeExport-release.cmake are in the
> installed directory tree.
>
> Does anyone know how to solve this? Apart from this issue, I think my
> changes are ready to check in.
First, thanks for the patches :)
To solve the problem, I thank that you either have to make the DESTINATION
argument of the INSTALL(EXPORT ...) line relative (i.e. just make it
"share/qyoto/cmake"), or make all reference to the "bin" DESTINATION absolute
by saying "${CMAKE_INSTALL_PREFIX}/bin".
--
Arno Rehn
More information about the Kde-bindings
mailing list