Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
public:user_software:reorganization_of_the_software_collection [2011-11-07 17:52] – Lars Bahren | public:user_software:reorganization_of_the_software_collection [2011-11-08 12:03] – Lars Bahren | ||
---|---|---|---|
Line 7: | Line 7: | ||
- [[# | - [[# | ||
- [[#Summary of current status]] | - [[#Summary of current status]] | ||
+ | - [[# | ||
- [[# | - [[# | ||
Line 42: | Line 43: | ||
* Their group is Munich based, and so is quite isolated from LOFAR development -> difficult to find the right people to help them out with problems. | * Their group is Munich based, and so is quite isolated from LOFAR development -> difficult to find the right people to help them out with problems. | ||
* Uncertain of their CMake knowledge capabilities. | * Uncertain of their CMake knowledge capabilities. | ||
+ | |||
+ | ==== Suggested changes ==== | ||
+ | |||
+ | t.b.a. | ||
==== Changelog ==== | ==== Changelog ==== | ||
+ | * Demonstration of how to handle package in the case the source code is not part of the original checkout from the repository: the RM-Synthesis package now can be build both as part of a full check-out from the LUS code repository as well as being dynamically fetched in case the sources reside in another repository. <code cmake> | ||
+ | if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/ | ||
+ | ## | ||
+ | ## Package is part of the current code tree | ||
+ | ## | ||
+ | ExternalProject_Add (rm | ||
+ | PREFIX ${CMAKE_CURRENT_BINARY_DIR}/ | ||
+ | DOWNLOAD_DIR download | ||
+ | SOURCE_DIR source | ||
+ | URL ${CMAKE_CURRENT_SOURCE_DIR}/ | ||
+ | CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DRM_WITH_ITPP=${RM_WITH_ITPP} -DRM_WITH_ARMADILLO=${RM_WITH_ARMADILLO} | ||
+ | ) | ||
+ | else (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/ | ||
+ | ## | ||
+ | ## Package is not part of current code tree - fetch sources from repository | ||
+ | ## | ||
+ | ExternalProject_Add (rm | ||
+ | PREFIX ${CMAKE_CURRENT_BINARY_DIR}/ | ||
+ | DOWNLOAD_DIR download | ||
+ | SOURCE_DIR source | ||
+ | SVN_REPOSITORY http:// | ||
+ | CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DRM_WITH_ITPP=${RM_WITH_ITPP} -DRM_WITH_ARMADILLO=${RM_WITH_ARMADILLO} | ||
+ | ) | ||
+ | endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/ | ||
+ | </ | ||
* Merged contents of '' | * Merged contents of '' | ||
* Moving contents of '' | * Moving contents of '' |