fix warning, improve cmake messages
This commit is contained in:
parent
017faa942f
commit
135adc76c8
2 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
#include "sc_version_string.h"
|
||||
#include <STEPfile.h>
|
||||
#include <sdai.h>
|
||||
#include <STEPattribute.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue