-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Totto16/improve_ci
improve all ci's
- Loading branch information
Showing
18 changed files
with
180 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
#include "oopetris_wrapper.h" | ||
#include <c_wrapper/wrapper.h> | ||
|
||
#include <assert.h> | ||
#include <inttypes.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
_header_files = files( | ||
'windows.h', | ||
'wrapper.h', | ||
) | ||
|
||
src_files += files( | ||
'opaque_types.h', # not needed to be installed | ||
'wrapper.cpp', | ||
) | ||
|
||
install_headers( | ||
_header_files, | ||
install_dir: c_wrapper_include_dir, | ||
preserve_path: true, | ||
) | ||
|
||
src_files += _header_files | ||
|
||
subdir('thirdparty') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
#pragma once | ||
|
||
#include "oopetris_wrapper.h" | ||
#include "./wrapper.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
_header_files = files( | ||
'stb_ds.h', | ||
) | ||
|
||
install_headers( | ||
_header_files, | ||
install_dir: c_wrapper_include_dir / 'thirdparty', | ||
preserve_path: true, | ||
) | ||
|
||
src_files += _header_files |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
#if defined(_MSC_VER) | ||
#if defined(OOPETRIS_LIBRARY_C_WRAPPER_EXPORT) | ||
#define OOPETRIS_C_WRAPPER_EXPORTED __declspec(dllexport) | ||
#else | ||
#define OOPETRIS_C_WRAPPER_EXPORTED __declspec(dllimport) | ||
#endif | ||
#else | ||
#define OOPETRIS_C_WRAPPER_EXPORTED | ||
#endif | ||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.