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 

What is the SETUP_* in CMakeList.txt


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
gabriella seth
Guest





PostPosted: Fri Jan 05, 2018 2:53 am    Post subject:
What is the SETUP_* in CMakeList.txt
Reply with quote

Hi:


What are the SETUP_LIBRARY, SETUP_APPLICATION, SETUP_PLUGIN and so on, and where defined them?


Thanks!


Jieqian.Li
2018.1.5

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11923

PostPosted: Fri Jan 05, 2018 8:23 am    Post subject:
What is the SETUP_* in CMakeList.txt
Reply with quote

Hi Jieqian.Li,

On 5 January 2018 at 02:50, gabriella seth <> wrote:
Quote:
What are the SETUP_LIBRARY, SETUP_APPLICATION, SETUP_PLUGIN and so on, and
where defined them?

These are just convenience cmake functions for setting up OSG
libraries, application and plugins. These cmake functions only exist
because the OSG has hundreds of separate submodules & examples so it
makes sense to make it easier to set up the libs + applications with
same settings each time. They are defined in
OpenSceneGraph/CMakeModules/OsgMacroUtils.cmake.

When writing you own applications you wouldn't use these but roll your
own CMake scripts, the OpenSceneGraph/examples/CMakeExample provides a
bare bones CMakeLists.txt that illustrates how to create your own
build using CMake + OSG.


Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General 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 src/osgPluings/CMakeList.txt change r... Kristofer Tingdahl Submission 5 Thu Nov 21, 2013 3:53 pm View latest post
No new posts osgPresentation missing CmakeList.txt... Ralf Stokholm General 3 Thu Jun 25, 2009 6:33 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