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 2bc06e76
authored
Mar 16, 2020
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rawring
1 parent
f2065a83
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
5 deletions
.gitignore
CMakeLists.txt
Doxyfile.in
clean.sh
src/NitroWin/CMakeLists.txt
src/nde/CMakeLists.txt
src/ntk/CMakeLists.txt
.gitignore
View file @
2bc06e7
...
...
@@ -2,7 +2,8 @@
generated-doc
build
src/libnde/nde.h
src/libntk/ntk.h
Doxyfile
src/nde/nde.h
src/ntk/ntk.h
src/NitroWin/NitroWin.h
CMakeLists.txt
View file @
2bc06e7
...
...
@@ -6,6 +6,9 @@ set(CMAKE_PROJECT_VERSION_TWEAK ${GIT_COMMIT})
set
(
PROJECT_VERSION_TWEAK
${
GIT_COMMIT
}
)
set
(
Nitrogen_VERSION_TWEAK
${
GIT_COMMIT
}
)
configure_file
(
Doxyfile.in Doxyfile
)
execute_process
(
COMMAND doxygen
${
CMAKE_BINARY_DIR
}
/Doxyfile WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
set
(
CMAKE_CXX_STANDARD 14
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_BUILD_TYPE Debug
)
...
...
Doxyfile.in
View file @
2bc06e7
...
...
@@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "
Nitrogen Desktop Experience
"
PROJECT_NAME = "
@PROJECT_NAME@
"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER =
1.0.0.0
PROJECT_NUMBER =
@Nitrogen_VERSION_MAJOR@.@Nitrogen_VERSION_MINOR@.@Nitrogen_VERSION_PATCH@.@Nitrogen_VERSION_TWEAK@
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
...
...
clean.sh
View file @
2bc06e7
...
...
@@ -3,6 +3,7 @@
CMAKEFILES
=
`
find
*
-type d -name CMakeFiles
`
CMAKECACHE
=
`
find
*
-type f -name CMakeCache.txt
`
MAKEFILES
=
`
find
*
-type f -name Makefile
`
DOXYFILE
=
`
find
*
-type f -name Doxyfile
`
INSTALL
=
`
find
*
-type f -name cmake_install.cmake
`
PKGLIST
=
`
find
*
-type f -name install_manifest.txt
`
BUILDS
=
`
find
*
-type d -name build
`
...
...
@@ -10,7 +11,7 @@ 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"
FILES
=
"
Doxyfile
src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h"
if
[
-n
"
${
CMAKEFILES
}
"
]
;
then
echo
Removing CMakeFiles
...
...
@@ -27,6 +28,11 @@ if [ -n "${MAKEFILES}" ]; then
rm
${
MAKEFILES
}
fi
if
[
-n
"
${
DOXYFILE
}
"
]
;
then
echo
Removing Doxyfiles
rm
${
DOXYFILE
}
fi
if
[
-n
"
${
INSTALL
}
"
]
;
then
echo
Removing cmake_install.cmake
rm
${
INSTALL
}
...
...
src/NitroWin/CMakeLists.txt
View file @
2bc06e7
cmake_minimum_required
(
VERSION 3.10
)
project
(
NitroWin
)
configure_file
(
${
PROJECT_NAME
}
.h.in
${
PROJECT_NAME
}
.h
)
configure_file
(
${
CMAKE_BINARY_DIR
}
/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
execute_process
(
COMMAND doxygen Doxyfile WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
link_libraries
(
${
X11_LIBRARIES
}
)
...
...
src/nde/CMakeLists.txt
View file @
2bc06e7
cmake_minimum_required
(
VERSION 3.10
)
project
(
nde
)
configure_file
(
${
PROJECT_NAME
}
.h.in
${
PROJECT_NAME
}
.h
)
configure_file
(
${
CMAKE_BINARY_DIR
}
/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
execute_process
(
COMMAND doxygen Doxyfile WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
add_library
(
${
PROJECT_NAME
}
SHARED ndeMain.cpp
nitrogen/NPosition.cpp
...
...
src/ntk/CMakeLists.txt
View file @
2bc06e7
cmake_minimum_required
(
VERSION 3.10
)
project
(
ntk
)
configure_file
(
${
PROJECT_NAME
}
.h.in
${
PROJECT_NAME
}
.h
)
configure_file
(
${
CMAKE_BINARY_DIR
}
/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
execute_process
(
COMMAND doxygen Doxyfile WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
find_package
(
X11
)
find_library
(
BoehmGC gc-threaded
)
...
...
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