File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ libopenage: $(BUILDDIR)
4545
4646.PHONY : codegen
4747codegen : $(BUILDDIR )
48- $(MAKE ) $(MAKEARGS ) -C $(BUILDDIR ) codegen
48+ $(MAKE ) $(MAKEARGS ) -C $(BUILDDIR ) cppgen
49+
50+ .PHONY : cppgen
51+ cppgen : $(BUILDDIR )
52+ $(MAKE ) $(MAKEARGS ) -C $(BUILDDIR ) cppgen
4953
5054.PHONY : pxdgen
5155pxdgen : $(BUILDDIR )
Original file line number Diff line number Diff line change 1- # Copyright 2014-2019 the openage authors. See copying.md for legal info.
1+ # Copyright 2014-2025 the openage authors. See copying.md for legal info.
22
33# set CODEGEN_SCU_FILE to the absolute path to SCU file
44macro (get_codegen_scu_file)
@@ -52,7 +52,7 @@ function(codegen_run)
5252 COMMENT "openage.codegen: generating c++ code"
5353 )
5454
55- add_custom_target (codegen
55+ add_custom_target (cppgen
5656 DEPENDS "${CODEGEN_TIMEFILE} "
5757 )
5858
Original file line number Diff line number Diff line change 1- # Copyright 2014-2019 the openage authors. See copying.md for legal info.
1+ # Copyright 2014-2025 the openage authors. See copying.md for legal info.
22
33# main C++ library definitions.
44# dependency and source file setup for the resulting library.
@@ -13,7 +13,7 @@ declare_binary(libopenage openage library allow_no_undefined)
1313set_target_properties (libopenage PROPERTIES
1414 VERSION 0
1515 AUTOMOC ON
16- AUTOGEN_TARGET_DEPENDS "codegen "
16+ AUTOGEN_TARGET_DEPENDS "cppgen "
1717)
1818
1919##################################################
You can’t perform that action at this time.
0 commit comments