Changeset 8113
- Timestamp:
- Mar 25, 2011, 2:39:52 AM (14 years ago)
- Location:
- code/branches/kicklib/cmake
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/cmake/PackageConfigOSX.cmake
r8094 r8113 44 44 SET(ENV{ALUTDIR} ${DEP_FRAMEWORK_DIR}) 45 45 SET(ENV{BOOST_ROOT} ${DEPENDENCY_PACKAGE_DIR}) 46 SET(ENV{CEGUIDIR} ${DEP_FRAMEWORK_DIR}) 47 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua) 48 SET(ENV{LUA5.1_DIR} ${DEP_INCLUDE_DIR}/lua) 46 SET(ENV{CEGUIDIR} ${DEP_FRAMEWORK_DIR}/CEGUI.framework) 47 SET(ENV{CEGUILUADIR} ${DEP_FRAMEWORK_DIR}/CEGUILuaScriptModule.framework) 48 SET(ENV{CEGUITOLUADIR} ${DEP_FRAMEWORK_DIR}/ceguitolua++.framework) 49 SET(ENV{LUA5.1_DIR} $ENV{CEGUILUADIR}/Versions/A/Resources/lua.framework 49 50 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}) 50 51 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}) -
code/branches/kicklib/cmake/tools/FindCEGUI.cmake
r8095 r8113 34 34 FIND_PATH(CEGUI_INCLUDE_DIR CEGUI.h 35 35 PATHS $ENV{CEGUIDIR} 36 PATH_SUFFIXES include include/CEGUI CEGUI.framework/Headers36 PATH_SUFFIXES include include/CEGUI Headers 37 37 ) 38 38 … … 44 44 NAMES CEGUIBase CEGUI 45 45 PATHS $ENV{CEGUIDIR} 46 PATH_SUFFIXES lib bin CEGUIBase.framework CEGUI.framework46 PATH_SUFFIXES lib bin 47 47 ) 48 48 FIND_LIBRARY(CEGUI_LIBRARY_DEBUG … … 56 56 # Find CEGUILua headers 57 57 FIND_PATH(CEGUILUA_INCLUDE_DIR CEGUILua.h 58 PATHS $ENV{CEGUIDIR} ${CEGUI_INCLUDE_DIR}/ScriptingModules/LuaScriptModule 59 PATH_SUFFIXES include include/CEGUI CEGUILuaScriptModule.framework/Headers 58 PATHS 59 $ENV{CEGUIDIR} 60 $ENV{CEGUILUADIR} 61 ${CEGUI_INCLUDE_DIR}/ScriptingModules/LuaScriptModule 62 PATH_SUFFIXES include include/CEGUI Headers 60 63 ) 61 64 # Find CEGUILua libraries 62 65 FIND_LIBRARY(CEGUILUA_LIBRARY_OPTIMIZED 63 66 NAMES CEGUILua CEGUILuaScriptModule 64 PATHS $ENV{CEGUIDIR} 65 PATH_SUFFIXES lib bin CEGUILuaScriptModule.framework67 PATHS $ENV{CEGUIDIR} $ENV{CEGUILUADIR} 68 PATH_SUFFIXES lib bin 66 69 ) 67 70 FIND_LIBRARY(CEGUILUA_LIBRARY_DEBUG 68 71 NAMES CEGUILuad CEGUILua_d CEGUILuaScriptModuled CEGUILuaScriptModule_d 69 PATHS $ENV{CEGUIDIR} 72 PATHS $ENV{CEGUIDIR} $ENV{CEGUILUADIR} 70 73 PATH_SUFFIXES lib bin 71 74 ) … … 79 82 # For newer CEGUI versions >= 0.7 80 83 ${CEGUILUA_INCLUDE_DIR}/support/tolua++ 81 # For Apples82 $ENV{CEGUI DIR}83 PATH_SUFFIXES ceguitolua++.framework/Headers84 NO_DEFAULT_PATH # MUST be in CEGUILUA_INCLUDE_DIR somewhere84 # For Mac OS X, tolua++ is a separate framework in the dependency package 85 $ENV{CEGUITOLUADIR} 86 PATH_SUFFIXES Headers 87 NO_DEFAULT_PATH # Don't attempt to find tolua++ installed on the system 85 88 ) 86 89 # Find CEGUI Tolua++ libraries 87 90 FIND_LIBRARY(CEGUI_TOLUA_LIBRARY_OPTIMIZED 88 91 NAMES CEGUItoluapp tolua++ ceguitolua++ 89 PATHS $ENV{CEGUIDIR} 90 PATH_SUFFIXES lib bin ceguitolua++.framework92 PATHS $ENV{CEGUIDIR} ${CEGUITOLUADIR} 93 PATH_SUFFIXES lib bin 91 94 ) 92 95 FIND_LIBRARY(CEGUI_TOLUA_LIBRARY_DEBUG 93 96 NAMES CEGUItoluappd CEGUItoluapp_d tolua++d tolua++_d 94 PATHS $ENV{CEGUIDIR} 97 PATHS $ENV{CEGUIDIR} ${CEGUITOLUADIR} 95 98 PATH_SUFFIXES lib bin 96 99 ) … … 101 104 # Find CEGUI OGRE Renderer headers 102 105 FIND_PATH(CEGUI_OGRE_RENDERER_INCLUDE_DIR CEGUIOgreRenderer.h 103 PATHS $ENV{CEGUIDIR} ${CEGUI_INCLUDE_DIR}/RendererModules/Ogre 104 PATH_SUFFIXES include include/CEGUI CEGUI.framework/Headers 106 PATHS 107 $ENV{CEGUIDIR} 108 $ENV{CEGUIOGRERENDERERDIR} 109 ${CEGUI_INCLUDE_DIR}/RendererModules/Ogre 110 PATH_SUFFIXES include include/CEGUI Headers 105 111 ) 106 112 # Find CEGUI OGRE Renderer libraries 107 113 FIND_LIBRARY(CEGUI_OGRE_RENDERER_LIBRARY_OPTIMIZED 108 114 NAMES CEGUIOgreRenderer 109 PATHS $ENV{CEGUIDIR} 115 PATHS $ENV{CEGUIDIR} $ENV{CEGUIOGRERENDERERDIR} 110 116 PATH_SUFFIXES lib bin 111 117 ) 112 118 FIND_LIBRARY(CEGUI_OGRE_RENDERER_LIBRARY_DEBUG 113 119 NAMES CEGUIOgreRendererd CEGUIOgreRenderer_d 114 PATHS $ENV{CEGUIDIR} 120 PATHS $ENV{CEGUIDIR} $ENV{CEGUIOGRERENDERERDIR} 115 121 PATH_SUFFIXES lib bin 116 122 ) -
code/branches/kicklib/cmake/tools/FindLua5.1.cmake
r7951 r8113 56 56 # Find include path 57 57 FIND_PATH(LUA5.1_INCLUDE_DIR lua.h 58 PATHS $ENV{LUA5.1_DIR} 59 PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include 58 PATHS $ENV{LUA5.1_DIR} $ENV{LUA_DIR} 59 PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include Headers 60 60 ) 61 61
Note: See TracChangeset
for help on using the changeset viewer.