Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 7214c64

Browse files
author
kapec
committed
Added CMake build scripts for LuaDist
1 parent 8749ebd commit 7214c64

File tree

3 files changed

+466
-0
lines changed

3 files changed

+466
-0
lines changed

CMakeLists.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (C) 2011 LuaDist.
2+
# Created by Peter Kapec
3+
# Redistribution and use of this file is allowed according to the terms of the MIT license.
4+
# For details see the COPYRIGHT file distributed with LuaDist.
5+
# Please note that the package source code is licensed under its own license.
6+
7+
project(lpeg C)
8+
cmake_minimum_required(VERSION 2.6)
9+
include(dist.cmake)
10+
11+
install_lua_module(lpeg lpeg.c)
12+
install_lua_module(re re.lua)
13+
install_doc(doc.html lpeg-128.gif)
14+
install_test(test.lua)
15+
16+
add_lua_test(test.lua)

0 commit comments

Comments
 (0)