compile tests for everything except textedit, both C and C++
This commit is contained in:
parent
6d0bc14a25
commit
31897dfd7f
11
tests/compile_test.c
Normal file
11
tests/compile_test.c
Normal 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"
|
11
tests/compile_test_cpp.cpp
Normal file
11
tests/compile_test_cpp.cpp
Normal 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"
|
@ -21,6 +21,7 @@
|
|||||||
#define STB_NPTR
|
#define STB_NPTR
|
||||||
#define STB_DEFINE
|
#define STB_DEFINE
|
||||||
#include "stb.h"
|
#include "stb.h"
|
||||||
|
|
||||||
//#include "stb_file.h"
|
//#include "stb_file.h"
|
||||||
//#include "stb_pixel32.h"
|
//#include "stb_pixel32.h"
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# 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 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
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||||
@ -86,7 +86,19 @@ LINK32=link.exe
|
|||||||
# Name "stb - Win32 Debug"
|
# Name "stb - Win32 Debug"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\compile_test.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\stb.c
|
SOURCE=.\stb.c
|
||||||
# End Source File
|
# 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 Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@ -62,9 +62,10 @@ LINK32=link.exe
|
|||||||
# PROP Use_Debug_Libraries 1
|
# PROP Use_Debug_Libraries 1
|
||||||
# PROP Output_Dir "Debug"
|
# PROP Output_Dir "Debug"
|
||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# 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 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 BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@ -82,7 +83,19 @@ LINK32=link.exe
|
|||||||
# Name "stb_cpp - Win32 Debug"
|
# Name "stb_cpp - Win32 Debug"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\compile_test_cpp.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\stb_cpp.cpp
|
SOURCE=.\stb_cpp.cpp
|
||||||
# End Source File
|
# 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 Target
|
||||||
# End Project
|
# End Project
|
||||||
|
Loading…
Reference in New Issue
Block a user