can findCEGUI.cmake locate CEGUI dependencies?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

drsly
Just popping in
Just popping in
Posts: 7
Joined: Mon Jun 08, 2015 10:58

can findCEGUI.cmake locate CEGUI dependencies?

Postby drsly » Sat Dec 12, 2015 15:03

Hi all,

I'm having a play around with different versions of findCEGUI.cmake

Today I pulled up-to-date version from the repo.

Looking at the code I have to say I was impressed with the quality & effort put in to this.

I create a project for Ogre1.9 + CEGUI 0.8.4. Compiler is MS Visual Studio 2015. Windows 7 OS. CMake correctly picks up most relevant .dll and .lib files and settings for Ogre, OIS, CEGUI, even some items I previously had to hard code filenames for. Great.

However I still find myself having to hardcode for CEGUI dependencies:

Code: Select all

   install(FILES ${OGRE_BINARY_REL}
      ${OGRE_Overlay_BINARY_REL}
      ${OGRE_RenderSystem_Direct3D9_REL}
      ${OGRE_RenderSystem_Direct3D11_REL}
      ${OGRE_RenderSystem_GL_REL}
      ${OIS_BINARY_REL}
      ${CEGUI_BINARY_REL}
      ${CEGUI_OgreRenderer_BINARY_REL}
      C:/lib_msvc14/ceguideps_0_8/dependencies/bin/expat.dll
      C:/lib_msvc14/ceguideps_0_8/dependencies/bin/freetype.dll
      C:/lib_msvc14/ceguideps_0_8/dependencies/bin/pcre.dll
      DESTINATION bin
      CONFIGURATIONS Release RelWithDebInfo
   )


And also boost system .dll (the datetime and thread are static .lib and work ok):

Code: Select all

   install(FILES ${Boost_DATE_TIME_LIBRARY_RELEASE}
      ${Boost_THREAD_LIBRARY_RELEASE}
     ${Boost_LIBRARY_DIRS}/boost_system-vc140-mt-1_59.dll
      DESTINATION bin
      CONFIGURATIONS Release RelWithDebInfo
   )


As far as I can tell, there is no CMake variable populated with these info, so may I ask is there a way to avoid having to hardcode?

TIA

Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest