• bonnell's avatar
    Modified cmake build variables that we use, in order to get · 50d8963d
    bonnell authored
    a correct build on windows.  Newer global variables
    'do the right thing' with dlls. (A brief explanation further down).
    
    Added VISIT_PLUGIN_TARGET_PREFIX macro for plugins.  It modifies
    the prefix for a target, allowing plugins on windows to be located
    in a good place.  (The macro does nothing on non-windows).
    
    Updated GenerateCMake.h, and re-ran for all plugins to make the
    plugin mods easier.  As a result, all plot plugins now have 
    'ENGINE' defined, whereas only those that really needed it
    before were using it.
    
    
    Brief explanation of build var changes:
    
    global vars: 
        CMAKE_LIBRARY_OUTPUT_DIRECTORY 
        CMAKE_RUNTIME_OUTPUT_DIRECTORY 
        CMAKE_ARCHIVE_OUTPUT_DIRECTORY
    
    they replace: 
        LIBRARY_OUTPUT_PATH 
        EXECUTABLE_OUTPUT_PATH
        ARCHIVE_OUTPUT_PATH
    
    they initialize local target vars: 
        LIBRARY_OUTPUT_DIRECTORY
        RUNTIME_OUTPUT_DIRECTORY 
        ARCHIVE_OUTPUT_DIRECTORY
    
    The global vars are set in our root CMakeLists.txt, and
    can be overridden by setting the local var equivalent for 
    any target.
    
    
    
    git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@9724 18c085ea-50e0-402c-830e-de6fd14e8384
    50d8963d
CMakeLists.txt 2.68 KB