Changeset 61


Ignore:
Timestamp:
05/30/13 16:15:09 (12 years ago)
Author:
melon
Message:

Modified LUA script to support Linux

Modified types.hh, still the header gives errors

Modified function in object.hh. By standarts, the typename is not needed

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/object.hh

    r57 r61  
    8282                 */
    8383                template< typename T >
    84                 typename T* get_parent_as() const
     84                //typename T* get_parent_as() const
     85                T* get_parent_as() const
    8586                {
    8687                        if ( !m_parent )
     
    8889                                return nullptr;
    8990                        }
    90                         return dynamic_cast<T>( m_parent )
     91                        return dynamic_cast<T>( m_parent );
    9192                }
    9293
  • trunk/nv/types.hh

    r58 r61  
    361361}
    362362
    363 #endif NV_TYPES_HH
     363#endif
     364
  • trunk/tests/render_test/premake4.lua

    r46 r61  
     1if _ACTION == nil then
     2        print "Error! You must specify target build"
     3        print "Example: ./premake4 gmake"
     4        print "    This will create makefiles for Linux"
     5        print ""
     6        print "Aborting!"
     7        print ""
     8        return
     9end
     10
    111solution "nv_render_test"
    212        configurations { "debug", "release" }
     
    414        language "C++"
    515        flags { "ExtraWarnings", "NoPCH" }
     16
     17        -- For starters, check the target build.
     18        -- If this is a gmake build we must add these
     19        -- flags to enable C++11 support.
     20        if _ACTION == "gmake" then
     21                buildoptions "-std=c++11"
     22        end
    623
    724        configuration "debug"
Note: See TracChangeset for help on using the changeset viewer.