OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

How does the solution build determine whether or not to compile a plugin


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
dsargrad
User


Joined: 11 Apr 2015
Posts: 43

PostPosted: Sat Jun 11, 2016 11:41 am    Post subject:
How does the solution build determine whether or not to compile a plugin
Reply with quote

Hi,

I'm trying to figure out how the solution decides whether or not to build a plugin. Sometimes I see plugins built as in the following, sometimes not.

    ------ Build started: Project: Plugins dae, Configuration: Debug x64 ------
    190> Building Custom Rule C:/osg/OpenSceneGraph-3.4.0/OpenSceneGraph-3.4.0/src/osgPlugins/dae/CMakeLists.txt
    190> CMake does not need to re-run because C:\osg\OpenSceneGraph-3.4.0\build64\src\osgPlugins\dae\CMakeFiles\generate.stamp is up-to-date.


Its not clear to me which build file contains the logic that makes this decision. Please help me to understand where I can find that logic.


Thank you!

Cheers,
Dave
Back to top
View user's profile Send private message
dsargrad
User


Joined: 11 Apr 2015
Posts: 43

PostPosted: Sat Jun 11, 2016 11:58 am    Post subject:
Reply with quote

Hi,
I've discovered that you can turn on CMKAKE diagnostics to see if SETUP_PLUGIN is being called. Is it true that if you see an entry indicating that SETUP_PLUGIN has been called then that plugin should be placed into the solution for build? Or are there other factors that would cause a plugin not to be included within the solution? Where do I look in the build chain to determine whether or not the plugin has indeed been placed into the solution for build?

Code:
in -->SETUP_PLUGIN<-- dae-->daeReader.cpp;daeRAnimations.cpp;daeRGeometry.cpp;daeRMaterials.cpp;daeRSceneObjects.cpp;daeRSkinning.cpp;daeRTransforms.cpp;daeWAnimations.cpp;daeWGeometry.cpp;daeWMaterials.cpp;daeWriter.cpp;daeWSceneObjects.cpp;daeWTransforms.cpp;domSourceReader.cpp;ReaderWriterDAE.cpp <--> daeReader.h;daeWriter.h;domSourceReader.h;ReaderWriterDAE.h<--
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10982

PostPosted: Sat Jun 11, 2016 12:59 pm    Post subject:
How does the solution build determine whether or not to compile a plugin
Reply with quote

Hi

On 11 June 2016 at 12:58, Dave Sargrad <> wrote:
Quote:
Hi,
I've discovered that you can turn on CMKAKE diagnostics to see if SETUP_PLUGIN is being called. Is it true that if you see an entry indicating that SETUP_PLUGIN has been called then that plugin should be placed into the solution for build? Or are there other factors that would cause a plugin not to be included within the solution? Where do I look in the build chain to determine whether or not the plugin has indeed been placed into the solution for build?

The OpenSceneGraph/src/osgPlugins/CMakeLists.txt contains all the
references to the plugins. The optional plugins are enclosed in if ()
blocks where the test is usually checking for the presense of a 3rd
party dependency that that plugin requires.

The Find scripts that locate the 3rd part plugins are invoked in the
the OpenSceneGraph/CMakeLists.txt, just look for Find*().

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
dsargrad
User


Joined: 11 Apr 2015
Posts: 43

PostPosted: Sun Jun 12, 2016 10:39 am    Post subject:
Reply with quote

Thank You Sir.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Adding WOFF extension to freetype plugin robertosfield Submission 0 Mon Jul 17, 2017 3:48 pm View latest post
No new posts osg plugin couldn't load an osgb or i... first_gle General 2 Sat May 27, 2017 3:52 am View latest post
No new posts iOS build guide locked/checked out on... tomhog General 2 Fri Apr 21, 2017 10:43 pm View latest post
No new posts PLY Plugin uwew Submission 0 Sat Apr 08, 2017 6:26 am View latest post
No new posts Guidance on zip-plugin fix SMesserschmidt General 0 Thu Feb 16, 2017 1:59 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP