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

Commit

Permalink
build: update dist.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
davidm committed Apr 5, 2011
1 parent d4061bc commit 6eb7211
Show file tree
Hide file tree
Showing 2 changed files with 426 additions and 102 deletions.
20 changes: 11 additions & 9 deletions CMakeLists.txt
@@ -1,15 +1,17 @@
# Copyright (C) 2007-2009 LuaDist.
# Copyright (C) 2007-2011 LuaDist.
# Created by Peter Drahoš
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the COPYRIGHT file distributed with LuaDist.
# Please note that the package source code is licensed under its own license.

PROJECT(luacov NONE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(dist.cmake)
project ( luacov NONE )
cmake_minimum_required ( VERSION 2.6 )
include ( dist.cmake )

install_lua_module ( luacov src/luacov.lua )
install_lua_module ( luacov.stats src/luacov/stats.lua )
install_lua_module ( luacov.tick src/luacov/tick.lua )
install_lua_executable ( luacov src/bin/luacov )
install_doc ( doc/ )
install_data ( README.md )

# Install all files and documentation
INSTALL (FILES src/luacov.lua DESTINATION ${INSTALL_LMOD})
INSTALL (DIRECTORY src/luacov DESTINATION ${INSTALL_LMOD})
INSTALL (FILES src/bin/luacov DESTINATION ${INSTALL_BIN})
INSTALL (DIRECTORY doc/ DESTINATION ${INSTALL_DOC})

0 comments on commit 6eb7211

Please sign in to comment.