How does g ++ define Casablanca's stdafx.h definition?

  • Thread starter Thread starter arpamon
  • Start date Start date
A

arpamon

Guest
g++ -c server.cpp -o a.out -lboost_system -lcrypto -lssl -lcpprest

It takes about 11 seconds to compile.

I want to reduce compilation time by defining stdafx.h.


"-lboost_system -lcrypto -lssl -lcpprest" I want to compile this into stdafx.h and then simply compile it with

"g ++ server.cpp".


anyway if you can give me any advice it will help me a lot!!


Thank you all!

Sincerely, Ahmed

Continue reading...
 
Back
Top