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
-101
lines changed Expand file tree Collapse file tree 2 files changed +430
-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 Drahoš
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 (lualogging NONE )
8
- CMAKE_MINIMUM_REQUIRED ( VERSION 2.6 )
9
- INCLUDE ( dist.cmake )
7
+ project (lualogging NONE )
8
+ cmake_minimum_required ( VERSION 2.6 )
9
+ include ( dist.cmake )
10
10
11
- INSTALL (FILES README DESTINATION ${INSTALL_DATA} )
12
- INSTALL (DIRECTORY doc / DESTINATION ${INSTALL_DOC} )
13
- INSTALL (DIRECTORY tests/ DESTINATION ${INSTALL_TEST} )
14
- INSTALL (DIRECTORY src/logging DESTINATION ${INSTALL_LMOD} )
11
+ install_lua_module ( logging src/logging/logging.lua ) # note different path (move?)
12
+ install_lua_module ( logging.console src/logging/console.lua )
13
+ install_lua_module ( logging.emaiil src/logging/email.lua )
14
+ install_lua_module ( logging.file src/logging/file.lua )
15
+ install_lua_module ( logging.socket src/logging/socket.lua )
16
+ install_lua_module ( logging.sql src/logging/sql.lua )
17
+ install_data ( README )
18
+ install_doc ( doc )
19
+ install_test ( tests )
20
+
21
+ add_lua_test ( tests/test.lua ${CMAKE_CURRENT_SOURCE_DIR} /tests ) # FIX: paths
You can’t perform that action at this time.
0 commit comments