Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2011, 9:57:45 PM (13 years ago)
Author:
rgrieder
Message:

Also add tolua bind files to build units (for the sake of completeness ).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/cmake/tools/GenerateToluaBindings.cmake

    r8363 r8650  
    5858  )
    5959
    60   # Disable annoying GCC warnings
    6160  IF(CMAKE_COMPILER_IS_GNU)
     61    # Disable annoying GCC warnings
    6262    SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-w")
     63  ENDIF()
     64
     65  IF(MSVC)
     66    # Including the file in a build unit is impossible because CMAKE_CFG_INTDIR
     67    # exands to an expression that the compiler doesn't understand
     68    SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE)
    6369  ENDIF()
    6470
Note: See TracChangeset for help on using the changeset viewer.