mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
create_test_sourcelist: use the full path to the driver
When using `FILE_SET` syntax, full paths to out-of-source files are needed as they are not searched for.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
create_test_sourcelist-full-filepath
|
||||
------------------------------------
|
||||
|
||||
* The :command:`create_test_sourcelist` command now provides a full path to
|
||||
the generated driver source file.
|
@@ -135,7 +135,7 @@ bool cmCreateTestSourceList(std::vector<std::string> const& args,
|
||||
{
|
||||
cmSourceFile* sf = mf.GetOrCreateSource(driver);
|
||||
sf->SetProperty("ABSTRACT", "0");
|
||||
sourceListValue = args[1];
|
||||
sourceListValue = driver;
|
||||
}
|
||||
for (i = testsBegin; i != tests.end(); ++i) {
|
||||
cmSourceFile* sf = mf.GetOrCreateSource(*i);
|
||||
|
Reference in New Issue
Block a user