View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003572CMakeCMakepublic2006-08-01 18:592006-08-29 15:10
ReporterBrandon Van Every 
Assigned ToBrad King 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003572: INSTALL an empty directory
DescriptionInstalling an empty directory is sometimes necessary. It can be accomplished with

INSTALL(CODE "
  MESSAGE(STATUS \"Installing \${CMAKE_INSTALL_PREFIX}/myemptydir\")
  MAKE_DIRECTORY(\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/myemptydir\")
")

but this is somewhat arcane, requiring several levels of learning about escapes, absolute pathnames, and environmental evaluation at install time. A much simpler interface would be:

INSTALL(DIRECTORY DESTINATION myemptydir)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0004798)
Brad King (manager)
2006-08-29 15:09

The following changes add this feature to the recently created INSTALL(DIRECTORY) command. This will be included in CMake 2.4.4.

new revision: 1.15; previous revision: 1.14
/cvsroot/CMake/CMake/Source/cmFileCommand.cxx,v <-- cmFileCommand.cxx
/cvsroot/CMake/CMake/Source/cmInstallCommand.h,v <-- cmInstallCommand.h
new revision: 1.71; previous revision: 1.70
/cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v <-- cmInstallCommand.cxx
new revision: 1.15; previous revision: 1.14
/cvsroot/CMake/CMake/Tests/SimpleInstall/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.68; previous revision: 1.67
(0004799)
Brad King (manager)
2006-08-29 15:10

Oops, that log should be

/cvsroot/CMake/CMake/Source/cmFileCommand.cxx,v <-- cmFileCommand.cxx
new revision: 1.71; previous revision: 1.70
/cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v <-- cmInstallCommand.cxx
new revision: 1.15; previous revision: 1.14
/cvsroot/CMake/CMake/Source/cmInstallCommand.h,v <-- cmInstallCommand.h
new revision: 1.15; previous revision: 1.14
/cvsroot/CMake/CMake/Tests/SimpleInstall/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.68; previous revision: 1.67

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team