Archive 19/01/2023.

Template CMakeLists.txt for working with Urho3D?

niansa

Hey, is there a template CMakeLists.txt for Urho3D projects? I am having some trouble getting stuff to work because my CMake skills are miserable.

This is my current file:

cmake_minimum_required(VERSION 3.5)

project(phouse LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(phouse main.cpp)

target_link_libraries(phouse PRIVATE Urho3D GL)

which ofc does not work!

Modanung

:books: Project scaffolding

niansa

Oops, I should’ve RTFM.