n
the documentation -- I was looking for something that wasn't there.
Cheers
Philip
Of course, the comment can be put in there, but you don't need any
commands between an if() and else() (or between any other pair of
start-end style commands, for that matter).
Petr
On Wed, Sep 2, 201
Hi there,
Does CMake have a no-op command, like 'pass' in Python or ';' in C? I
sometimes want to create a construct like this:
IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
# Under Windows we do nothing because blah blah blah
...no-op...
ELSE()
...do something...
ENDIF(CMAKE_SYSTEM_NAME
ate, and then
later on in my CMakeLists I adjust them as needed.
Thanks, Parag. I thought what I wanted to do would be almost trivial.
Your suggestion confirms that it's a little more complicated than I
expected. I appreciate the input.
Cheers
Philip
On 8/25/15, 2:30 PM, "Philip
Hi there,
I'm relatively new to CMake. I'm trying to build a 3rd party library
under Windows. (The 3rd party library happens to be an old-ish version
of ITK.) I want to add a compile flag (/bigobj) during the cache priming
step, but I can't figure out how to do it. Either my changes get
ignore