Replace configure.in + 7 Makefile.am files with a CMake build: - Top-level CMakeLists.txt with feature detection (SDL 1.2, SDL_image, OpenGL, optional OSS/ALSA), platform-specific install layouts (macOS .app bundle, Windows simple bundle, Unix), and a shared kobo_deps INTERFACE target for flags and link libraries. - Sub-CMakeLists for graphics/, sound/, eel/ static libraries. - aconfig.h.cmake.in and Info.plist.cmake.in templates (minimal: only the HAVE_* macros actually referenced by the code). Remove all autotools machinery: configure, configure.in, aclocal.m4, Makefile.am files, generated Makefile.in files, install-sh, missing, depcomp, compile, mkinstalldirs, config.guess, config.sub, the buildpkg.sh Solaris helper, and the cfg-* configure shortcuts. Update .gitignore for CMake out-of-tree builds, and point run-kobodl.sh at build/kobodl (overridable via KOBODL_BIN). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
799 B
CMake
33 lines
799 B
CMake
/*
|
|
* aconfig.h - generated by CMake from aconfig.h.cmake.in
|
|
*
|
|
* Only macros actually referenced by the code are exposed here.
|
|
* Add new entries below when adding code that needs configure-time info.
|
|
*/
|
|
#ifndef _KOBO_ACONFIG_H_
|
|
#define _KOBO_ACONFIG_H_
|
|
|
|
#define PACKAGE "@PROJECT_NAME@"
|
|
#define VERSION "@PROJECT_VERSION@"
|
|
|
|
/* Return type of signal handlers. Always 'void' on post-ANSI systems. */
|
|
#define RETSIGTYPE void
|
|
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
#cmakedefine HAVE_GETEGID 1
|
|
#cmakedefine HAVE_GETTIMEOFDAY 1
|
|
#cmakedefine HAVE_SETGID 1
|
|
#cmakedefine HAVE_STAT 1
|
|
|
|
#cmakedefine HAVE_SNPRINTF 1
|
|
#cmakedefine HAVE_VSNPRINTF 1
|
|
#cmakedefine HAVE__SNPRINTF 1
|
|
#cmakedefine HAVE__VSNPRINTF 1
|
|
|
|
#cmakedefine HAVE_OPENGL 1
|
|
#cmakedefine HAVE_OSS 1
|
|
#cmakedefine HAVE_ALSA 1
|
|
|
|
#endif /* _KOBO_ACONFIG_H_ */
|