gnSetup.h Source File

Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# gnSetup.h

Go to the documentation of this file.

    00001 /////////////////////////////////////////////////////////////////////////////
    00002 // File:            gn/gnSetup.h
    00003 // Purpose:         libGenome setup
    00004 // Description:     Defines os/compiler specific constants, etc.
    00005 //                  Included in gn/gnDefs.h.
    00006 // Rev:             A
    00007 // Author:          Aaron Darling
    00008 // Modified by:
    00009 // Copyright:       (c) Aaron Darling
    00010 // Licenses:
    00011
    00012 /////////////////////////////////////////////////////////////////////////////
    00013 #ifndef _gnSetup_h_
    00014 #define _gnSetup_h_
    00015
    00016 #include <stdlib.h>
    00017 using namespace std;    //introduces namespace std
    00018
    00019 #ifdef GN_GUI
    00020 #include "wx/wx_cw_d.h"
    00021 #endif
    00022
    00023 #ifdef GNMAKINGDLL   // build the libgenome dll
    00024 #define GNDLLEXPORT __declspec(dllexport)
    00025 #define GNDLLEXPORT_DATA(type) __declspec(dllexport) type
    00026 #elif defined(GNUSINGDLL)
    00027 // the project uses a libGenome as a dll
    00028 #define GNDLLEXPORT __declspec(dllimport)
    00029 #define GNDLLEXPORT_DATA(type) __declspec(dllimport) type
    00030 #else   // static linking
    00031 #define GNDLLEXPORT
    00032 #define GNDLLEXPORT_DATA
    00033 #endif
    00034
    00035 #endif
    00036         //_gnSetup_h_