mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 06:05:44 +01:00
define GLFW_INCLUDE_NONE, so glfw knows we're using custom headers.
This commit is contained in:
@@ -99,10 +99,6 @@ IncludeIsMainSourceRegex: ''
|
|||||||
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^<glad/gl\.h>'
|
|
||||||
Priority: 1
|
|
||||||
SortPriority: 0
|
|
||||||
CaseSensitive: true
|
|
||||||
- Regex: '^<.*\.h>'
|
- Regex: '^<.*\.h>'
|
||||||
Priority: 2
|
Priority: 2
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
|
|||||||
1
Makefile
1
Makefile
@@ -12,6 +12,7 @@ CMAKE ?= cmake -G 'Unix Makefiles'
|
|||||||
CPPFLAGS ?=
|
CPPFLAGS ?=
|
||||||
CFLAGS ?= -O2 -Wall -Wextra -Wpedantic -Wno-pointer-arith
|
CFLAGS ?= -O2 -Wall -Wextra -Wpedantic -Wno-pointer-arith
|
||||||
LDFLAGS ?= -flto
|
LDFLAGS ?= -flto
|
||||||
|
CPPFLAGS += -DGLFW_INCLUDE_NONE
|
||||||
CFLAGS += -std=gnu99
|
CFLAGS += -std=gnu99
|
||||||
|
|
||||||
# add a few extra flags depending on whether
|
# add a few extra flags depending on whether
|
||||||
|
|||||||
Reference in New Issue
Block a user