Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
15 lines (12 sloc) 0.509 kb
cmake_minimum_required(VERSION 2.6)
project(luaclang CXX)
find_package(Lua51 REQUIRED)
find_library(CLANG_LIBRARY NAMES clang libclang)
if(APPLE)
set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS
"${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} -flat_namespace -undefined dynamic_lookup")
endif(APPLE)
include_directories(${LUA_INCLUDE_DIR})
add_library(luaclang-parser MODULE luaclang-parser.cpp)
target_link_libraries(luaclang-parser ${CLANG_LIBRARY})
set_target_properties(luaclang-parser PROPERTIES PREFIX "")
Jump to Line
Something went wrong with that request. Please try again.