Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10716 for code/trunk


Ignore:
Timestamp:
Oct 28, 2015, 10:56:16 PM (8 years ago)
Author:
landauf
Message:

let orxonox_main depend on plugins too. this means that every plugin needs to be built before orxonox-main (which is helpful for certain IDEs like Visual Studio).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/TargetUtilities.cmake

    r10624 r10716  
    346346    )
    347347    ADD_MODULE_OR_PLUGIN(${_target_name} ${CMAKE_PLUGIN_OUTPUT_DIRECTORY} ${PLUGIN_INSTALL_DIRECTORY} ${ORXONOX_PLUGIN_EXTENSION})
     348    # Ensure that the main program depends on the plugin
     349    SET(ORXONOX_MODULES ${ORXONOX_MODULES} ${_target_name} CACHE INTERNAL "")
    348350  ENDIF()
    349351
Note: See TracChangeset for help on using the changeset viewer.