Project setup, and high-level class
This commit is contained in:
19
Exec/CMakeLists.txt
Normal file
19
Exec/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(BmpPP_exec)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
ADD_COMPILE_DEFINITIONS(_EULE_NO_INTRINSICS_)
|
||||
|
||||
INCLUDE_DIRECTORIES(../Src/Eule/)
|
||||
INCLUDE_DIRECTORIES(../Src/)
|
||||
|
||||
FILE(GLOB Eule ../Src/Eule/Eule/*.cpp)
|
||||
FILE(GLOB BmpPP ../Src/*.cpp)
|
||||
|
||||
add_executable(BmpPP_exec
|
||||
${Eule}
|
||||
${BmpPP}
|
||||
|
||||
main.cpp
|
||||
)
|
9
Exec/main.cpp
Normal file
9
Exec/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <BMP.h>
|
||||
|
||||
using namespace Leonetienne::BmpPP;
|
||||
|
||||
int main() {
|
||||
BMP bmp({800, 600});
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user