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

Commit 6462dba

Browse files
committed
build: update dist.cmake
1 parent 23a6191 commit 6462dba

File tree

2 files changed

+430
-105
lines changed

2 files changed

+430
-105
lines changed

CMakeLists.txt

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
# Copyright (C) 2007-2009 LuaDist.
1+
# Copyright (C) 2007-2011 LuaDist.
22
# Created by Peter Kapec
33
# Redistribution and use of this file is allowed according to the terms of the MIT license.
44
# For details see the COPYRIGHT file distributed with LuaDist.
55
# Please note that the package source code is licensed under its own license.
66

7-
PROJECT(cheese NONE)
8-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
9-
INCLUDE(dist.cmake)
7+
project ( cheese NONE )
8+
cmake_minimum_required ( VERSION 2.6 )
9+
include ( dist.cmake )
1010

11-
# Cheese modules
12-
INSTALL (FILES src/cheese.lua DESTINATION ${INSTALL_LMOD})
13-
INSTALL (FILES src/stream/file.lua src/stream/string.lua DESTINATION ${INSTALL_LMOD}/stream)
14-
INSTALL (FILES src/parsers.lua src/luap/luap.lua DESTINATION ${INSTALL_LMOD}/cheese)
15-
INSTALL (FILES src/luap/dump.lua DESTINATION ${INSTALL_LMOD}/cheese/luap)
16-
INSTALL (FILES README DESTINATION ${INSTALL_DATA})
17-
INSTALL (DIRECTORY doc/ DESTINATION ${INSTALL_DOC})
18-
INSTALL (DIRECTORY test/ DESTINATION ${INSTALL_TEST})
11+
install_lua_module ( cheese src/cheese.lua )
12+
install_lua_module ( stream.file src/stream/file.lua )
13+
install_lua_module ( stream.string src/stream/string.lua )
14+
install_lua_module ( cheese.parsers src/parsers.lua )
15+
install_lua_module ( cheese.luap src/luap/luap.lua )
16+
install_lua_module ( cheese.luap.dump src/luap/dump.lua )
17+
install_data ( README )
18+
install_doc ( doc/ )
19+
install_test ( test/ )
20+
21+
#FIX-path: add_lua_test ( test/test.lua )

0 commit comments

Comments
 (0)