I need a cmake expert or at least someone who is not a cmake dummy like me.
Like in the first mail I want to implement something like:
if (UNIX)
then
option(BUILD_HSI "Python Scripting Interface" ON)
elif
option(BUILD_HSI "Python Scripting Interface" OFF)
fi
It's of course simple to switch it on for Unix (or linux), but I also need
to check whether the "-DBUILD_HSI=" option itself has been set.
Checking on something like "IF(NOT BUILD_HSI)" displays whether someone has
not set it (forgot to set it) or deliberately switched it off.
"cmake .." gives the same result as as "cmake -DBUILD_HSI=off .." setting.
How do I check if someone deliberately specified -DBUILD_HSI=off (or
-DBUILD_HSI=0) because he/she doesn't want to build the hsi module?
And of course: If you have access to the trunk: Feel free to apply the
patch yourself.
Hoi,
Harry
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx