Commit 2bc06e76 by Jessica Hawkwell

rawring

1 parent f2065a83
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
generated-doc generated-doc
build build
src/libnde/nde.h Doxyfile
src/libntk/ntk.h src/nde/nde.h
src/ntk/ntk.h
src/NitroWin/NitroWin.h src/NitroWin/NitroWin.h
...@@ -6,6 +6,9 @@ set(CMAKE_PROJECT_VERSION_TWEAK ${GIT_COMMIT}) ...@@ -6,6 +6,9 @@ set(CMAKE_PROJECT_VERSION_TWEAK ${GIT_COMMIT})
set(PROJECT_VERSION_TWEAK ${GIT_COMMIT}) set(PROJECT_VERSION_TWEAK ${GIT_COMMIT})
set(Nitrogen_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_CXX_STANDARD 14)
set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD 11)
set(CMAKE_BUILD_TYPE Debug) set(CMAKE_BUILD_TYPE Debug)
......
...@@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8 ...@@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places. # title of most generated pages and in a few other places.
# The default value is: My Project. # 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 # 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 # could be handy for archiving the generated documentation or if some version
# control system is used. # 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 # 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 # for a project that appears at the top of each page and should give viewer a
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
CMAKEFILES=`find * -type d -name CMakeFiles` CMAKEFILES=`find * -type d -name CMakeFiles`
CMAKECACHE=`find * -type f -name CMakeCache.txt` CMAKECACHE=`find * -type f -name CMakeCache.txt`
MAKEFILES=`find * -type f -name Makefile` MAKEFILES=`find * -type f -name Makefile`
DOXYFILE=`find * -type f -name Doxyfile`
INSTALL=`find * -type f -name cmake_install.cmake` INSTALL=`find * -type f -name cmake_install.cmake`
PKGLIST=`find * -type f -name install_manifest.txt` PKGLIST=`find * -type f -name install_manifest.txt`
BUILDS=`find * -type d -name build` BUILDS=`find * -type d -name build`
...@@ -10,7 +11,7 @@ CORES=`find * -type f -name "*.core"` ...@@ -10,7 +11,7 @@ CORES=`find * -type f -name "*.core"`
VIMS=`find * -type f -name "*~"` VIMS=`find * -type f -name "*~"`
DOC=`find * -type d -name generated-doc` 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 if [ -n "${CMAKEFILES}" ]; then
echo Removing CMakeFiles echo Removing CMakeFiles
...@@ -27,6 +28,11 @@ if [ -n "${MAKEFILES}" ]; then ...@@ -27,6 +28,11 @@ if [ -n "${MAKEFILES}" ]; then
rm ${MAKEFILES} rm ${MAKEFILES}
fi fi
if [ -n "${DOXYFILE}" ]; then
echo Removing Doxyfiles
rm ${DOXYFILE}
fi
if [ -n "${INSTALL}" ]; then if [ -n "${INSTALL}" ]; then
echo Removing cmake_install.cmake echo Removing cmake_install.cmake
rm ${INSTALL} rm ${INSTALL}
......
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
project (NitroWin) project (NitroWin)
configure_file(${PROJECT_NAME}.h.in ${PROJECT_NAME}.h) 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}) link_libraries(${X11_LIBRARIES})
......
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
project (nde) project (nde)
configure_file(${PROJECT_NAME}.h.in ${PROJECT_NAME}.h) 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 add_library(${PROJECT_NAME} SHARED ndeMain.cpp
nitrogen/NPosition.cpp nitrogen/NPosition.cpp
......
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
project (ntk) project (ntk)
configure_file(${PROJECT_NAME}.h.in ${PROJECT_NAME}.h) 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_package(X11)
find_library(BoehmGC gc-threaded) find_library(BoehmGC gc-threaded)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!