Minor changes, just some cleanup.
parent
7eeaa4dd5d
commit
1b38bd9678
|
@ -74,3 +74,5 @@ _deps
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/cmake,c++,visualstudiocode
|
# End of https://www.toptal.com/developers/gitignore/api/cmake,c++,visualstudiocode
|
||||||
|
|
||||||
build/
|
build/
|
||||||
|
.ccls
|
||||||
|
.ccls-cache/
|
||||||
|
|
|
@ -14,6 +14,12 @@ execute_process(
|
||||||
OUTPUT_VARIABLE GIT_COMMIT_MSG
|
OUTPUT_VARIABLE GIT_COMMIT_MSG
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
||||||
|
# Hacky way to get environment variables
|
||||||
|
execute_process(
|
||||||
|
COMMAND bash -c "echo $VIM"
|
||||||
|
OUTPUT_VARIABLE ISVIM
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
include_directories(${SDL2_INCLUDE_DIRS})
|
include_directories(${SDL2_INCLUDE_DIRS})
|
||||||
|
@ -27,3 +33,5 @@ string(REPLACE "\n" "\\n" GIT_COMMIT_MSG "${GIT_COMMIT_MSG}")
|
||||||
|
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
"-DGIT_COMMIT_MSG=\"${GIT_COMMIT_MSG}\"")
|
"-DGIT_COMMIT_MSG=\"${GIT_COMMIT_MSG}\"")
|
||||||
|
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DISVIM=${ISVIM}")
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
@ -8,8 +9,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "colors.h"
|
|
||||||
|
|
||||||
#ifndef __ceev_version
|
#ifndef __ceev_version
|
||||||
#define __ceev_version "0.1.1-devel"
|
#define __ceev_version "0.1.1-devel"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue