Files
LearnOpenGL/configuration/root_directory.h.in
Marin Nilsson 1d2b1dae19 Out-of-source builds without environment variables.
Using CMake's configure_file command to generate a header file defining
a C string containing the path to the source root directory; the
directory where the resource folder is. Textures and models can now be
found directly as long the user doesn't move stuff around.

Shaders are still a problem.
2015-08-04 19:41:08 +02:00

1 line
47 B
C

const char * logl_root = "${CMAKE_SOURCE_DIR}";