Review Request 124542: CMake fixes for Windows build

Luigi Toscano luigi.toscano at tiscali.it
Fri Jul 31 18:29:28 UTC 2015



> On Lug. 31, 2015, 7:19 p.m., David Faure wrote:
> > src/CMakeLists.txt, line 20
> > <https://git.reviewboard.kde.org/r/124542/diff/1/?file=388805#file388805line20>
> >
> >     I can't see how setting a variable to itself can possibly change anything, or make any sense (other than an extremely weird bug in cmake).
> >     
> >     Actually it could be that this interprets the string as a list or vice versa.... in which case the problem could be before this, at the time where this module sets CMAKE_MODULE_PATH (toplevel file?)
> 
> Alex Merry wrote:
>     See my comment above. This change is correct.
> 
> Alex Merry wrote:
>     Ah, and you should note the context the variable substitution takes place in. It is being substituted in the CMakeLists.txt file, but the `set` call is being evaluated in the install script.
>     
>     That being said, there should probably be some quotes in there, like
>     
>         set(CMAKE_MODULE_PATH \"${CMAKE_MODULE_PATH}\")
> 
> Kevin Funk wrote:
>     Can do. I'll push this patch within the next hour if noone objects.
> 
> Alex Merry wrote:
>     I'm certainly willing to give a "shipit" to this part of the patch - feel free to put that it was reviewed by me in the commit. I'm not so sure about the :-escaping for URLs - see what David said originally.

I agree with the escaping (if you can test on linux and win).
I can't test much right now; for the escaping, if I understand it correctly, the : should be kept (only) for the drive.


- Luigi


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124542/#review83249
-----------------------------------------------------------


On Lug. 31, 2015, 7:33 p.m., Kevin Funk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124542/
> -----------------------------------------------------------
> 
> (Updated Lug. 31, 2015, 7:33 p.m.)
> 
> 
> Review request for Documentation, KDE Frameworks and Luigi Toscano.
> 
> 
> Bugs: 348061
>     https://bugs.kde.org/show_bug.cgi?id=348061
> 
> 
> Repository: kdoctools
> 
> 
> Description
> -------
> 
> BUG: 348061
> 
> 
> Diffs
> -----
> 
>   cmake/uriencode.cmake e5f3c3acd93d3871e44b6e6fb29ad7113e18d751 
>   src/CMakeLists.txt e3868fc4f22324d25f680c13609bfb92b8b7c41d 
> 
> Diff: https://git.reviewboard.kde.org/r/124542/diff/
> 
> 
> Testing
> -------
> 
> Adding ':' to the list of escaped characters is probably not an ideal solution, but let me hear your ideas.
> 
> 
> Thanks,
> 
> Kevin Funk
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150731/34becde9/attachment.html>


More information about the Kde-frameworks-devel mailing list