hiding targets from cmake build?

classic Classic list List threaded Threaded
1 message Options
Hex
Reply | Threaded
Open this post in threaded view
|

hiding targets from cmake build?

Hex
In cmake mark_as_advanced will not display variables in any of the cmake
GUIs unless the show advanced option is on.

I wonder if there is an equivalent for build targets?

I have a bunch of custom_targets custom_a, custom_b, custom_c, ... which
all depend on custom_all

I don't want all targets to be listed in

cmake --build . --target help


It appears there is a solution for Visual Studio [1] by hiding folders.
I am using SublimeText, though.

Is there a native solution? Otherwise approximately which steps should I
take to make a script / plug-in.


[1]: https://stackoverflow.com/a/45918184/10530671

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake