Skip to content

Commit

Permalink
OsiriXAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
rossetantoine committed Nov 17, 2014
1 parent eda9649 commit f93c375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsiriX_Lion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23902,7 +23902,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /usr/bin/perl;
shellScript = "#!/usr/bin/perl\n\nuse strict;\nuse File::Copy;\nuse File::Basename;\nmy $destination = \"$ENV{TARGET_BUILD_DIR}/$ENV{PUBLIC_HEADERS_FOLDER_PATH}\";\n\nmkdir $destination unless -d $destination;\nopen OsiriX_h, \">\", \"$destination/OsiriX.h\" or die $!;\n\nprint OsiriX_h \"#ifndef __OsiriX_API\\n#define __OsiriX_API\\n\\n\";\n\nmy @fromdirs = (\"$ENV{PROJECT_DIR}/cocoahttpserver\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/config\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmsr\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmdata\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/ofstd\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmnet\", \"$ENV{PROJECT_DIR}/VTKHeaders\", \"$ENV{PROJECT_DIR}/Nitrogen/Sources\", \"$ENV{PROJECT_DIR}/Nitrogen/Sources/JSON\", $ENV{PROJECT_DIR});\n\nforeach my $root (@fromdirs) {\n\topendir(DIR, $root);\n\t\n\tmy @files = readdir(DIR);\n\tforeach (@files) {\n\t\tmy $filename = $_;\n\t\tnext unless -f \"$root/$filename\" && $filename =~ /\\.h$/s;\n\t\tmy @args = ( \"cp\", \"-fp\", \"$root/$filename\", \"$destination/\".(basename $filename) );\n\t\tsystem(@args) == 0 or die \"Copy failed: $?\";\n\t\tprint OsiriX_h \"#include <OsiriXAPI/$filename>\\n\";\n\t}\n\t\n\tclosedir(DIR);\n}\n\nprint OsiriX_h \"\\n#endif\\n\";\nclose OsiriX_h;\n\nchdir \"$ENV{TARGET_BUILD_DIR}/$ENV{FULL_PRODUCT_NAME}\";\nsymlink \"Versions/Current/Headers\", \"Headers\";\n\nexit 0;";
shellScript = "#!/usr/bin/perl\n\nuse strict;\nuse File::Copy;\nuse File::Basename;\nmy $destination = \"$ENV{TARGET_BUILD_DIR}/$ENV{PUBLIC_HEADERS_FOLDER_PATH}\";\n\nmkdir $destination unless -d $destination;\nopen OsiriX_h, \">\", \"$destination/OsiriX.h\" or die $!;\n\nprint OsiriX_h \"#ifndef __OsiriX_API\\n#define __OsiriX_API\\n\\n\";\n\nmy @fromdirs = (\"$ENV{PROJECT_DIR}/OsiriXClasses/2D\",\"$ENV{PROJECT_DIR}/OsiriXClasses/3D\",\"$ENV{PROJECT_DIR}/OsiriXClasses/CPR\",\"$ENV{PROJECT_DIR}/OsiriXClasses/DICOMFiles\",\"$ENV{PROJECT_DIR}/OsiriXClasses/DICOMNetwork\",\"$ENV{PROJECT_DIR}/OsiriXClasses/GUI\",\"$ENV{PROJECT_DIR}/OsiriXClasses/OSI\",\"$ENV{PROJECT_DIR}/OsiriXClasses/ROI\",\"$ENV{PROJECT_DIR}/OsiriXClasses/Web\",\"$ENV{PROJECT_DIR}/cocoahttpserver\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/config\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmsr\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmdata\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/ofstd\", \"$ENV{PROJECT_DIR}/Binaries/dcmtk-source/dcmnet\", \"$ENV{PROJECT_DIR}/VTKHeaders\", \"$ENV{PROJECT_DIR}/Nitrogen/Sources\", \"$ENV{PROJECT_DIR}/Nitrogen/Sources/JSON\", $ENV{PROJECT_DIR});\n\nforeach my $root (@fromdirs) {\n\topendir(DIR, $root);\n\t\n\tmy @files = readdir(DIR);\n\tforeach (@files) {\n\t\tmy $filename = $_;\n\t\tnext unless -f \"$root/$filename\" && $filename =~ /\\.h$/s;\n\t\tmy @args = ( \"cp\", \"-fp\", \"$root/$filename\", \"$destination/\".(basename $filename) );\n\t\tsystem(@args) == 0 or die \"Copy failed: $?\";\n\t\tprint OsiriX_h \"#include <OsiriXAPI/$filename>\\n\";\n\t}\n\t\n\tclosedir(DIR);\n}\n\nprint OsiriX_h \"\\n#endif\\n\";\nclose OsiriX_h;\n\nchdir \"$ENV{TARGET_BUILD_DIR}/$ENV{FULL_PRODUCT_NAME}\";\nsymlink \"Versions/Current/Headers\", \"Headers\";\n\nexit 0;";
};
ABF307FB1443330100BBC96A /* Copy odt2pdf script */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit f93c375

Please sign in to comment.