Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something like 'cmake --list-options CMakeLists.txt' seems the most obvious.


I don't think it would be meaningfully different from what you would get by doing

    less CMakeCache.txt
Listing the options cannot be done by just introspecting a CMakeLists: what would it show for:

    if(FOO)
      option(ENABLE_BAMBOOZLE_${FOO} "Enable Bamboozle - ${FOO}-specific version" OFF)
    else()
      option(ENABLE_BAMBOOZLE "Enable Bamboozle" ON)
    endif()
(and if your meta-build system does not allow to do that, I'm sorry but I'll have to build a meta-meta-build-system on top of it which implements it and no one will like it)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: