Moved code into src

This commit is contained in:
Trygve 2024-04-06 13:32:44 +02:00
parent 76d235d1c9
commit fd28196d77
4 changed files with 6 additions and 5 deletions

View File

@ -1,12 +1,13 @@
project(inf205 CXX)
project(
INF205
LANGUAGES CXX)
cmake_minimum_required(VERSION 3.0)
find_package(GDAL CONFIG REQUIRED)
set(EXAMPLE_NAME marching_squares)
add_executable(${EXAMPLE_NAME}
main.cpp HeightMap.cpp
add_executable(${PROJECT_NAME}
src/HeightMap.cpp src/main.cpp
)
target_link_libraries(${EXAMPLE_NAME} GDAL::GDAL)
target_link_libraries(${PROJECT_NAME} GDAL::GDAL)