mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
ビルド時に生成するファイルを分ける
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:
parent
f3ca6f34b1
commit
53e4f388aa
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user