External library builds with Visual Studio 2022 generator, but not with Ninja: C1003 and C2440 errors
I want to add this library to my existing C++ project, which I have included by adding it as a submodule in an external folder, where external/CMakeLists.txt is:
External library builds with Visual Studio 2022 compiler, but not with Ninja: C1003 and C2440 errors
I want to add this library to my existing C++ project, which I have included by adding it as a submodule in an external folder, where external/CMakeLists.txt is:
Helper Library for CMake Project
I am new to CMake so my issue is probably simple to solve. I have the following project structure:
I’m trying to point CMake to the include directories on my system
CMakeLists.txt:
How can I precompile header only libraries using cmake?
My project is a game engine, and it currently looks something like this: