Show
Ignore:
Timestamp:
05/26/08 17:22:18 (6 months ago)
Author:
krobillard
Message:

Added thune-gl widget! datatype.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/CMakeLists.txt

    r518 r527  
    11project(Thune C) 
    22 
    3 # set(CMAKE_BUILD_TYPE Debug) 
    4 set(CMAKE_BUILD_TYPE Release) 
    5  
    6 # Config defines 
    7 add_definitions( 
    8         -DLANG_THUNE 
    9         -DUR_CONFIG_BZIP2 
    10         -DUR_CONFIG_TRIG 
    11         -DUR_CONFIG_MATH3D 
    12         -DUR_CONFIG_DATAFLOW 
    13         -DUR_CONFIG_NET 
    14         -DUR_CONFIG_MACROS 
    15 ) 
     3#set(CMAKE_BUILD_TYPE Debug) 
     4 set(CMAKE_BUILD_TYPE Release) 
    165 
    176 
     
    2211set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/") 
    2312 
     13 
     14# Config defines 
     15add_definitions( 
     16    -DLANG_THUNE 
     17    -DUR_CONFIG_BZIP2 
     18    -DUR_CONFIG_TRIG 
     19    -DUR_CONFIG_MATH3D 
     20    -DUR_CONFIG_DATAFLOW 
     21    -DUR_CONFIG_FCALC 
     22    -DUR_CONFIG_NET 
     23    -DUR_CONFIG_MACROS 
     24) 
     25 
     26if(CMAKE_BUILD_TYPE STREQUAL "Debug") 
     27    add_definitions(-DDEBUG) 
     28endif () 
     29 
     30 
    2431if (UNIX) 
    25         include_directories(. unix) 
    26         add_definitions(-std=c99 -pedantic -D_GNU_SOURCE) 
     32    include_directories(. unix) 
     33    add_definitions(-std=c99 -pedantic -D_GNU_SOURCE) 
    2734    set(OS_FILE unix/os.c) 
    2835endif () 
    2936 
    3037if (WIN32) 
    31         include_directories(. win32) 
     38    include_directories(. win32) 
    3239    set(OS_FILE win32/os.c) 
    3340endif () 
     
    3542 
    3643add_library(thune-lib SHARED 
    37         urlan.c 
    38         array.c 
    39         list.c 
    40         make.c 
    41         eval.c 
    42         thread.c 
    43         gc.c 
    44         tokenize.c 
    45         charset.c 
    46         context.c 
    47         print.c 
    48         series.c 
    49         parse.c 
    50         stdio.c 
    51         files.c 
    52         math.c 
    53         bignum.c 
    54         support/mt19937ar.c 
     44    urlan.c 
     45    array.c 
     46    list.c 
     47    make.c 
     48    eval.c 
     49    thread.c 
     50    gc.c 
     51    tokenize.c 
     52    charset.c 
     53    context.c 
     54    print.c 
     55    series.c 
     56    parse.c 
     57    stdio.c 
     58    files.c 
     59    math.c 
     60    bignum.c 
     61    support/mt19937ar.c 
    5562    ${OS_FILE} 
    5663)