compile tests for everything except textedit, both C and C++

This commit is contained in:
Sean Barrett 2014-05-25 20:10:17 -07:00
parent 6d0bc14a25
commit 31897dfd7f
5 changed files with 50 additions and 2 deletions

11
tests/compile_test.c Normal file
View File

@ -0,0 +1,11 @@
#define STB_TRUETYPE_IMPLEMENTATIOn
#define STB_PERLIN_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define STB_DXT_IMPLEMENATION
#define STB_C_LEXER_IMPLEMENTATIOn
#include "stb_truetype.h"
#include "stb_image_write.h"
#include "stb_perlin.h"
#include "stb_dxt.h"
#include "stb_c_lexer.h"

View File

@ -0,0 +1,11 @@
#define STB_TRUETYPE_IMPLEMENTATIOn
#define STB_PERLIN_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define STB_DXT_IMPLEMENATION
#define STB_C_LEXER_IMPLEMENTATIOn
#include "stb_truetype.h"
#include "stb_image_write.h"
#include "stb_perlin.h"
#include "stb_dxt.h"
#include "stb_c_lexer.h"

View File

@ -21,6 +21,7 @@
#define STB_NPTR
#define STB_DEFINE
#include "stb.h"
//#include "stb_file.h"
//#include "stb_pixel32.h"

View File

@ -66,7 +66,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /GX /Zd /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
@ -86,7 +86,19 @@ LINK32=link.exe
# Name "stb - Win32 Debug"
# Begin Source File
SOURCE=.\compile_test.c
# End Source File
# Begin Source File
SOURCE=.\stb.c
# End Source File
# Begin Source File
SOURCE=..\stb_image.c
# End Source File
# Begin Source File
SOURCE=..\stb_vorbis.c
# End Source File
# End Target
# End Project

View File

@ -62,9 +62,10 @@ LINK32=link.exe
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /GX /Zd /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
@ -82,7 +83,19 @@ LINK32=link.exe
# Name "stb_cpp - Win32 Debug"
# Begin Source File
SOURCE=.\compile_test_cpp.cpp
# End Source File
# Begin Source File
SOURCE=.\stb_cpp.cpp
# End Source File
# Begin Source File
SOURCE=..\stb_image.c
# End Source File
# Begin Source File
SOURCE=..\stb_vorbis.c
# End Source File
# End Target
# End Project