Commit be9c14e1 by Jessica Hawkwell

updating infrastructure

1 parent f6faaf81
Showing with 22 additions and 8 deletions
*-patched
generated-doc
build
src/libnde/nde.h
src/libntk/ntk.h
......
cmake_minimum_required (VERSION 3.10)
project(Nitrogen VERSION 1.0.0.0)
project(Nitrogen VERSION 1.0.0)
execute_process(COMMAND ./ver.sh OUTPUT_VARIABLE GIT_COMMIT OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CMAKE_PROJECT_VERSION_TWEAK ${GIT_COMMIT})
set(PROJECT_VERSION_TWEAK ${GIT_COMMIT})
set(Nitrogen_VERSION_TWEAK ${GIT_COMMIT})
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_C_STANDARD 11)
......
......@@ -5,9 +5,10 @@ CMAKECACHE=`find * -type f -name CMakeCache.txt`
MAKEFILES=`find * -type f -name Makefile`
INSTALL=`find * -type f -name cmake_install.cmake`
PKGLIST=`find * -type f -name install_manifest.txt`
VIMS=`find * -type f -name "*~"`
BUILDS=`find * -type d -name build`
CORES=`find * -type f -name "*.core"`
VIMS=`find * -type f -name "*~"`
DOC=`find * -type d -name generated-doc`
FILES="src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h"
......@@ -33,12 +34,7 @@ fi
if [ -n "${PKGLIST}" ]; then
echo Removing install manifsts
rm ${PKGLIST}
fi
if [ -n "${VIMS}" ]; then
echo Removing vim backups
rm ${VIMS}
rm -f ${PKGLIST}
fi
if [ -n "${BUILDS}" ]; then
......@@ -51,6 +47,16 @@ if [ -n "${CORES}" ]; then
rm ${CORES}
fi
if [ -n "${VIMS}" ]; then
echo Removing vim backups
rm ${VIMS}
fi
if [ -n "${DOC}" ]; then
echo Removing generated documentation
rm -rf ${DOC}
fi
if [ -d localized ]; then
echo Removing localized text
rm -rf localized
......
#!/bin/sh
git info | grep -v Type | grep commit | awk '{ print $2 }' | grep -o '......$'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!