mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Compare commits
No commits in common. "920f9a2d2ec238058d92bdeb15065942a4106c48" and "0eaf76c675337ae8d60cf09ca41cbb831cbd1922" have entirely different histories.
920f9a2d2e
...
0eaf76c675
5
.github/workflows/cmake.yml
vendored
5
.github/workflows/cmake.yml
vendored
@ -13,20 +13,23 @@ 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,6 +30,7 @@ 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,5 +18,8 @@
|
||||
*/
|
||||
|
||||
#include "blocks.h"
|
||||
#include "color.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
// endregion
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <cstdlib>
|
||||
|
||||
#include "color.h"
|
||||
#include "util.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
class BC1Block {
|
||||
|
@ -18,12 +18,9 @@
|
||||
*/
|
||||
|
||||
#include "color.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
#include "util.h"
|
||||
|
||||
// region Color32 implementation
|
||||
Color32::Color32() { set(0, 0, 0, 0xFF); }
|
||||
|
||||
|
@ -18,11 +18,14 @@
|
||||
*/
|
||||
|
||||
#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,12 +4,11 @@
|
||||
#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"
|
||||
|
1462
src/test/test.cpp
1462
src/test/test.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user