Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
nitrogen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be9c14e1
authored
Mar 16, 2020
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating infrastructure
1 parent
f6faaf81
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
.gitignore
CMakeLists.txt
clean.sh
ver.sh
.gitignore
View file @
be9c14e
*-patched
generated-doc
build
src/libnde/nde.h
src/libntk/ntk.h
...
...
CMakeLists.txt
View file @
be9c14e
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
)
...
...
clean.sh
View file @
be9c14e
...
...
@@ -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
...
...
ver.sh
0 → 100755
View file @
be9c14e
#!/bin/sh
git info | grep -v Type | grep commit | awk
'{ print $2 }'
| grep -o
'......$'
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment