#66 FREEGLUT_NO_LIB_PRAGMAS Macro

closed
nobody
Easy (28)
5
2012-11-20
2009-11-26
Anonymous
No

Please let the user chose if to use the Visual Studio pragmas for library linking.

file: freeglut_std.h
line: 49
edit: # ifndef FREEGLUT_LIB_PRAGMAS
new:# if !defined (FREEGLUT_LIB_PRAGMAS) && !defined ( FREEGLUT_NO_LIB_PRAGMAS )

Discussion

  • John F. Fay

    John F. Fay - 2010-01-04

    Since the build process would need to define a new macro anyway, would it be possible simply to define "FREEGLUT_LIB_PRAGMAS=0"? It would have the same effect.

     
  • Diederick C. Niehorster

    • status: open --> closed
     
  • Diederick C. Niehorster

    As per comments in freeglut_std.h, indeed, set FREEGLUT_LIB_PRAGMAS to 0
    for this functionality

     

Log in to post a comment.