ビルド時に生成するファイルを分ける

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@217 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-04-22 05:09:21 +00:00
parent f3ca6f34b1
commit 53e4f388aa
6 changed files with 7 additions and 7 deletions

View File

@ -57,7 +57,7 @@
#include "ResFont.h"
// svnリビジョン埋め込み用
#include "version.h"
#include "../../generated/ConsoleBackup/version.h"
#ifndef BACKUP_VERSION_NUM
#define BACKUP_VERSION_NUM 0
#endif

View File

@ -81,7 +81,7 @@ DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/_private/RepairTool.
include $(ROOT_OMAKE)/modulerules
VERSION_H = $(file version.h)
VERSION_H = $(file ../../generated/$(TARGET_PROGRAM)/version.h)
$(VERSION_H): $(SOURCES)
section

View File

@ -1,4 +1,4 @@
#!/bin/bash -f
cd ../
cd ../../generated/
echo "#define BACKUP_VERSION_NUM \"`svn info|grep 'Last Changed Rev:'| awk -F ':' '{print $2}'|tr -d '\n'| sed 's/ //g'`\"" > ./ConsoleBackup/version.h

View File

@ -50,7 +50,7 @@
#include "ResFont.h"
// svnリビジョン埋め込み用
#include "version.h"
#include "../../generated/ConsoleRestore/version.h"
#ifndef RESTORE_VERSION_NUM
#define RESOTRE_VERSION_NUM 0
#endif

View File

@ -87,11 +87,11 @@ DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/_private/RepairTool.
include $(ROOT_OMAKE)/modulerules
VERSION_H = $(file version.h)
VERSION_H = $(file ../../generated/$(TARGET_PROGRAM)/version.h)
$(VERSION_H): $(SOURCES)
section
bash genversion.sh
RequireSetup($(VERSION_H))
build: version.h $(DEFAULT_TARGETS)
build: $(VERSION_H) $(DEFAULT_TARGETS)

View File

@ -1,4 +1,4 @@
#!/bin/bash -f
cd ../
cd ../../generated/
echo "#define RESTORE_VERSION_NUM \"`svn info|grep 'Last Changed Rev:'| awk -F ':' '{print $2}'|tr -d '\n'| sed 's/ //g'`\"" > ./ConsoleRestore/version.h