bool IsWhite(wchar_t c, bool check_additional_chars, bool treat_new_line_as_white) (checking unicode white characters too) CharType * SkipWhite(CharType * str, bool check_additional_chars = true, bool treat_new_line_as_white = true) IsDigit(wchar_t c, int base, int * digit) added: functions to converting from a string to an integer: unsigned long long Toull(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) long long Toll(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) unsigned long Toul(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) unsigned int Toui(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) long Tol(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) int Toi(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0) changed: some work in Space (new Api) now Text() methods returns std::wstring by value (before they were returned by reference) added std::wstring & TextRef() methods added unsigned int UInt(), unsigned long ULong() and LongLong() and ULongLong() GetValue() renamed to GetFirstValue() AText() renamed to TextA() and they return std::string by value now git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1066 e52654a7-88a9-db11-a3e9-0013d4bc506e
73 lines
1.1 KiB
Makefile
73 lines
1.1 KiB
Makefile
# Makefile for GNU make
|
|
|
|
ifndef CXX
|
|
CXX = clang++
|
|
endif
|
|
|
|
ifndef CXXFLAGS
|
|
CXXFLAGS = -Wall -O2 -I/usr/local/include
|
|
endif
|
|
|
|
ifndef LDFLAGS
|
|
LDFLAGS = -L/usr/local/lib
|
|
endif
|
|
|
|
ifndef AR
|
|
AR = ar
|
|
endif
|
|
|
|
#CXX=g++5
|
|
#CXXFLAGS=-Wall -O0 -g3 -gdwarf-2 -std=c++14
|
|
|
|
export CXX
|
|
export CXXFLAGS
|
|
export LDFLAGS
|
|
export AR
|
|
|
|
|
|
all: space mainparser mainspaceparser utf8 date convert
|
|
|
|
|
|
|
|
|
|
space: FORCE
|
|
@cd space ; $(MAKE) -e
|
|
|
|
mainparser: FORCE
|
|
@cd mainparser ; $(MAKE) -e
|
|
|
|
mainspaceparser: FORCE
|
|
@cd mainspaceparser ; $(MAKE) -e
|
|
|
|
utf8: FORCE
|
|
@cd utf8 ; $(MAKE) -e
|
|
|
|
date: FORCE
|
|
@cd date ; $(MAKE) -e
|
|
|
|
convert: FORCE
|
|
@cd convert ; $(MAKE) -e
|
|
|
|
|
|
|
|
|
|
|
|
FORCE:
|
|
|
|
|
|
clean:
|
|
@cd space ; $(MAKE) -e clean
|
|
@cd mainparser ; $(MAKE) -e clean
|
|
@cd mainspaceparser ; $(MAKE) -e clean
|
|
@cd utf8 ; $(MAKE) -e clean
|
|
@cd date ; $(MAKE) -e clean
|
|
@cd convert ; $(MAKE) -e clean
|
|
|
|
depend:
|
|
@cd space ; $(MAKE) -e depend
|
|
@cd mainparser ; $(MAKE) -e depend
|
|
@cd mainspaceparser ; $(MAKE) -e depend
|
|
@cd utf8 ; $(MAKE) -e depend
|
|
@cd date ; $(MAKE) -e depend
|
|
@cd convert ; $(MAKE) -e depend
|