Home | History | Annotate | Download | only in src
      1 # Copyright (c) PLUMgrid, Inc.
      2 # Licensed under the Apache License, Version 2.0 (the "License")
      3 
      4 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
      5 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
      6 
      7 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
      8 include_directories(${CMAKE_CURRENT_BINARY_DIR})
      9 
     10 if(NOT PYTHON_ONLY)
     11 add_subdirectory(cc)
     12 endif()
     13 if(ENABLE_CLANG_JIT)
     14 add_subdirectory(python)
     15 add_subdirectory(lua)
     16 endif()
     17