Jump to content

  • Log In with Google      Sign In   
  • Create Account


fizzlesticks

Member Since 14 Sep 2012
Offline Last Active Jun 21 2013 04:51 PM

Topics I've Started

Conditional linking against already compiled library

08 May 2013 - 12:37 AM

Hello, I'm currently working on a game engine that includes networking using winsock. I compile the engine into a .lib and link to it in my game. However the game does not require networking and I'd like to not be forced to link with winsock for no reason.

 

The only way I can think of doing this is wrap all my net code with something like "#ifdef networking" and compile 2 versions of the engine, 1 with networking and 1 without, which would lead to a huge number of combinations if I want to do that same with other things such as physics or audio. Is there a better way of doing this?

Thanks.

 

p.s. sorry for the horrible title, I had no idea how to word that.


Compiling Kazmath

14 September 2012 - 11:47 AM

Can anybody tell me how to compile Kazmath? I've never been able to get CMake to work. Or maybe just have a link to a .lib/.dll to download. Thanks.

PARTNERS