From 0dd6988a1e92752b9e87381a9167233c5a7ea9d8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 26 Feb 2013 23:08:42 +0000 Subject: add PHY headers to cmake's ketsji (else some IDE's won't show) --- build_files/cmake/macros.cmake | 4 +++- source/blender/editors/space_file/fsmenu.h | 2 +- source/gameengine/Ketsji/CMakeLists.txt | 12 ++++++++++++ source/gameengine/Ketsji/KX_IpoConvert.cpp | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index db27c4fe6d1..56ac48bfa61 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -143,7 +143,9 @@ macro(blender_source_group foreach(_SRC ${sources}) get_filename_component(_SRC_EXT ${_SRC} EXT) - if((${_SRC_EXT} MATCHES ".h") OR (${_SRC_EXT} MATCHES ".hpp")) + if((${_SRC_EXT} MATCHES ".h") OR + (${_SRC_EXT} MATCHES ".hpp") OR + (${_SRC_EXT} MATCHES ".hh")) source_group("Header Files" FILES ${_SRC}) else() source_group("Source Files" FILES ${_SRC}) diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h index 1b69eb09fce..eea7e0e3837 100644 --- a/source/blender/editors/space_file/fsmenu.h +++ b/source/blender/editors/space_file/fsmenu.h @@ -64,7 +64,7 @@ char *fsmenu_get_entry(struct FSMenu *fsmenu, FSMenuCategory category, int index /** Inserts a new fsmenu entry with the given \a path. * Duplicate entries are not added. - * \param sorted Should entry be inserted in sorted order? + * \param flag Options for inserting the entry. */ void fsmenu_insert_entry(struct FSMenu *fsmenu, FSMenuCategory category, const char *path, const FSMenuInsert flag); diff --git a/source/gameengine/Ketsji/CMakeLists.txt b/source/gameengine/Ketsji/CMakeLists.txt index 7f748013648..fa40dad21e7 100644 --- a/source/gameengine/Ketsji/CMakeLists.txt +++ b/source/gameengine/Ketsji/CMakeLists.txt @@ -222,6 +222,18 @@ set(SRC KX_VisibilityActuator.h KX_WorldInfo.h KX_WorldIpoController.h + + # orphan headers (not apart of a library) + ../Physics/common/PHY_DynamicTypes.h + ../Physics/common/PHY_ICharacter.h + ../Physics/common/PHY_IController.h + ../Physics/common/PHY_IGraphicController.h + ../Physics/common/PHY_IMotionState.h + ../Physics/common/PHY_IPhysicsController.h + ../Physics/common/PHY_IPhysicsEnvironment.h + ../Physics/common/PHY_IVehicle.h + ../Physics/common/PHY_Pro.h + ) add_definitions(-DGLEW_STATIC) diff --git a/source/gameengine/Ketsji/KX_IpoConvert.cpp b/source/gameengine/Ketsji/KX_IpoConvert.cpp index 9ec354ec840..57130bf57b2 100644 --- a/source/gameengine/Ketsji/KX_IpoConvert.cpp +++ b/source/gameengine/Ketsji/KX_IpoConvert.cpp @@ -25,7 +25,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -/** \file gameengine/Converter/KX_IpoConvert.cpp +/** \file gameengine/Ketsji/KX_IpoConvert.cpp * \ingroup bgeconv */ -- cgit v1.2.3