Home | History | Annotate | Download | only in cmake
      1 ADD_DEFINITIONS(-DBUILDING_WITH_CMAKE=1)
      2 ADD_DEFINITIONS(-DHAVE_CONFIG_H=1)
      3 
      4 SET(WTF_INCLUDE_DIRECTORIES
      5     "${JAVASCRIPTCORE_DIR}"
      6     "${JAVASCRIPTCORE_DIR}/wtf"
      7     "${JAVASCRIPTCORE_DIR}/wtf/unicode"
      8     "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"
      9 )
     10 
     11 IF (WTF_OS_UNIX)
     12     ADD_DEFINITIONS(-DXP_UNIX)
     13 ENDIF (WTF_OS_UNIX)
     14 
     15 IF (MSVC)
     16     SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} /nologo /EP")
     17 ELSE ()
     18     SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -P -x c++")
     19 ENDIF ()
     20