File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ set (CMAKE_CXX_STANDARD_REQUIRED true)
55
66
77if (NOT DEFINED PACKAGE_VERSION )
8- message ("-- WARNING: Package version is not defined, set as 0.0.0" )
8+ message ("-- [CMake Project] WARNING: Package version is not defined, set as 0.0.0" )
99 set (PACKAGE_VERSION "0.0.0" )
1010endif ()
1111
12- message ("-- Package version: ${PACKAGE_VERSION} " )
12+ message ("-- [CMake Project] Package version: ${PACKAGE_VERSION} " )
1313
1414project ("CMake Project"
1515 VERSION ${PACKAGE_VERSION}
@@ -26,10 +26,10 @@ if (NOT with_gtest)
2626endif ()
2727
2828if (WITH_GTEST)
29- message ("-- Unit test by GoogleTest is enabled" )
29+ message ("-- [CMake Project] Unit test by GoogleTest is enabled" )
3030
3131else ()
32- message ("-- Unit test by GoogleTest is disabled" )
32+ message ("-- [CMake Project] Unit test by GoogleTest is disabled" )
3333
3434endif ()
3535
Original file line number Diff line number Diff line change 1- message ("-- Building on Linux ..." )
1+ message ("-- [CMake Project] Building on Linux ..." )
22
33# configure compiler gcc with CCache
44set (CMAKE_C_COMPILER "gcc" )
55set (CMAKE_CXX_COMPILER "g++" )
66
7- message ("-- Using C Compiler: ${CMAKE_C_COMPILER} (${CMAKE_C_COMPILER_VERSION} )" )
8- message ("-- Using C++ Compiler: ${CMAKE_CXX_COMPILER} (${CMAKE_CXX_COMPILER_VERSION} )" )
7+ message ("-- [CMake Project] Using C Compiler: ${CMAKE_C_COMPILER} (${CMAKE_C_COMPILER_VERSION} )" )
8+ message ("-- [CMake Project] Using C++ Compiler: ${CMAKE_CXX_COMPILER} (${CMAKE_CXX_COMPILER_VERSION} )" )
99
1010
1111option (BUILD_SHARED_LIBS "Build using shared libraries" ON )
Original file line number Diff line number Diff line change 1- message ("-- Building on Win32 ..." )
1+ message ("-- [CMake Project] Building on Win32 ..." )
22
3- message ("-- Using C Compiler: ${CMAKE_C_COMPILER} (${CMAKE_C_COMPILER_VERSION} )" )
4- message ("-- Using C++ Compiler: ${CMAKE_CXX_COMPILER} (${CMAKE_CXX_COMPILER_VERSION} )" )
3+ message ("-- [CMake Project] Using C Compiler: ${CMAKE_C_COMPILER} (${CMAKE_C_COMPILER_VERSION} )" )
4+ message ("-- [CMake Project] Using C++ Compiler: ${CMAKE_CXX_COMPILER} (${CMAKE_CXX_COMPILER_VERSION} )" )
55
66# using warning options W2
77option (SUPRESS_W3_WARNINGS "Configure warning level to /W2" ON )
@@ -15,7 +15,7 @@ add_compile_options ("/Z7")
1515
1616find_program (CCACHE_EXECUTABLE ccache)
1717if (CCACHE_EXECUTABLE)
18- message ("-- Ccache executable found at: ${CCACHE_EXECUTABLE} " )
18+ message ("-- [CMake Project] Ccache executable found at: ${CCACHE_EXECUTABLE} " )
1919 file (COPY "${CCACHE_EXECUTABLE} " DESTINATION "${PROJECT_BINARY_DIR} " )
2020 file (RENAME "${PROJECT_BINARY_DIR} /ccache.exe" "${PROJECT_BINARY_DIR} /cl.exe" )
2121 set (CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:Embedded>" )
@@ -28,7 +28,7 @@ if (CCACHE_EXECUTABLE)
2828 )
2929
3030else ()
31- message ("-- CCache not found." )
31+ message ("-- [CMake Project] CCache not found." )
3232
3333endif ()
3434
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ endforeach()
1515
1616# Run add_subdirectory() for each
1717foreach (SUB_DIR ${SUB_DIRS} )
18- message ("-- Building snippet: ${SUB_DIR} " )
18+ message ("-- [CMake Project] Building snippet: ${SUB_DIR} " )
1919 add_subdirectory (${SUB_DIR} )
2020
2121endforeach ()
2222
23- message ("-- Done configuring snippets" )
23+ message ("-- [CMake Project] Done configuring snippets" )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ add_custom_target (tests)
88add_dependencies (tests gtest-testrun)
99
1010
11- message ("-- Done configuring gtest" )
11+ message ("-- [CMake Project] Done configuring gtest" )
You can’t perform that action at this time.
0 commit comments