Commit Graph

11 Commits

Author SHA1 Message Date
Tom Stellard dd115a7e69 cmake: Compile with -fcommon
Newer versions of gcc and clang default to fno-common and
our global variable usage requires -fcommon.
2021-06-07 22:36:19 -07:00
Tom Stellard e2aa29cf47 cmake: Pass RUNTIME DIRECTORY to bygfoot install target
This is required by some versions of cmake.
2021-06-07 22:36:19 -07:00
Tom Stellard 080dcfe308 CMake: Copy support files into build directory
This makes it possible to run bygfoot from the build directory.
2021-03-05 23:38:28 -05:00
Tom Stellard 013df8dd93 Add json interface
This adds an initial version of a json interface to bygfoot.  This
is still in development so the interface may change in the future.  This
interface can be used for writing tests or for communication between a
client and server.

To use the interface, you can pass a json file with commands to bygfoot
using the --json option.
2021-03-05 23:38:28 -05:00
Tom Stellard a773634711 Factor user creation code out from the gtk callbacks
Also introduce a new Bygfoot struct for holding all the global data.
This will eventually replace all the global variables in bygfoot, but
for now it is an empty struct that we are just passing it through to
functions that access global variables.
2021-03-05 23:38:28 -05:00
Tom Stellard b398c81e41 Reformat CMakeLists.txt 2021-03-05 23:38:28 -05:00
Tom Stellard 671f311762 CMake: Generate a WinMain entrypoint on Windows 2020-12-24 10:43:39 -08:00
Tom Stellard 3aa903e07d CMake: Generate the translatons 2020-12-24 10:43:39 -08:00
Tom Stellard 10bd42a15e cmake: Silence warnings in gtk headers 2020-12-24 10:43:39 -08:00
Tom Stellard f5521480a6 cmake: Add some fixes to get a minimal build/install working 2020-12-24 10:43:39 -08:00
gunnar_g 19bc5b2171 add CmakeList files 2020-12-24 10:43:39 -08:00