From 135adc76c8f6e04a7eb19daf060bd9d0a3cb6e15 Mon Sep 17 00:00:00 2001 From: Mark Pictor Date: Sun, 26 Jul 2015 17:48:08 -0400 Subject: [PATCH] fix warning, improve cmake messages --- cmake/schema_scanner/schemaScanner.cmake | 6 +++--- test/cpp/schema_specific/aggregate_bound_runtime.cc | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cmake/schema_scanner/schemaScanner.cmake b/cmake/schema_scanner/schemaScanner.cmake index 2a9fdf73..6b066339 100644 --- a/cmake/schema_scanner/schemaScanner.cmake +++ b/cmake/schema_scanner/schemaScanner.cmake @@ -12,13 +12,13 @@ # this makes compilation faster, but sometimes runs into compiler limitations if(NOT DEFINED SC_UNITY_BUILD) if(BORLAND) - message( STATUS "Will not do unity build for this compiler.") + message( STATUS "Will not do unity build for this compiler. (SC_UNITY_BUILD=FALSE)") set(SC_UNITY_BUILD FALSE) else() - message( STATUS "Assuming compiler is capable of unity build.") + message( STATUS "Assuming compiler is capable of unity build. (SC_UNITY_BUILD=TRUE)") set(SC_UNITY_BUILD TRUE) endif(BORLAND) - message( STATUS "Override by setting SC_UNITY_BUILD; TRUE will result in *huge* translation units, higher memory use in compilation, and faster build times.") + message( STATUS "Override by setting SC_UNITY_BUILD; TRUE will result in faster build times but *huge* translation units and higher memory use in compilation.") else(NOT DEFINED SC_UNITY_BUILD) message( STATUS "Respecting user-defined SC_UNITY_BUILD value of ${SC_UNITY_BUILD}.") endif(NOT DEFINED SC_UNITY_BUILD) diff --git a/test/cpp/schema_specific/aggregate_bound_runtime.cc b/test/cpp/schema_specific/aggregate_bound_runtime.cc index 563291dd..fe103ab8 100644 --- a/test/cpp/schema_specific/aggregate_bound_runtime.cc +++ b/test/cpp/schema_specific/aggregate_bound_runtime.cc @@ -1,5 +1,4 @@ -#include "sc_version_string.h" #include #include #include