CMake/Tests/RunCMake/ObjectLibrary
Brad King 2c470b775a add_library: Allow arbitrary non-linked sources in OBJECT libraries
Loosen this restriction on OBJECT libraries to allow source files of any
name to be generated by custom commands or listed for reference in IDE
projects so long as they would not affect linking of a normal library.
Update the rejection message to be more specific about the looser
restriction.

Extend the ObjectLibrary test to cover a ".cmake" file generated by a
custom command in an OBJECT library.
2014-07-09 09:43:42 -04:00
..
BadObjSource1-result.txt
BadObjSource1-stderr.txt add_library: Allow arbitrary non-linked sources in OBJECT libraries 2014-07-09 09:43:42 -04:00
BadObjSource1.cmake
BadObjSource2-result.txt
BadObjSource2-stderr.txt add_library: Allow arbitrary non-linked sources in OBJECT libraries 2014-07-09 09:43:42 -04:00
BadObjSource2.cmake
BadSourceExpression1-result.txt
BadSourceExpression1-stderr.txt
BadSourceExpression1.cmake
BadSourceExpression2-result.txt
BadSourceExpression2-stderr.txt
BadSourceExpression2.cmake
BadSourceExpression3-result.txt
BadSourceExpression3-stderr.txt
BadSourceExpression3.cmake
CMakeLists.txt
Export-result.txt
Export-stderr.txt
Export.cmake
Import-result.txt
Import-stderr.txt
Import.cmake
Install-result.txt
Install-stderr.txt
Install.cmake
LinkObjLHS-result.txt
LinkObjLHS-stderr.txt
LinkObjLHS.cmake
LinkObjRHS1-result.txt
LinkObjRHS1-stderr.txt
LinkObjRHS1.cmake
LinkObjRHS2-result.txt
LinkObjRHS2-stderr.txt
LinkObjRHS2.cmake
MissingSource-result.txt
MissingSource-stderr.txt
MissingSource.cmake
ObjWithObj-result.txt
ObjWithObj-stderr.txt
ObjWithObj.cmake
PostBuild-result.txt
PostBuild-stderr.txt
PostBuild.cmake
PreBuild-result.txt
PreBuild-stderr.txt
PreBuild.cmake
PreLink-result.txt
PreLink-stderr.txt
PreLink.cmake
RunCMakeTest.cmake
a.c
bad.def
bad.obj