This repository was archived by the owner on Nov 20, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +430
-105
lines changed Expand file tree Collapse file tree 2 files changed +430
-105
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (C) 2007-2009 LuaDist.
1
+ # Copyright (C) 2007-2011 LuaDist.
2
2
# Created by Peter Kapec
3
3
# Redistribution and use of this file is allowed according to the terms of the MIT license.
4
4
# For details see the COPYRIGHT file distributed with LuaDist.
5
5
# Please note that the package source code is licensed under its own license.
6
6
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 )
10
10
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 )
You can’t perform that action at this time.
0 commit comments