mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] added git version to build
This commit is contained in:
parent
6849efcb0d
commit
3d462928a6
@ -12,6 +12,8 @@ LDFLAGS += $(shell pkg-config --libs $(LIBS))
|
|||||||
BUILD ?= .build
|
BUILD ?= .build
|
||||||
BIN ?= bin
|
BIN ?= bin
|
||||||
|
|
||||||
|
CFLAGS += -DBUILD_VERSION='"$(shell git describe --always --long --dirty --abbrev=10 --tags)"'
|
||||||
|
|
||||||
OBJS = main.o \
|
OBJS = main.o \
|
||||||
spice/spice.o \
|
spice/spice.o \
|
||||||
ivshmem/ivshmem.o \
|
ivshmem/ivshmem.o \
|
||||||
|
@ -562,6 +562,8 @@ int eventThread(void * arg)
|
|||||||
|
|
||||||
int run()
|
int run()
|
||||||
{
|
{
|
||||||
|
DEBUG_INFO("Looking Glass (" BUILD_VERSION ")");
|
||||||
|
|
||||||
memset(&state, 0, sizeof(state));
|
memset(&state, 0, sizeof(state));
|
||||||
state.running = true;
|
state.running = true;
|
||||||
state.scaleX = 1.0f;
|
state.scaleX = 1.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user