Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1101


Ignore:
Timestamp:
Apr 17, 2008, 3:27:57 PM (16 years ago)
Author:
rgrieder
Message:

added win32 for creating tolua bind files

Location:
code/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r1085 r1101  
    8686################ Source files ###################
    8787
    88 #At first, build lua
    89 MESSAGE(STATUS "\n******************* Building tolua... ******************\n\n")
    90 EXECUTE_PROCESS(COMMAND ./tolua-build)
    91 MESSAGE(STATUS "\n\n******************* Building tolua done ****************\n")
     88#if on a windows box, you have to generate the tolua bind files yourself
     89IF(NOT WIN32)
    9290
    93 #generate lua bind source files
    94 EXECUTE_PROCESS(COMMAND bin/./tolua-exec-script)
     91  #At first, build lua
     92  MESSAGE(STATUS "\n******************* Building tolua... ******************\n\n")
     93  EXECUTE_PROCESS(COMMAND ./tolua-build)
     94  MESSAGE(STATUS "\n\n******************* Building tolua done ****************\n")
     95
     96  #generate lua bind source files
     97  EXECUTE_PROCESS(COMMAND bin/./tolua-exec-script)
     98
     99ENDIF(NOT WIN32)
    95100
    96101#add main source dir
Note: See TracChangeset for help on using the changeset viewer.