mirror of
https://github.com/fltk/fltk.git
synced 2026-05-09 21:06:51 +08:00
Add FLTK_BUILD_SCREENSHOTS option info to CMake build summary
+ build screenshot programs if option FLTK_BUILD_SCREENSHOTS=ON: don't `EXCLUDE_FROM_ALL` because the option must be set anyway.
This commit is contained in:
+3
-2
@@ -400,8 +400,9 @@ fl_summary_build("The OpenGL library" lib FLTK_USE_GL FLTK_BUI
|
|||||||
fl_summary_build("fluid" bin FLTK_BUILD_FLUID FLTK_BUILD_FLUID)
|
fl_summary_build("fluid" bin FLTK_BUILD_FLUID FLTK_BUILD_FLUID)
|
||||||
fl_summary_build("fltk-options" bin FLTK_BUILD_FLTK_OPTIONS FLTK_BUILD_FLTK_OPTIONS)
|
fl_summary_build("fltk-options" bin FLTK_BUILD_FLTK_OPTIONS FLTK_BUILD_FLTK_OPTIONS)
|
||||||
|
|
||||||
fl_summary_build("Test programs" bin/test FLTK_BUILD_TEST FLTK_BUILD_TEST)
|
fl_summary_build("Test programs" bin/test FLTK_BUILD_TEST FLTK_BUILD_TEST)
|
||||||
fl_summary_build("Example programs" bin/examples FLTK_BUILD_EXAMPLES FLTK_BUILD_EXAMPLES)
|
fl_summary_build("Example programs" bin/examples FLTK_BUILD_EXAMPLES FLTK_BUILD_EXAMPLES)
|
||||||
|
fl_summary_build("Screenshot programs" bin/screenshots FLTK_BUILD_SCREENSHOTS FLTK_BUILD_SCREENSHOTS)
|
||||||
|
|
||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
|
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
# Screenshot programs for FLTK documentation
|
# Screenshot programs for FLTK documentation
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
# The programs in this subdirectory are intended to be used by
|
# The programs in this subdirectory are intended to be used by FLTK
|
||||||
# developers to create screenshots for our Doxygen documentation.
|
# developers to create screenshots for our Doxygen documentation.
|
||||||
# See README.txt for more info.
|
# See README.txt for more info.
|
||||||
|
|
||||||
# These programs are not "installed" on target systems, they are only
|
# These programs are not "installed" on target systems, they are only
|
||||||
# built in the FLTK build tree.
|
# built in the FLTK build tree (if FLTK_BUILD_SCREENSHOTS=ON).
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Define a list of programs that will be built w/o extension.
|
# Define a list of programs that will be built w/o extension.
|
||||||
@@ -61,7 +61,7 @@ foreach(_prog ${NAMES})
|
|||||||
|
|
||||||
set_target_properties(${_target} PROPERTIES
|
set_target_properties(${_target} PROPERTIES
|
||||||
OUTPUT_NAME ${_target}
|
OUTPUT_NAME ${_target}
|
||||||
EXCLUDE_FROM_ALL TRUE
|
EXCLUDE_FROM_ALL FALSE
|
||||||
)
|
)
|
||||||
|
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user