Question about complie

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
etsevenday1
Posts: 2
Joined: Wed Sep 17, 2014 12:02 pm

Question about complie

Post by etsevenday1 »

code from example HelloWorld

#ifdef _IRR_WINDOWS_
#pragma comment(lib, "Irrlicht.lib")


where does the engine define _IRR_WINDOWS_ ,I don't find it in the command line.
:lol:
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Question about complie

Post by CuteAlien »

In the Irrlicht headers. IrrCompileConfig.h to be exact.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
etsevenday1
Posts: 2
Joined: Wed Sep 17, 2014 12:02 pm

Re: Question about complie

Post by etsevenday1 »

CuteAlien wrote:In the Irrlicht headers. IrrCompileConfig.h to be exact.
thanks a lot ,that really help :D
Post Reply