Skip to content
Myr

test_cpp_compilation.cpp

This file

Path

tests/test_cpp_compilation.cpp

24 lines · 765 bytes · C++

Last changed by

various fixes for compilation testSean Barrettbefore adoptionb6f8358

History of this file

Take it

rename test files to be more meaningfulSean Barrettbefore adoption42bd3e2

lines 1–6why, one step back
1#define STB_TRUETYPE_IMPLEMENTATIOn
2#define STB_PERLIN_IMPLEMENTATION3#define STB_IMAGE_WRITE_IMPLEMENTATION4#define STB_DXT_IMPLEMENATION5#define STB_C_LEXER_IMPLEMENTATIOn6#define STB_DIVIDE_IMPLEMENTATION

Merge branch 'headerify'Sean Barrettbefore adoptionb96edc0

line 7why, one step back
7#define STB_IMAGE_IMPLEMENTATION

initial commitSean Barrettbefore adoption88c99e4

line 8why, one step back
8#define STB_HERRINGBONE_WANG_TILE_IMPLEMENTATION

various fixes for compilation testSean Barrettbefore adoptionb6f8358

line 9why, one step back
9#define STB_RECT_PACK_IMPLEMENTATION

rename test files to be more meaningfulSean Barrettbefore adoption42bd3e2

lines 10–16why, one step back
10
11#include "stb_truetype.h"12#include "stb_image_write.h"13#include "stb_perlin.h"14#include "stb_dxt.h"15#include "stb_c_lexer.h"16#include "stb_divide.h"

Merge branch 'headerify'Sean Barrettbefore adoptionb96edc0

line 17why, one step back
17#include "stb_image.h"

initial commitSean Barrettbefore adoption88c99e4

line 18why, one step back
18#include "stb_herringbone_wang_tile.h"

various fixes for compilation testSean Barrettbefore adoptionb6f8358

line 19why, one step back
19#include "stb_rect_pack.h"

fix c++ compilationSean Barrettbefore adoption1764701

line 20why, one step back
20

various fixes for compilation testSean Barrettbefore adoptionb6f8358

lines 21–22why, one step back
21#define STBTE_DRAW_RECT(x0,y0,x1,y1,color) do ; while(0)
22#define STBTE_DRAW_TILE(x,y,id,highlight,data) do ; while(0)

fix c++ compilationSean Barrettbefore adoption1764701

lines 23–24why, one step back
23#define STB_TILEMAP_EDITOR_IMPLEMENTATION
24#include "stb_tilemap_editor.h"