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 and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidm committed Mar 24, 2011
1 parent 6da1465 commit 11937f1
Show file tree
Hide file tree
Showing 2 changed files with 414 additions and 102 deletions.
19 changes: 9 additions & 10 deletions CMakeLists.txt
@@ -1,17 +1,16 @@
# 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(lascii85 C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(dist.cmake)
project ( lascii85 C )
cmake_minimum_required ( VERSION 2.6 )
include ( dist.cmake )

# Build
ADD_LUA_MODULE(ascii85 lascii85.c ascii85.def)
install_lua_module ( ascii85 lascii85.c ascii85.def )
install_data ( README )
install_test ( test.lua )

add_lua_test ( test.lua )

# Install all files and documentation
INSTALL (TARGETS ascii85 DESTINATION ${INSTALL_CMOD})
INSTALL (FILES README DESTINATION ${INSTALL_DATA})
INSTALL (FILES test.lua DESTINATION ${INSTALL_TEST})

0 comments on commit 11937f1

Please sign in to comment.