View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002644 | Slicer4 | Core: Extensions | public | 2012-10-15 08:21 | 2018-03-02 11:00 |
Reporter | markus-van-tol | Assigned To | jcfr | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.7.0 | Fixed in Version | |||
Summary | 0002644: Extensions built from template should create Config.cmake file | ||||
Description | Building extensions with the template results in extensions that cannot be used as dependencies for other extensions. | ||||
Additional Information | An example of the issue is here: | ||||
Tags | No tags attached. | ||||
Thanks Markus. This is very helpful. When the build system will be fixed, to compile the provided example, a manual build would be done using the following: cmake -DSlicer_DIR:PATH=/path/to/Slicer-Superbuild/Slicer-build -DIndependentExtension_DIR:PATH=/path/to/IndependentExtension-build ../DependentExtension This what the extension build system is already doing. See [1] [2] and [3]. We now need to implement the mechanism (and/or provide helper) allowing to create an extension config file. Thanks [1] https://github.com/Slicer/Slicer/blob/master/Extensions/CMake/SlicerBlockBuildPackageAndUploadExtensions.cmake#L127 |
|
For reference: http://slicer-devel.65872.n3.nabble.com/Linking-an-extension-to-a-separately-compiled-extension-tp4026413p4026439.html |
|
When done, also update the following page: http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/CreateLoadableModule The Config generated by default should expose variable like: <MODULENAME>_MODULE_WIDGETS_INCLUDE_DIRS <MODULENAME>_MODULE_LOGIC_INCLUDE_DIRS <MODULENAME>_MODULE_MRML_INCLUDE_DIRS |
|
// ----------------------------------------------------------- To see how to create a Config file, I would recommend to look at: // ----------------------------------------------------------- More particularly this commit:
[1] https://github.com/davidsansome/python-cmake-buildsystem/commit/73134d77881ae6648a8f98daaf8630130b7f54ea This was based on the explanation of Alexander Neundorf. See http://www.cmake.org/pipermail/cmake/2013-February/053689.html We should really update the following tutorial: http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file |
|
@jcfr Has this been fixed already or there are still things to do? |
|
This is now fixed. @lassoan added support for it. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-15 08:21 | markus-van-tol | New Issue | |
2012-10-15 08:21 | markus-van-tol | Status | new => assigned |
2012-10-15 08:21 | markus-van-tol | Assigned To | => jcfr |
2012-10-15 10:37 | jcfr | Target Version | => Slicer 4.2.0 - coming release |
2012-10-15 12:24 | jcfr | Note Added: 0006549 | |
2012-10-26 13:28 | jcfr | Target Version | Slicer 4.2.0 - coming release => Slicer 4.3.0 |
2012-10-30 08:31 | jcfr | Note Added: 0006906 | |
2012-11-02 13:02 | jcfr | Note Added: 0007025 | |
2012-11-02 13:02 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.2.1 |
2012-11-16 09:55 | jcfr | Target Version | Slicer 4.2.1 => Slicer 4.2.2 |
2012-12-06 14:38 | jcfr | Target Version | Slicer 4.2.2 => Slicer 4.2.3 |
2013-02-12 09:37 | jcfr | Target Version | Slicer 4.2.3 => Slicer 4.3.0 |
2013-06-14 10:11 | jcfr | Note Added: 0008769 | |
2013-08-27 08:56 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.4.0 |
2014-05-12 23:28 | jcfr | Status | assigned => acknowledged |
2014-05-12 23:28 | jcfr | Target Version | Slicer 4.4.0 => |
2014-05-12 23:29 | jcfr | Status | acknowledged => assigned |
2014-05-12 23:29 | jcfr | Assigned To | jcfr => matthew-woehlke |
2014-05-12 23:29 | jcfr | Priority | normal => low |
2014-05-12 23:29 | jcfr | Target Version | => Slicer 4.4.0 |
2014-07-30 19:04 | jcfr | Assigned To | matthew-woehlke => jcfr |
2014-07-30 19:04 | jcfr | Target Version | Slicer 4.4.0 => Slicer 4.5.0-1 |
2015-11-02 05:54 | jcfr | Target Version | Slicer 4.5.0-1 => Slicer 4.6.0 |
2016-10-12 04:33 | jcfr | Target Version | Slicer 4.6.0 => Slicer 4.7.0 |
2017-09-27 13:06 | lassoan | Note Added: 0015183 | |
2017-10-03 10:32 | jcfr | Status | assigned => resolved |
2017-10-03 10:32 | jcfr | Resolution | open => fixed |
2017-10-03 10:32 | jcfr | Note Added: 0015240 | |
2018-03-02 11:00 | jcfr | Status | resolved => closed |