PDA

View Full Version : How do you add project file to existing source files?



airbud
4th April 2012, 13:12
I have the Makefile a bunch of source files (.cpp, .h, etc) from a development project I downloaded. I was able to get it to build, run, and can edit, but I need to add a project file (.pro) so I can include a library. What is the best way to accomplish this?

Thanks

mentalmushroom
5th April 2012, 11:17
TEMPLATE = app
HEADERS = yourheader1.h yourheader2.h
SOURCES = yoursource1.cpp yoursource2.cpp

LIBS += "path\to\your\library.lib"