Skip to content
Snippets Groups Projects
Forked from Alchemy Viewer / Alchemy Viewer
Source project has a limited visibility.
  • Nat Goodspeed's avatar
    eff6bbea
    DRTVWR-418: Emit less confusing error message when LL_BUILD not set. · eff6bbea
    Nat Goodspeed authored
    When LL_BUILD is not in the environment at autobuild configure time, important
    macros such as LL_WINDOWS aren't set. That means that platform-dependent
    macros such as LL_TYPEOF() aren't defined, which can produce obscure errors
    like this:
    
    indra\llcommon\llunittype.h(51): error C2226: syntax error :
    unexpected type 'S' (packages\llphysicsextensions\stub\LLPhysicsExtensionsStubImpl.cpp)
    10>          indra\llcommon\llunittype.h(52) :
    see reference to class template instantiation 'LLResultTypeAdd<S,T>' being compiled
    
    Make the CMake logic fail with a more readily-understood error in that case.
    eff6bbea
    History
    DRTVWR-418: Emit less confusing error message when LL_BUILD not set.
    Nat Goodspeed authored
    When LL_BUILD is not in the environment at autobuild configure time, important
    macros such as LL_WINDOWS aren't set. That means that platform-dependent
    macros such as LL_TYPEOF() aren't defined, which can produce obscure errors
    like this:
    
    indra\llcommon\llunittype.h(51): error C2226: syntax error :
    unexpected type 'S' (packages\llphysicsextensions\stub\LLPhysicsExtensionsStubImpl.cpp)
    10>          indra\llcommon\llunittype.h(52) :
    see reference to class template instantiation 'LLResultTypeAdd<S,T>' being compiled
    
    Make the CMake logic fail with a more readily-understood error in that case.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.