View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010448CMakeModulespublic2010-03-23 02:442010-12-14 18:50
ReporterFrank May 
Assigned ToDavid Cole 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010448: ExternalProject_Add does not work with existing SOURCE_DIR
DescriptionThe documentation says: "If SOURCE_DIR is explicitly set to an existing directory the project will be built from it." So I assume setting SOURCE_DIR explicitly is supposed to skip the download step and build directly from the existing source.

Unfortunately, this is not working, but results in the error message:
"please specify existing SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE, SVN_REPOSITORY or DOWNLOAD_COMMAND"
Additional InformationI tried the following command to include an automake-based sub-project that is part of the same repository as the main cmake-based project.

ExternalProject_Add(
  myproject
  PREFIX myproject
  SOURCE_DIR ${CMAKE_SOURCE_DIR}/myproject
  CONFIGURE_COMMAND <SOURCE_DIR>/configure
)

Copying the source directory is not an option, as that loses the dependencies on the original source files and future calls to make will not properly rebuild the sub-project.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0010346closedDavid Cole externalproject_add() does not work with only SOURCE_DIR given 

  Notes
(0020253)
David Cole (manager)
2010-04-19 11:51

this is the same issue reported in 10346... monitor that issue instead to find out when it's fixed...
(0024109)
David Cole (manager)
2010-12-14 18:50

Closing bugs that have been resolved for more than 3 months without any further updates.

 Issue History
Date Modified Username Field Change
2010-03-23 02:44 Frank May New Issue
2010-03-23 10:27 Bill Hoffman Status new => assigned
2010-03-23 10:27 Bill Hoffman Assigned To => David Cole
2010-04-19 11:51 David Cole Note Added: 0020253
2010-04-19 11:51 David Cole Relationship added duplicate of 0010346
2010-04-19 11:51 David Cole Duplicate ID 0 => 10346
2010-04-19 11:51 David Cole Status assigned => resolved
2010-04-19 11:51 David Cole Resolution open => duplicate
2010-12-14 18:50 David Cole Note Added: 0024109
2010-12-14 18:50 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team