[branch-1.3] c4bc990 - Enhance CMake build configuration summary

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[branch-1.3] c4bc990 - Enhance CMake build configuration summary "Albrecht Schlosser" 04:32 May 03 top right image
 
commit c4bc990c80959ab7f2d79e63e440f52d6b347a90
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Fri Apr 30 19:48:17 2021 +0200
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Fri Apr 30 20:15:05 2021 +0200

    Enhance CMake build configuration summary

 CMakeLists.txt | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git CMakeLists.txt CMakeLists.txt
index 66c0b6b..3253368 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -148,22 +148,23 @@ include (CMake/install.cmake)
 include (FeatureSummary)
 
 message ("")
-feature_summary (WHAT ALL DESCRIPTION "Configuration Summary --\n")
+set (_descr "${PROJECT_NAME} ${FLTK_VERSION} generated by CMake ${CMAKE_VERSION}")
+feature_summary (WHAT ALL DESCRIPTION "Configuration Summary for ${_descr} --\n")
 
-message (STATUS "Static libraries will be written to ${CMAKE_CURRENT_BINARY_DIR}/lib")
+message (STATUS "Static libraries will be built in ${CMAKE_CURRENT_BINARY_DIR}/lib")
 
 if (OPTION_BUILD_SHARED_LIBS)
-  message (STATUS "Shared libraries will be written to ${CMAKE_CURRENT_BINARY_DIR}/lib")
+  message (STATUS "Shared libraries will be built in  ${CMAKE_CURRENT_BINARY_DIR}/lib")
 else ()
   message (STATUS "Shared libraries will not be built (set OPTION_BUILD_SHARED_LIBS=ON to build)")
 endif ()
 
 if (FLTK_BUILD_TEST)
-  message (STATUS "Test programs    will be written to ${CMAKE_CURRENT_BINARY_DIR}/bin/test")
+  message (STATUS "Test programs    will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/test")
 endif ()
 
 if (FLTK_BUILD_EXAMPLES)
-  message (STATUS "Example programs will be written to ${CMAKE_CURRENT_BINARY_DIR}/bin/examples")
+  message (STATUS "Example programs will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/examples")
 else ()
   message (STATUS "Example programs will not be built (set FLTK_BUILD_EXAMPLES=ON to build)")
 endif ()
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.