Fixed unity build issues.

This commit is contained in:
Ruben Thoms 2020-11-13 14:56:48 +01:00 committed by Magne Sjaastad
parent c4ec51fd8b
commit edb8c5ff81

View File

@ -441,7 +441,13 @@ set(UNITY_EXCLUDE_FILES
# forever is used as variable name, and this symbol is defined by Qt and # forever is used as variable name, and this symbol is defined by Qt and
# used in precompiled headers # used in precompiled headers
${ResInsight_SOURCE_DIR}/ThirdParty/gtest/gtest-all.cc ${ResInsight_SOURCE_DIR}/ThirdParty/gtest/gtest-all.cc
qrc_cafAnimControl.cpp qrc_ResInsight.cpp qrc_cafCommandFeatures.cpp) qrc_cafAnimControl.cpp
qrc_ResInsight.cpp
qrc_cafCommandFeatures.cpp
# Exclude files including opm-common
ProjectDataModel/RimVfpTableExtractor.cpp
ProjectDataModel/RimVfpPlot.cpp
)
if(RESINSIGHT_ENABLE_UNITY_BUILD) if(RESINSIGHT_ENABLE_UNITY_BUILD)
foreach(fileToExclude ${UNITY_EXCLUDE_FILES}) foreach(fileToExclude ${UNITY_EXCLUDE_FILES})