Skip to content

Instantly share code, notes, and snippets.

@TheFloatingBrain
TheFloatingBrain / CMakeLists.txt
Created June 9, 2022 02:43
CMakeLists.txt to test early version of dimension3d conan package
cmake_minimum_required(VERSION 2.9)
project(Game) #LANGUAGE CXX)
set(CXX_STANDARD 20)
SET(GCC_COVERAGE_COMPILE_FLAGS "-g")
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
# Sources
@TheFloatingBrain
TheFloatingBrain / Dimension3DTest.cpp
Created June 7, 2022 05:39
A test to run with dimension3d compiled as a conan package.
#include <iostream>
#include <vector>
#include <dim/dimension3D.hpp>
int main( int argc, char** args )
{
std::cout << "Beggining Proper\n";
const dim::Vector2int size( 960, 640 );
dim::Window::open( "Dimension3D", 960, 640 );
std::cout << "SUCCESS: Window Initialized\n";
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,