summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObjectLibrary
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-18 16:07:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-02 21:12:56 (GMT)
commitfdcefe3c42fefdfcd27e6cf7b679f39cb99db4b9 (patch)
tree63c32eb63120ec2f6394112caa500ae9e3acad6b /Tests/RunCMake/ObjectLibrary
parentc355d10865ba0dbaef06d0eafe678627c875a5f5 (diff)
downloadCMake-fdcefe3c42fefdfcd27e6cf7b679f39cb99db4b9.zip
CMake-fdcefe3c42fefdfcd27e6cf7b679f39cb99db4b9.tar.gz
CMake-fdcefe3c42fefdfcd27e6cf7b679f39cb99db4b9.tar.bz2
cmGeneratorTarget: Compute consumed object libraries on demand.
Remove up-front object library computation from cmGlobalGenerator. Adjust tests for message coming from the generator expression evaluation.
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary')
-rw-r--r--Tests/RunCMake/ObjectLibrary/BadSourceExpression2-stderr.txt4
-rw-r--r--Tests/RunCMake/ObjectLibrary/BadSourceExpression3-stderr.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/BadSourceExpression2-stderr.txt b/Tests/RunCMake/ObjectLibrary/BadSourceExpression2-stderr.txt
index f1fcbe8..7060c61 100644
--- a/Tests/RunCMake/ObjectLibrary/BadSourceExpression2-stderr.txt
+++ b/Tests/RunCMake/ObjectLibrary/BadSourceExpression2-stderr.txt
@@ -1,4 +1,8 @@
CMake Error at BadSourceExpression2.cmake:1 \(add_library\):
+ Error evaluating generator expression:
+
+ \$<TARGET_OBJECTS:DoesNotExist>
+
Objects of target "DoesNotExist" referenced but no such target exists.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/ObjectLibrary/BadSourceExpression3-stderr.txt b/Tests/RunCMake/ObjectLibrary/BadSourceExpression3-stderr.txt
index ad14a35..838b3d8 100644
--- a/Tests/RunCMake/ObjectLibrary/BadSourceExpression3-stderr.txt
+++ b/Tests/RunCMake/ObjectLibrary/BadSourceExpression3-stderr.txt
@@ -1,4 +1,8 @@
CMake Error at BadSourceExpression3.cmake:2 \(add_library\):
+ Error evaluating generator expression:
+
+ \$<TARGET_OBJECTS:NotObjLib>
+
Objects of target "NotObjLib" referenced but is not an OBJECT library.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)