Browse Source

Split the Proof of concept and the first version

master
Ludovic 'Archivist' Lagouardette 5 years ago
parent
commit
da65be58ac
13 changed files with 4 additions and 4 deletions
  1. +4
    -4
      V0/Makefile
  2. +0
    -0
      V0/include/database.hpp
  3. +0
    -0
      V0/include/endian.hpp
  4. +0
    -0
      V0/include/fsized_map.h
  5. +0
    -0
      V0/include/network.hpp
  6. +0
    -0
      V0/src/db_stats.cpp
  7. +0
    -0
      V0/src/izaro-coordinate.cpp
  8. +0
    -0
      V0/src/izaro-storage.cpp
  9. +0
    -0
      V0/src/test_client.cpp
  10. +0
    -0
      V0/src/test_spam_version.cpp
  11. +0
    -0
      V0/tests/time-client.cpp
  12. +0
    -0
      V0/tests/time-server.cpp
  13. +0
    -0
      V1/Makefile

Makefile → V0/Makefile View File

@ -30,20 +30,20 @@ BUILD := build
OBJ_DIR := $(BUILD)/objects
APP_DIR := $(BUILD)/apps
TARGET := izaro-storage.cpp
INCLUDE := -Iinclude/ -I./CommandEr/src -I./json/single_include -Itiny-js/
INCLUDE := -Iinclude/ -I../CommandEr/src -I../json/single_include -I../tiny-js/
SRC := \
TJS_SRC :=
#pool_allocator.cpp TinyJS.cpp TinyJS_Functions.cpp TinyJS_MathFunctions.cpp TinyJS_StringFunctions.cpp TinyJS_Threading.cpp
TJS_OBJECTS := $(TJS_SRC:%.cpp=$(OBJ_DIR)/%.tjs.o)
OBJECTS := $(SRC:%.cpp=$(OBJ_DIR)/%.o) ./CommandEr/build/commander.o
OBJECTS := $(SRC:%.cpp=$(OBJ_DIR)/%.o) ../CommandEr/build/commander.o
TEST_OBJECTS := $(SRC:%.cpp=$(OBJ_DIR)/%.test.o)
TARGETNAME := $(TARGET:%.cpp=%)
all: build $(TARGET)
$(OBJ_DIR)/%.tjs.o: tiny-js/%.cpp
$(OBJ_DIR)/%.tjs.o: ../tiny-js/%.cpp
@mkdir -p $(@D)
$(CXX) $(CXXFLAGS) -fpermissive -w -Wno-pedantic $(INCLUDE) -o $@ -c $<
@ -56,7 +56,7 @@ $(OBJ_DIR)/%.o: %.cpp
$(CXX) $(CXXFLAGS) $(INCLUDE) -o $@ -c $<
$(TARGET): $(OBJECTS) $(TJS_OBJECTS) build
make -C CommandEr
make -C ../CommandEr
@mkdir -p $(@D)
$(CXX) $(CXXFLAGS) -pthread $(INCLUDE) $(LDFLAGS) -o $(APP_DIR)/$(TARGETNAME) src/$(TARGET) $(OBJECTS) $(TJS_OBJECTS)
$(CXX) $(CXXFLAGS) $(INCLUDE) $(LDFLAGS) -o $(APP_DIR)/test_client src/test_client.cpp

include/database.hpp → V0/include/database.hpp View File


include/endian.hpp → V0/include/endian.hpp View File


include/fsized_map.h → V0/include/fsized_map.h View File


include/network.hpp → V0/include/network.hpp View File


src/db_stats.cpp → V0/src/db_stats.cpp View File


src/izaro-coordinate.cpp → V0/src/izaro-coordinate.cpp View File


src/izaro-storage.cpp → V0/src/izaro-storage.cpp View File


src/test_client.cpp → V0/src/test_client.cpp View File


src/test_spam_version.cpp → V0/src/test_spam_version.cpp View File


tests/time-client.cpp → V0/tests/time-client.cpp View File


tests/time-server.cpp → V0/tests/time-server.cpp View File


+ 0
- 0
V1/Makefile View File


Loading…
Cancel
Save