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 

Installing OSG as a submodule and CMake's add_subdirectory?


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


Joined: 03 Jul 2015
Posts: 3

PostPosted: Mon Jan 25, 2016 11:32 pm    Post subject:
Installing OSG as a submodule and CMake's add_subdirectory?
Reply with quote

I really dislike the idea of having to install an SDK or a library to start working on my projects. That's why i usually add libraries as submodules on my git projects and use CMake to statically link them to my application. Here's a similar workflow:

http://github.com/Polytonic/Glitter

Bullet, Assimp, GLFW and others are added as submodules and, when i CMake my project, they get built and linked together. Much easier for everyone involved, self-contained and modular. Anyway, i've been looking for a way to do this with OSG without any luck. The whole building process seems very complex. Is there any way to achieve a similar workflow with this engine?
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 Updated Find3rdPartyDependencies.cmake zonk Submission 2 Wed Mar 22, 2017 3:55 pm View latest post
No new posts osgQt and osg (CMake) Trajce Nikolov NICK General 9 Tue Jan 10, 2017 12:09 am View latest post
No new posts CMake: 3rdPartyPackages - extended to... robertosfield Submission 1 Wed Dec 21, 2016 5:10 pm View latest post
No new posts Cmake changes zonk Submission 0 Tue Dec 06, 2016 12:16 pm View latest post
No new posts Disabling plugins via CMake sam General 4 Tue Nov 08, 2016 1:05 am 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