builds on debian
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
project(vis-cosets)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
project(cosets)
|
|
||||||
|
|
||||||
add_custom_target(shaders ALL DEPENDS shader_output)
|
add_custom_target(shaders ALL DEPENDS shader_output)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT shader_output
|
OUTPUT shader_output
|
||||||
@@ -7,18 +5,16 @@ add_custom_command(
|
|||||||
COMMENT "copying shaders"
|
COMMENT "copying shaders"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME}
|
add_executable(cosets
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
src/util/files.cpp
|
src/util/files.cpp
|
||||||
src/util/numeric.cpp
|
src/util/numeric.cpp
|
||||||
src/util/shader.cpp
|
src/util/shader.cpp
|
||||||
src/util/window.cpp)
|
src/util/window.cpp)
|
||||||
|
|
||||||
target_include_directories(${PROJECT_NAME} PRIVATE include)
|
target_include_directories(cosets PRIVATE include)
|
||||||
|
|
||||||
add_dependencies(cosets shaders)
|
add_dependencies(cosets shaders)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(cosets
|
||||||
PRIVATE glad glm glfw)
|
PRIVATE glad glm glfw)
|
||||||
|
|
||||||
add_executable(combos src/combos.cpp)
|
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
__declspec(dllexport) int NvOptimusEnablement = 0x00000001;
|
|
||||||
}
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class CosetsWindow : public Window {
|
class CosetsWindow : public Window {
|
||||||
|
|||||||
Reference in New Issue
Block a user