Add a rule to the cli makefile to actually build TinyXML2
This commit is contained in:
parent
32bf275447
commit
065db3d9f6
3
Makefile
3
Makefile
|
@ -530,3 +530,6 @@ test/testunusedvar.o: test/testunusedvar.cpp test/testsuite.h lib/errorlogger.h
|
||||||
test/testvalueflow.o: test/testvalueflow.cpp test/testsuite.h lib/errorlogger.h lib/config.h lib/suppressions.h test/redirect.h lib/library.h lib/path.h lib/mathlib.h test/testutils.h lib/settings.h lib/standards.h lib/timer.h lib/tokenize.h lib/tokenlist.h lib/valueflow.h lib/token.h
|
test/testvalueflow.o: test/testvalueflow.cpp test/testsuite.h lib/errorlogger.h lib/config.h lib/suppressions.h test/redirect.h lib/library.h lib/path.h lib/mathlib.h test/testutils.h lib/settings.h lib/standards.h lib/timer.h lib/tokenize.h lib/tokenlist.h lib/valueflow.h lib/token.h
|
||||||
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CFG) $(CXXFLAGS) -std=c++0x -c -o test/testvalueflow.o test/testvalueflow.cpp
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CFG) $(CXXFLAGS) -std=c++0x -c -o test/testvalueflow.o test/testvalueflow.cpp
|
||||||
|
|
||||||
|
externals/tinyxml/tinyxml2.o: externals/tinyxml/tinyxml2.cpp externals/tinyxml/tinyxml2.h
|
||||||
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) -std=c++0x -c -o externals/tinyxml/tinyxml2.o externals/tinyxml/tinyxml2.cpp
|
||||||
|
|
||||||
|
|
|
@ -388,6 +388,7 @@ int main(int argc, char **argv)
|
||||||
compilefiles(fout, libfiles, "${INCLUDE_FOR_LIB}");
|
compilefiles(fout, libfiles, "${INCLUDE_FOR_LIB}");
|
||||||
compilefiles(fout, clifiles, "${INCLUDE_FOR_CLI}");
|
compilefiles(fout, clifiles, "${INCLUDE_FOR_CLI}");
|
||||||
compilefiles(fout, testfiles, "${INCLUDE_FOR_TEST}");
|
compilefiles(fout, testfiles, "${INCLUDE_FOR_TEST}");
|
||||||
|
compilefiles(fout, externalfiles, "${INCLUDE_FOR_LIB}");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue