Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
extras
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Openvibe Group
extras
Commits
cd3973b4
Commit
cd3973b4
authored
9 years ago
by
nfoy
Committed by
Serrière Guillaume
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Implement FindThirdLibraryCEGUI_Check.cmake
parent
febf9e70
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/demos/ssvep-mind-shooter/CMakeLists.txt
+3
-3
3 additions, 3 deletions
applications/demos/ssvep-mind-shooter/CMakeLists.txt
cmake-modules/FindThirdPartyCEGUI_Check.cmake
+41
-0
41 additions, 0 deletions
cmake-modules/FindThirdPartyCEGUI_Check.cmake
with
44 additions
and
3 deletions
applications/demos/ssvep-mind-shooter/CMakeLists.txt
+
3
−
3
View file @
cd3973b4
...
@@ -11,11 +11,11 @@ IF(NOT PATH_VRPN)
...
@@ -11,11 +11,11 @@ IF(NOT PATH_VRPN)
RETURN
()
RETURN
()
ENDIF
(
NOT PATH_VRPN
)
ENDIF
(
NOT PATH_VRPN
)
INCLUDE
(
"FindThirdPartyCEGUI"
)
INCLUDE
(
"FindThirdPartyCEGUI
_Check
"
)
IF
(
NOT
PATH_
CEGUI
)
IF
(
NOT CEGUI
_FOUND
)
MESSAGE
(
STATUS
" --> Not building
${
PROJECT_NAME
}
"
)
MESSAGE
(
STATUS
" --> Not building
${
PROJECT_NAME
}
"
)
RETURN
()
RETURN
()
ENDIF
(
NOT
PATH_
CEGUI
)
ENDIF
(
NOT CEGUI
_FOUND
)
FILE
(
GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl
)
FILE
(
GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl
)
ADD_EXECUTABLE
(
${
PROJECT_NAME
}
${
source_files
}
)
ADD_EXECUTABLE
(
${
PROJECT_NAME
}
${
source_files
}
)
...
...
This diff is collapsed.
Click to expand it.
cmake-modules/FindThirdPartyCEGUI_Check.cmake
0 → 100644
+
41
−
0
View file @
cd3973b4
# ---------------------------------
# Finds CEGUI toolkit
#
# Sets CEGUI_FOUND
# Sets CEGUI_LIBRARIES
# Sets CEGUI_LIBRARY_DIRS
# Sets CEGUI_LDFLAGS
# Sets CEGUI_LDFLAGS_OTHERS
# Sets CEGUI_INCLUDE_DIRS
# Sets CEGUI_CFLAGS
# Sets CEGUI_CFLAGS_OTHERS
# ---------------------------------
IF
(
OV_DISABLE_OGRE
)
MESSAGE
(
STATUS
" SKIPPED Ogre3D/OIS (CEGUI), disabled, no 3D ..."
)
RETURN
()
ENDIF
(
OV_DISABLE_OGRE
)
IF
(
WIN32
)
FIND_PATH
(
PATH_CEGUI cegui/include/CEGUI.h PATHS
${
OV_CUSTOM_DEPENDENCIES_PATH
}
/cegui
)
IF
(
PATH_CEGUI
)
SET
(
CEGUI_FOUND TRUE
)
SET
(
OgreCEGUIRenderer_FOUND TRUE
)
SET
(
CEGUI_INCLUDE_DIRS
${
PATH_CEGUI
}
/cegui/include
)
SET
(
CEGUI_LIBRARIES_DEBUG CEGUIBase_d CEGUIOgreRenderer_d
)
SET
(
CEGUI_LIBRARIES_RELEASE CEGUIBase CEGUIOgreRenderer
)
SET
(
CEGUI_LIBRARY_DIRS
${
PATH_CEGUI
}
/lib
)
ENDIF
(
PATH_CEGUI
)
ENDIF
(
WIN32
)
IF
(
UNIX
)
INCLUDE
(
"FindThirdPartyPkgConfig"
)
pkg_check_modules
(
CEGUI CEGUI
)
pkg_check_modules
(
OgreCEGUIRenderer CEGUI-OGRE
)
ENDIF
(
UNIX
)
IF
(
CEGUI_FOUND AND OgreCEGUIRenderer_FOUND
)
MESSAGE
(
STATUS
" Found CEGUI/OgreCEGUIRenderer..."
)
ELSE
(
CEGUI_FOUND AND OgreCEGUIRenderer_FOUND
)
MESSAGE
(
STATUS
" FAILED to find CEGUI/OgreCEGUIRenderer..."
)
ENDIF
(
CEGUI_FOUND AND OgreCEGUIRenderer_FOUND
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment