mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added Build Phase which calls script to create git-revision.h under Xcode
This commit is contained in:
parent
2fc1758ac8
commit
20d70dbef2
@ -115,6 +115,7 @@
|
|||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = D52BA30313999DB0000458E3 /* Build configuration list for PBXNativeTarget "elogd" */;
|
buildConfigurationList = D52BA30313999DB0000458E3 /* Build configuration list for PBXNativeTarget "elogd" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
|
D5132F2C19DE9DE00005CE87 /* Run Script */,
|
||||||
D52BA2F613999DB0000458E3 /* Sources */,
|
D52BA2F613999DB0000458E3 /* Sources */,
|
||||||
D52BA2F713999DB0000458E3 /* Frameworks */,
|
D52BA2F713999DB0000458E3 /* Frameworks */,
|
||||||
D52BA2F813999DB0000458E3 /* CopyFiles */,
|
D52BA2F813999DB0000458E3 /* CopyFiles */,
|
||||||
@ -154,6 +155,23 @@
|
|||||||
};
|
};
|
||||||
/* End PBXProject section */
|
/* End PBXProject section */
|
||||||
|
|
||||||
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
|
D5132F2C19DE9DE00005CE87 /* Run Script */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Run Script";
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "echo \\#define GIT_REVISION \\\"`git log -n 1 --pretty=format:\"%ad - %h\"`\\\" > /elog/src/git-revision.h";
|
||||||
|
};
|
||||||
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
D52BA2F613999DB0000458E3 /* Sources */ = {
|
D52BA2F613999DB0000458E3 /* Sources */ = {
|
||||||
isa = PBXSourcesBuildPhase;
|
isa = PBXSourcesBuildPhase;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user