mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-02-05 19:40:03 +08:00
makefile for GacGen
This commit is contained in:
68
Tools/Executables/GacGen/makefile
Normal file
68
Tools/Executables/GacGen/makefile
Normal file
@@ -0,0 +1,68 @@
|
||||
.PHONY: all clean pre-build
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
CPP_COMPILE_OPTIONS=-I ../../../Import -DVCZH_DEBUG_METAONLY_REFLECTION
|
||||
include $(VCPROOT)/vl/makefile-cpp
|
||||
|
||||
pre-build:
|
||||
if ! [ -d ./Bin ]; then mkdir ./Bin; fi
|
||||
if ! [ -d ./Obj ]; then mkdir ./Obj; fi
|
||||
if ! [ -d ./Coverage ]; then mkdir ./Coverage; fi
|
||||
|
||||
clean:
|
||||
if [ -d ./Bin ]; then rm -r ./Bin; fi
|
||||
if [ -d ./Obj ]; then rm -r ./Obj; fi
|
||||
if [ -d ./Coverage ]; then rm -r ./Coverage; fi
|
||||
|
||||
all:pre-build ./Bin/GacGen
|
||||
|
||||
./Bin/GacGen:./Obj/GacUI.o ./Obj/GacUICompiler.o ./Obj/GacUIReflection.o ./Obj/Vlpp.o ./Obj/Vlpp.Linux.o ./Obj/VlppGlrParser.o ./Obj/VlppOS.o ./Obj/VlppOS.Linux.o ./Obj/VlppParser.o ./Obj/VlppReflection.o ./Obj/VlppRegex.o ./Obj/VlppWorkflowCompiler.o ./Obj/VlppWorkflowLibrary.o ./Obj/VlppWorkflowRuntime.o ./Obj/GacGen.o ./Obj/Main.o
|
||||
$(CPP_LINK)
|
||||
|
||||
./Obj/GacUI.o: ../../../Import/GacUI.cpp ../../../Import/GacUI.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppParser.h ../../../Import/GacUIReflection.h ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowRuntime.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/GacUICompiler.o: ../../../Import/GacUICompiler.cpp ../../../Import/GacUICompiler.h ../../../Import/GacUIReflection.h ../../../Import/GacUI.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppParser.h ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowRuntime.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/GacUIReflection.o: ../../../Import/GacUIReflection.cpp ../../../Import/GacUIReflection.h ../../../Import/GacUI.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppParser.h ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowRuntime.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/Vlpp.o: ../../../Import/Vlpp.cpp ../../../Import/Vlpp.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/Vlpp.Linux.o: ../../../Import/Vlpp.Linux.cpp ../../../Import/Vlpp.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppGlrParser.o: ../../../Import/VlppGlrParser.cpp ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppOS.o: ../../../Import/VlppOS.cpp ../../../Import/VlppOS.h ../../../Import/Vlpp.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppOS.Linux.o: ../../../Import/VlppOS.Linux.cpp ../../../Import/VlppOS.h ../../../Import/Vlpp.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppParser.o: ../../../Import/VlppParser.cpp ../../../Import/VlppParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppReflection.o: ../../../Import/VlppReflection.cpp ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppRegex.o: ../../../Import/VlppRegex.cpp ../../../Import/VlppRegex.h ../../../Import/Vlpp.h ../../../Import/VlppOS.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppWorkflowCompiler.o: ../../../Import/VlppWorkflowCompiler.cpp ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowRuntime.h ../../../Import/VlppGlrParser.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppWorkflowLibrary.o: ../../../Import/VlppWorkflowLibrary.cpp ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/VlppWorkflowRuntime.o: ../../../Import/VlppWorkflowRuntime.cpp ../../../Import/VlppWorkflowRuntime.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/GacGen.o: GacGen.cpp GacGen.h ../../../Import/GacUICompiler.h ../../../Import/GacUIReflection.h ../../../Import/GacUI.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppParser.h ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowRuntime.h
|
||||
$(CPP_COMPILE)
|
||||
|
||||
./Obj/Main.o: Main.cpp GacGen.h ../../../Import/GacUICompiler.h ../../../Import/GacUIReflection.h ../../../Import/GacUI.h ../../../Import/VlppGlrParser.h ../../../Import/VlppReflection.h ../../../Import/VlppOS.h ../../../Import/Vlpp.h ../../../Import/VlppRegex.h ../../../Import/VlppWorkflowLibrary.h ../../../Import/VlppParser.h ../../../Import/VlppWorkflowCompiler.h ../../../Import/VlppWorkflowRuntime.h
|
||||
$(CPP_COMPILE)
|
||||
13
Tools/Executables/GacGen/vmake
Normal file
13
Tools/Executables/GacGen/vmake
Normal file
@@ -0,0 +1,13 @@
|
||||
<#
|
||||
CPP_TARGET=./Bin/GacGen
|
||||
CPP_VCXPROJS=(
|
||||
"GacGen.vcxproj"
|
||||
)
|
||||
CPP_REMOVES=(
|
||||
"../../../Import/Vlpp.Windows.cpp"
|
||||
"../../../Import/VlppOS.Windows.cpp"
|
||||
)
|
||||
TARGETS=("${CPP_TARGET}")
|
||||
CPP_COMPILE_OPTIONS="-I ../../../Import -DVCZH_DEBUG_METAONLY_REFLECTION"
|
||||
#>
|
||||
<#@ include "${VCPROOT}/vl/vmake-cpp" #>
|
||||
Reference in New Issue
Block a user