Parker Coates wrote:
I've often wished CMake had a construct equivalent to Python's if
__name__ == '__main__' : that would let you run certain code only if
the current file was being run as the top level CMakeLists.txt.
if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
-Brad
On Wednesday 18 March 2009, Parker Coates wrote:
On Tue, Mar 17, 2009 at 20:03, Matthew Woehlke wrote:
Parker Coates wrote:
I've often wished CMake had a construct equivalent to Python's if
__name__ == '__main__' : that would let you run certain code only
if the current file was being run
On Wednesday 18 March 2009, Matthew Woehlke wrote:
Adding fedora-devel ;-).
Alexander Neundorf wrote:
On Tuesday 17 March 2009, Matthew Woehlke wrote:
Somewhat OT, but one thing I would really appreciate is if I could
install kcalc without dragging in the entire bulk of cups due to
On Wednesday 18 March 2009, Parker Coates wrote:
On Tue, Mar 17, 2009 at 20:03, Matthew Woehlke wrote:
Parker Coates wrote:
I've often wished CMake had a construct equivalent to Python's if
__name__ == '__main__' : that would let you run certain code only if
the current file was being run
Alexander Neundorf wrote:
On Wednesday 18 March 2009, Matthew Woehlke wrote:
Adding fedora-devel ;-).
...and please keep them in the CC list if it involves Fedora :-). (I
think wondering about how rpm's are built qualifies.)
Not sure about the way how RPM's are built.
At leats in theory you