Changeset 1625


Ignore:
Timestamp:
02/20/10 06:37:25 (11 years ago)
Author:
landlord
Message:

Added compile options to cmake (CS_ANTICASC, CS_LOGHISTORY, CS_WITH_GBOX, HAVE_DVBAPI), thanks to rorothetroll

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r1622 r1625  
    146146
    147147include (CheckIncludeFile)
     148if(CS_ANTICASC)
     149    add_definitions ("-DCS_ANTICASC")
     150endif(CS_ANTICASC)
     151
     152if(CS_LOGHISTORY)
     153    add_definitions ("-DCS_LOGHISTORY")
     154endif(CS_LOGHISTORY)
     155
     156if(CS_WITH_GBOX)
     157    add_definitions ("-DCS_WITH_GBOX")
     158endif(CS_WITH_GBOX)
     159
     160if(HAVE_DVBAPI)
     161    add_definitions ("-DHAVE_DVBAPI")
     162endif(HAVE_DVBAPI)
     163
    148164check_include_file ("pthread.h" HAVE_PTHREAD)
    149165if (HAVE_PTHREAD)
     
    235251
    236252
    237 
    238 
    239253check_include_file ("PCSC/wintypes.h" HAVE_PCSC)
    240254if (HAVE_PCSC)
     
    340354    target_link_libraries ( ${exe_name} rt nxp )
    341355endif (OSCamOperatingSystem MATCHES "Linux")
    342 
    343 if (WEBIF)
    344     add_definitions ("-DWEBIF")
    345 endif (WEBIF)
    346356
    347357#----------------------- put svnversion in the build ------------------------------
     
    478488    message (STATUS "  use system libusb functions")
    479489endif (HAVE_LIBUSB)
    480 if (WEBIF)
    481     message (STATUS "  Web interface enabled")
    482 endif (WEBIF)
    483490message (STATUS "")
  • trunk/README

    r1381 r1625  
    99
    1010- svn repository:
    11     http://oscam.ump2002.net/svn/oscam/trunk
     11    svn co http://streamboard.gmc.to/svn/oscam/trunk
    1212
    1313- wiki:
    14     http://trac.oscam.ump2002.net/
     14    http://streamboard.gmc.to/oscam
    1515
    1616Get sources from SVN
    1717--------------------
    1818
    19     svn co http://oscam.ump2002.net/svn/oscam/trunk oscam
     19    svn co http://streamboard.gmc.to/svn/oscam/trunk oscam-svn
    2020    cd oscam
    2121
     
    3030HAVE_DVBAPI   - enable DVB API support
    3131
     32Enable features with cmake:
     33
     34-DCS_ANTICASC=1   - enable anti-cascading
     35-DCS_LOGHISTORY=1 - enable log history
     36-DCS_WITH_GBOX=1  - enable gbox support
     37-DHAVE_DVBAPI=1   - enable DVB API support
    3238
    3339Build with CMake (new solution for building)
Note: See TracChangeset for help on using the changeset viewer.