This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update dist.cmake and run tests
- Loading branch information
Showing
2 changed files
with
414 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}) |
Oops, something went wrong.