mv cppcommo out of src

This commit is contained in:
wyy 2013-09-10 00:25:35 +08:00
parent aefbbdf49d
commit 99f094c64b
29 changed files with 10 additions and 12 deletions

View File

@ -4,7 +4,7 @@
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include <memory.h> #include <memory.h>
#include "cppcommon/headers.h" #include "../cppcommon/headers.h"
#include "globals.h" #include "globals.h"
#include "TransCode.h" #include "TransCode.h"

View File

@ -2,8 +2,6 @@ CXX := g++
LD := g++ LD := g++
AR := ar rc AR := ar rc
INCS := -I. -I./cppcommon
DEBUG_CXXFLAGS := -g -Wall -DDEBUG DEBUG_CXXFLAGS := -g -Wall -DDEBUG
RELEASE_CXXFLAGS := -Wall -O3 RELEASE_CXXFLAGS := -Wall -O3
@ -20,7 +18,7 @@ DOPACK := $(AR)
SOURCES := $(wildcard *.cpp) SOURCES := $(wildcard *.cpp)
OBJS := $(patsubst %.cpp,%.o,$(SOURCES)) OBJS := $(patsubst %.cpp,%.o,$(SOURCES))
CMDIR := ./cppcommon CMDIR := ../cppcommon
CMLIB := $(CMDIR)/libcm.a CMLIB := $(CMDIR)/libcm.a
TMPDIR := ./cppjiebatmp TMPDIR := ./cppjiebatmp

View File

@ -3,7 +3,7 @@
#include "MPSegment.h" #include "MPSegment.h"
#include "HMMSegment.h" #include "HMMSegment.h"
#include "cppcommon/headers.h" #include "../cppcommon/headers.h"
namespace CppJieba namespace CppJieba
{ {

View File

@ -7,8 +7,8 @@
#include "globals.h" #include "globals.h"
#include "cppcommon/str_functs.h" #include "../cppcommon/str_functs.h"
#include "cppcommon/vec_functs.h" #include "../cppcommon/vec_functs.h"
namespace CppJieba namespace CppJieba
{ {

View File

@ -12,10 +12,10 @@
#include <stdint.h> #include <stdint.h>
#include <cmath> #include <cmath>
#include <limits> #include <limits>
#include "cppcommon/str_functs.h" #include "../cppcommon/str_functs.h"
#include "cppcommon/vec_functs.h" #include "../cppcommon/vec_functs.h"
#include "cppcommon/file_functs.h" #include "../cppcommon/file_functs.h"
#include "cppcommon/logger.h" #include "../cppcommon/logger.h"
#include "TransCode.h" #include "TransCode.h"
#include "globals.h" #include "globals.h"
#include "structs.h" #include "structs.h"

View File

@ -5,7 +5,7 @@
#ifndef CPPJIEBA_HEADERS_H #ifndef CPPJIEBA_HEADERS_H
#define CPPJIEBA_HEADERS_H #define CPPJIEBA_HEADERS_H
#include "cppcommon/headers.h" #include "../cppcommon/headers.h"
#include "globals.h" #include "globals.h"
#include "KeyWordExt.h" #include "KeyWordExt.h"
#include "MPSegment.h" #include "MPSegment.h"