mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Compare commits
3 Commits
0eaf76c675
...
920f9a2d2e
Author | SHA1 | Date | |
---|---|---|---|
920f9a2d2e | |||
1e94f9010e | |||
1eea0c6dc8 |
5
.github/workflows/cmake.yml
vendored
5
.github/workflows/cmake.yml
vendored
@ -13,23 +13,20 @@ jobs:
|
||||
# cross-platform coverage.
|
||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}-${{ matrix.cc }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-latest
|
||||
name: "macOS Clang"
|
||||
cc: "clang"
|
||||
cxx: "clang++"
|
||||
- os: ubuntu-latest
|
||||
name: "Ubuntu Clang"
|
||||
cc: "clang-9"
|
||||
cxx: "clang++-9"
|
||||
- os: ubuntu-latest
|
||||
name: "Ubuntu GCC"
|
||||
cc: "gcc-10"
|
||||
cxx: "g++-10"
|
||||
- os: windows-latest
|
||||
name: "Windows MSVC"
|
||||
cc: "cl"
|
||||
cxx: "cl"
|
||||
|
||||
|
@ -30,7 +30,6 @@ target_compile_features(python_rgbcx PUBLIC cxx_std_20 c_std_11)
|
||||
target_compile_features(test_rgbcx PUBLIC cxx_std_20 c_std_11)
|
||||
|
||||
set_property(TARGET python_rgbcx test_rgbcx PROPERTY INTERPROCEDURAL_OPTIMIZATION True) #enable FLTO if available
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set_property(TARGET python_rgbcx test_rgbcx PROPERTY OSX_ARCHITECTURES_RELEASE x86_64 arm64) #Mach-O fat binary for arm and x86
|
||||
endif ()
|
||||
|
@ -18,8 +18,5 @@
|
||||
*/
|
||||
|
||||
#include "blocks.h"
|
||||
#include "color.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
// endregion
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <cstdlib>
|
||||
|
||||
#include "color.h"
|
||||
#include "util.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
class BC1Block {
|
||||
|
@ -18,9 +18,12 @@
|
||||
*/
|
||||
|
||||
#include "color.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
#include "util.h"
|
||||
|
||||
// region Color32 implementation
|
||||
Color32::Color32() { set(0, 0, 0, 0xFF); }
|
||||
|
||||
|
@ -18,14 +18,11 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "util.h"
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
#pragma pack(push, 1)
|
||||
class Color32 {
|
||||
public:
|
||||
public:
|
||||
union {
|
||||
struct {
|
||||
uint8_t R;
|
||||
|
@ -4,11 +4,12 @@
|
||||
#include "rgbcx.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
|
||||
#include "blocks.h"
|
||||
#include "color.h"
|
||||
|
1464
src/test/test.cpp
1464
src/test/test.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user