Jump to content

  • Log In with Google      Sign In   
  • Create Account


Is there a tool that automatically copies lib-required headers at build time?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 19 February 2013 - 09:02 PM

I'm building my engine as a static library and from another project I'm linking to it and including the headers,however all it does is compile the entire thing again,it however works when I just put only the .lib and the .h files in a folder and include/link them from there to my second project(the actual game) (the first being the engine).Is there a way to automate this process?



Sponsor:

#2 King Mir   Members   -  Reputation: 1783

Like
0Likes
Like

Posted 20 February 2013 - 12:58 AM

Depends on your IDE/Build tools. make, the LCD of build tools can do this, but you IDE may have it's own way of specifying project dependency like this.

 

I'm also not sure what you mean by "all it does is compile the entire thing again", but you need to state your IDE regardless.



#3 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 20 February 2013 - 01:41 PM

Depends on your IDE/Build tools. make, the LCD of build tools can do this, but you IDE may have it's own way of specifying project dependency like this.

 

I'm also not sure what you mean by "all it does is compile the entire thing again", but you need to state your IDE regardless.


I'm on Visual Studio 2012, what I meant by compiling again is, that it goes trough the whole process of compiling them as if I just included the headers,  instead of just quickly linking the lib.(I use pragma comment to specify the .lib)



#4 EWClay   Members   -  Reputation: 655

Like
0Likes
Like

Posted 20 February 2013 - 02:50 PM

Where does it put the output of the library compilation? I think the default is the solution folder, so it will compile separately for every solution that includes it. You can change this in the property pages.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS