Potney Switters
Potney Switters

Reputation: 3062

Run C++ netbeans project without netbeans

Well I have been developing an application in C++ with netbeans. Now comes the time that I want to use different tools to measure/test/improve my app, for example "valgrid" or a profiler. Netbeans has created a .o file for every pair of .h and .cpp classe I have plus the main.cpp. How do I link all this to run them from command line? On the run should I be thinking of the external libraries I added? I just need to find the executable and run it from command line.

Thanks ;)

Upvotes: 1

Views: 1128

Answers (1)

leo
leo

Reputation: 1117

You should be looking at writing a makefile. Here's a tutorial.

Upvotes: 5

Related Questions