- Add saturnpak, saturnjoin, screenfbo settings - Add libbacktrace stuff (hope thats correct) - set openmpt, discordrpc and libbacktrace as optional libs - move asset hashes to d_main, fixing CMAKECONFIG (which fixes commit stuff) - propely handle md5 sources - set "-rdynamic" and "-g" (-g1 on non debug builds) so libbacktrace can get proper backtraces
28 lines
659 B
C
28 lines
659 B
C
/** SRB2 CMake Configuration */
|
|
|
|
#ifndef __CONFIG_H__
|
|
#define __CONFIG_H__
|
|
|
|
/* DO NOT MODIFY config.h DIRECTLY! It will be overwritten by cmake.
|
|
* If you want to change a configuration option here, modify it in
|
|
* your CMakeCache.txt. config.h.in is used as a template for CMake
|
|
* variables, so you can insert them here too.
|
|
*/
|
|
|
|
#ifdef CMAKECONFIG
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
|
|
|
#else
|
|
|
|
#define SRB2_COMP_REVISION ""
|
|
#define SRB2_COMP_BRANCH ""
|
|
|
|
#define CMAKE_ASSETS_DIR ""
|
|
|
|
#endif
|
|
#endif
|