Commit 466ff7b4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix codegen and codegen/tests generate/compile order

parent e9f6064b
SUBDIRS=tests
SUBDIRS=. tests
bin_SCRIPTS = @PACKAGE@-codegen
......
......@@ -2,9 +2,13 @@ noinst_PROGRAMS = test
test_LDADD = $(top_builddir)/lib/libUniSet.la
test_SOURCES = TestGen_SK.cc TestGen.cc TestGen-main.cc
TestGen_SK.cc TestGen-main.cc: ../@PACKAGE@-codegen testgen.src.xml ../*.xsl
chmod 'a+x' ../@PACKAGE@-codegen
./testgen.sh
GENERATED=TestGen_SK.h TestGen_SK.cc TestGen-main.cc
$(GENERATED): ../@PACKAGE@-codegen testgen.src.xml ../*.xsl
sh ../uniset-codegen --local-include -l --path ../ --ask -n TestGen testgen.src.xml
clean-local:
rm -rf *_SK.cc *_SK.h *-main.cc
\ No newline at end of file
rm -rf $(GENERATED)
all-local: $(GENERATED)
#!/bin/sh
cd ..
./uniset-codegen --local-include -l --ask -n TestGen tests/testgen.src.xml
mv -f TestGen* tests/
cd -
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment