[CMake] Hierarchical Menu for options
James Bigler
bigler at cs.utah.edu
Mon Apr 10 13:19:11 EDT 2006
Is there a way to create hierarchical options tweakable by the build?
The list I currently have is getting quite long.
I want something like:
SCENE_BUILDS:
BUILD_SCENE_0
BUILD_SCENE_1
...
BUILD_SCENE_FANCY_GEOM
ADVANCED_BUILD_OPTIONS:
BUILD_INTERNAL_MALLOC
ASSERTION_LEVEL
EXIT_STRATEGY
THIRD_PARTY_LIBRARY_OPTIONS:
THIRD_PARTY_INCLUDE_PATH
THIRD_PARTY_LIBRARY_PATH
TEEM_INSTALL_PATH
FOUND_TEEM_INCLUDE
FOUND_TEEM_LIB
FOX_INSTALL_PATH
FOX_STATIC
FOUND_FOX_INCLUDE
FOUND_FOX_LIB
...
SCENE_BUILDS, ADVANCED_BUILD_OPTIONS and THIRD_PARTY_LIBRARY_OPTIONS
appear in the main listing, and when you click or select one of them you
get a new menu list with the options grouped under each item.
This would provide a convenient method to group common configurations to
make things a bit easier for users to get to what they need.
Does such a feature exist?
Thanks,
James
More information about the CMake
mailing list