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 +426
-101
lines changed Expand file tree Collapse file tree 2 files changed +426
-101
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 ( classlib NONE )
8
- CMAKE_MINIMUM_REQUIRED ( VERSION 2.6 )
9
- INCLUDE ( dist.cmake )
7
+ project ( classlib NONE )
8
+ cmake_minimum_required ( VERSION 2.6 )
9
+ include ( dist.cmake )
10
10
11
- # Install all files and documentation
12
- INSTALL (FILES classlib.lua unclasslib.lua DESTINATION ${INSTALL_LMOD} )
13
- INSTALL (FILES README classlib.doc classlib-summary.doc unclasslib-summary.doc DESTINATION ${INSTALL_DOC} )
14
- INSTALL (FILES account.lua multiple.lua nmultiple.lua nsingle.lua single.lua DESTINATION ${INSTALL_EXAMPLE} )
11
+ install_lua_module ( classlib classlib.lua )
12
+ install_lua_module ( unclasslib unclasslib.lua )
13
+ install_doc ( README classlib.doc classlib-summary.doc unclasslib-summary.doc )
14
+ install_example ( account.lua multiple.lua nmultiple.lua nsingle.lua single.lua )
15
+ install_test ( test .lua )
16
+
17
+ #FIX(doesn't import libs): add_lua_test ( test.lua )
You can’t perform that action at this time.
0 commit comments