# HG changeset patch
# User Sean Farley <sean@mcs.anl.gov>
# Date 1335043541 18000
# Node ID 567bfa7e72269f06e9864b5e2e5c2652c74d0135
# Parent 526a427fdc16a55ee77fea3a7e270073e23f3eae
cmake: add generation of .dSYM bundle to +debug variant in port group
diff --git a/dports/_resources/port1.0/group/cmake-1.0.tcl b/dports/_resources/port1.0/group/cmake-1.0.tcl
a
|
b
|
|
72 | 72 | configure.universal_args-delete --disable-dependency-tracking |
73 | 73 | |
74 | 74 | variant debug description "Enable debug binaries" { |
75 | 75 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
76 | 76 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
| 77 | |
| 78 | post-destroot { |
| 79 | ui_debug "Generating debug symbols: find ${destroot}${prefix} -type f '(' -name '*.dylib' -or -name '*.so' ')' -exec dsymutil {} +" |
| 80 | system -W ${destroot}${prefix} "find . -type f '(' -name '*.dylib' -or -name '*.so' ')' -exec dsymutil {} +" |
| 81 | } |
77 | 82 | } |