ignore VS files

This commit is contained in:
Juraj Michalek
2015-05-02 12:37:16 +02:00
parent a21d9c88fd
commit 327da1dfc3
4 changed files with 12 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
.DS_Store
.gradle
build/
*.sou
*.sdf

View File

@@ -8,7 +8,7 @@ sources {
include "**/*.c"
}
exportedHeaders {
srcDir "../build/include"
srcDir "../build/include/SDL2"
}
}
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="sdl2" version="2.0.3" targetFramework="Native" />
<package id="sdl2.redist" version="2.0.3" targetFramework="Native" />
</packages>

View File

@@ -2,7 +2,9 @@
//
#include <stdio.h>
#include "SDL2/SDL.h"
#include "SDL.h"
// Linux build will probably need little bit different include
//#include "SDL2/SDL.h"
int main(int argc, char* argv[]) {
SDL_Window *win = NULL;
@@ -27,7 +29,7 @@ int main(int argc, char* argv[]) {
return 3;
}
bmp = SDL_LoadBMP("./smajlik.bmp");
bmp = SDL_LoadBMP("./src/main/resources/smajlik.bmp");
if (bmp == NULL){
printf("%s\n", SDL_GetError());
return 4;