Improve ConfigLibs more
This commit is contained in:
parent
5312a86e7b
commit
cd6c6216f1
|
@ -1,7 +1,5 @@
|
||||||
//#pragma once
|
#include "../dummy_default_config.hpp"
|
||||||
//TODO: Why is pragma once not working?!
|
|
||||||
|
|
||||||
//TODO: Fix IntelliSense
|
|
||||||
struct CustomConfiguration : public DefaultConfiguration {
|
struct CustomConfiguration : public DefaultConfiguration {
|
||||||
struct Test {
|
struct Test {
|
||||||
static constexpr const char* string() {
|
static constexpr const char* string() {
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#pragma once
|
||||||
|
#ifdef __INTELLISENSE__
|
||||||
|
// This provides a dummy struct so IntelliSense is happy
|
||||||
|
|
||||||
|
struct DefaultConfiguration {
|
||||||
|
};
|
||||||
|
#endif //! __INTELLISENSE__
|
|
@ -1,5 +1,4 @@
|
||||||
JABY_ENGINE_CONFIG_DIR = $(JABY_ENGINE_DIR)config
|
JABY_ENGINE_CONFIG_DIR = $(JABY_ENGINE_DIR)config
|
||||||
ifdef CUSTOM_CONFIG
|
ifdef CUSTOM_CONFIG
|
||||||
# TODO: Use same header for -I and -imacros?
|
|
||||||
CCFLAGS += -I$(JABY_ENGINE_CONFIG_DIR)/$(CUSTOM_CONFIG) -imacros $(JABY_ENGINE_CONFIG_DIR)/$(CUSTOM_CONFIG)/jabyengine_custom_config.hpp
|
CCFLAGS += -I$(JABY_ENGINE_CONFIG_DIR)/$(CUSTOM_CONFIG) -imacros $(JABY_ENGINE_CONFIG_DIR)/$(CUSTOM_CONFIG)/jabyengine_custom_config.hpp
|
||||||
endif
|
endif
|
Loading…
Reference in New Issue