14 lines
199 B
CMake
14 lines
199 B
CMake
|
|
cmake_minimum_required (VERSION 2.6)
|
|
project (lua)
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
|
|
|
|
file(GLOB SOURCE
|
|
"src/*.c"
|
|
)
|
|
|
|
add_library(lua ${SOURCE})
|
|
|
|
target_link_libraries(lua m)
|