[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: Fwd: Reminder: use KF5::foo instead of ${foo_LIBRARIES} in CMakeLists
From:       Nicolás_Alvarez <nicolas.alvarez () gmail ! com>
Date:       2013-09-25 16:52:01
Message-ID: CANPC-ttMYZaLvQ8o9D9vPcbC8kzmZrDhh2tqkpY-WM2bzxPZ8A () mail ! gmail ! com
[Download RAW message or body]

2013/9/25 Aurélien Gâteau <agateau@kde.org>:
> The alternative syntax: ${KConfigCore_LIBRARIES} would work in both cases, but
> it is more error prone: any typo in the variable name causes the variable to
> be expanded to an empty string, making it more difficult to debug, whereas
> using target names provide more explicit error messages.

Have you tried using cmake --warn-uninitialized?

-- 
Nicolás
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic