Boost logo

Boost-Build :

Subject: [Boost-build] How to generate .exe suffix under Cygwin only
From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2009-06-10 07:25:58


Hi, I have a small project that I am porting from Linux to Windows with Cygwin. Now I want to generate a .exe suffix for my executable only if it is compiled under Cygwin. When I build under Linux, it should not generate any suffix. How should I do this? Below my Jamfile I have so far. Thank you, Andrej project : requirements <os>CYGWIN:<define>_WIN32_WINNT=0x0501 <os>CYGWIN:<library-path>/usr/local/lib ; exe cap2net : [ glob *.cpp ] /site-config//boost_regex /site-config//boost_serialization /site-config//boost_date_time : <link>static : <define>BOOST_REGEX_RECURSIVE ; install $(INSTALL_PATH)/bin : cap2net ;


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk