[NeXus-definitions-tickets] [NeXusDefinitions] #218: "make clean" should remove dist directory

NeXus Base Classes and Instrument Definitions noreply at nexusformat.org
Sat Feb 18 15:47:54 GMT 2012


#218: "make clean" should remove dist directory
-------------------------+-------------------------------
 Reporter:  Pete Jemian  |       Owner:  Unassigned
     Type:  task         |      Status:  new
 Priority:  minor        |   Milestone:  release NXDL 1.0
Component:  general      |  Resolution:
 Keywords:               |
-------------------------+-------------------------------

Comment (by Pete Jemian):

 '''cmake''' has no ability to add dependencies to the {{{make clean}}}
 command

 Instead, the '''cmake''' documentation recommends an ''out-of-source
 build'', such as:
 * http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees
 * http://www.cs.swarthmore.edu/~adanner/tips/cmake.php
 * https://www.google.com/search?q=cmake+how+to+do+an+"out-of-source"

 The benefit of doing an out-of-source build is that none of the files
 created by cmake to make the build will be in the source tree, ''in
 theory''.   Since the {{{dist}}} directory is created as a result of cmake
 (and subsequent make), it will be in the ''out of source'' subdirectory.
 This works.


 An '''out of source''' build is possible for the NeXus definitions source
 using these commands:
 {{{
   svn co  https://svn.nexusformat.org/definitions/trunk definitions
   cd definitions
   mkdir build
   cd build
   cmake ..
   make
   make packages
 }}}

-- 
Ticket URL: <http://trac.nexusformat.org/definitions/ticket/218#comment:1>
NeXus Base Classes and Instrument Definitions <http://www.nexusformat.org/>
NeXus Base Classes and Instrument Definitions



More information about the NeXus-definitions-tickets mailing list