Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
93a6beb5
Commit
93a6beb5
authored
May 19, 2011
by
Sebastian Eichelbaum
Browse files
[CHANGE] - copy of resources works properly and doc targets added
parent
71a4dd1e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
40 deletions
+46
-40
doc/developer/doxygenConfig
doc/developer/doxygenConfig
+0
-3
doc/developer/doxygenConfigFull
doc/developer/doxygenConfigFull
+0
-3
src/CMakeLists.txt
src/CMakeLists.txt
+44
-2
src/core/CMakeLists.txt
src/core/CMakeLists.txt
+2
-1
tools/CMakeModules/CopyFonts.cmake
tools/CMakeModules/CopyFonts.cmake
+0
-10
tools/CMakeModules/CopyShellScripts.cmake
tools/CMakeModules/CopyShellScripts.cmake
+0
-9
tools/CMakeModules/CopyShellScriptsWin.cmake
tools/CMakeModules/CopyShellScriptsWin.cmake
+0
-12
No files found.
doc/developer/doxygenConfig
View file @
93a6beb5
...
...
@@ -613,9 +613,6 @@ RECURSIVE = YES
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = src/ext \
src/core/dataHandler/io/nifti \
src/core/dataHandler/io/biosig \
src/core/dataHandler/io/biosigWin \
src/core/common/platformDependent/visualStudio/inttypes.h \
src/modules/lic/fibernavigator \
src/modules/lic/fantom
...
...
doc/developer/doxygenConfigFull
View file @
93a6beb5
...
...
@@ -613,9 +613,6 @@ RECURSIVE = YES
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = src/ext \
src/core/dataHandler/io/nifti \
src/core/dataHandler/io/biosig \
src/core/dataHandler/io/biosigWin \
src/core/common/platformDependent/visualStudio/inttypes.h \
src/modules/lic/fibernavigator \
src/modules/lic/fantom
...
...
src/CMakeLists.txt
View file @
93a6beb5
...
...
@@ -174,12 +174,13 @@ INCLUDE_DIRECTORIES( ${OPENSCENEGRAPH_INCLUDE_DIRS} )
#
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# TODO(all): is this needed?
INCLUDE
(
FindPythonInterp
)
# -----------------------------------------------------------------------------------------------------------------------------------------------
# CXX Test
# See http://cxxtest.tigris.org
INCLUDE
(
FindPythonInterp
)
# Try to find it
FIND_PACKAGE
(
CxxTest QUIET
)
MARK_AS_ADVANCED
(
CXXTEST_PERL_TESTGEN_EXECUTABLE
)
...
...
@@ -254,3 +255,44 @@ ADD_SUBDIRECTORY( core )
# build core
# ADD_SUBDIRECTORY( qt4gui )
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#
# Resource Copy
# - This simply copies the structure from ../resources to the build directory
#
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# as all the resources with the correct directory structure reside in ../resources, this target is very easy to handle
SET
(
ResourcesPath
"
${
PROJECT_SOURCE_DIR
}
/../resources"
)
ADD_CUSTOM_TARGET
(
ResourceConfiguration
ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
"
${
ResourcesPath
}
"
"
${
PROJECT_BINARY_DIR
}
/"
COMMENT
"Copying resources to build directory"
)
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#
# Documentation
# - Call doxygen here
#
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#let doxygen do the work
ADD_CUSTOM_TARGET
(
doc
COMMAND doxygen
${
PROJECT_SOURCE_DIR
}
/../doc/developer/doxygenConfig
COMMAND chmod -R g+r
${
PROJECT_SOURCE_DIR
}
/../doc/developer/html
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/..
COMMENT
"Build doxygen documentation"
VERBATIM
)
# NOTE: this full documentation also includes call/caller graphs, colaboration graphs and nicer inheritance graphs
# but needs "dot" from graphviz to render them.
ADD_CUSTOM_TARGET
(
fulldoc
COMMAND doxygen
${
PROJECT_SOURCE_DIR
}
/../doc/developer/doxygenConfigFull
COMMAND chmod -R g+r
${
PROJECT_SOURCE_DIR
}
/../doc/developer/htmlFull
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/..
COMMENT
"Build verbose doxygen documentation"
VERBATIM
)
src/core/CMakeLists.txt
View file @
93a6beb5
...
...
@@ -54,7 +54,8 @@ TARGET_LINK_LIBRARIES( ${OWCoreName} ${OWExtBioSigName} ${OWExtEEPName} ${OWExtN
SETUP_TESTS
(
"
${
CORE_TEST_FILES
}
"
"
${
OWCoreName
}
"
""
)
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# Copy
Resource
s
# Copy
Shader
s
# ---------------------------------------------------------------------------------------------------------------------------------------------------
tools/CMakeModules/CopyFonts.cmake
deleted
100644 → 0
View file @
71a4dd1e
# this is a script that puts all fonts to the right place
#--------------------------------------------------------------------
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_BINARY_DIR
}
/bin/
${
SHARED_FILES_RELATIVE
}
/fonts
)
FILE
(
GLOB_RECURSE ALL_GE_FONTS
${
OW_SOURCE_DIR
}
/core/graphicsEngine/fonts/*
)
FOREACH
(
fname
${
ALL_GE_FONTS
}
)
#message( ${fname} )
configure_file
(
${
fname
}
${
CMAKE_BINARY_DIR
}
/bin/
${
SHARED_FILES_RELATIVE
}
/fonts/ COPYONLY
)
ENDFOREACH
(
fname
)
tools/CMakeModules/CopyShellScripts.cmake
deleted
100644 → 0
View file @
71a4dd1e
# this is a script that puts all needed shell scripts to the right place
#-----------------------------------------------------------------------
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_BINARY_DIR
}
)
FILE
(
GLOB_RECURSE ALL_SHELLSCRIPTS
${
OW_SOURCE_DIR
}
/../scripts/*
)
FOREACH
(
fname
${
ALL_SHELLSCRIPTS
}
)
#message( ${fname} )
configure_file
(
${
fname
}
${
CMAKE_BINARY_DIR
}
/bin/ COPYONLY
)
ENDFOREACH
(
fname
)
tools/CMakeModules/CopyShellScriptsWin.cmake
deleted
100644 → 0
View file @
71a4dd1e
# this is a script that puts all needed shell scripts to the right place
#-----------------------------------------------------------------------
SET
(
CMAKE_BINARY_DIRWIN
${
CMAKE_BINARY_DIR
}
/bin
)
message
(
${
CMAKE_BINARY_DIRWIN
}
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_BINARY_DIRWIN
}
)
FILE
(
GLOB_RECURSE ALL_SHELLSCRIPTS
${
OW_SOURCE_DIR
}
/../scripts/*
)
FOREACH
(
fname
${
ALL_SHELLSCRIPTS
}
)
#message( ${fname} )
configure_file
(
${
fname
}
${
CMAKE_BINARY_DIR
}
/bin/ COPYONLY
)
ENDFOREACH
(
fname
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment