Sfoglia il codice sorgente

Split the Proof of concept and the first version

master
Ludovic 'Archivist' Lagouardette 4 anni fa
parent
commit
da65be58ac
13 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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 Vedi 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 Vedi File


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


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


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


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


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


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


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


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


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


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


+ 0
- 0
V1/Makefile Vedi File


Caricamento…
Annulla
Salva