First workable release
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -43,3 +43,6 @@
|
|||||||
#CodeLite
|
#CodeLite
|
||||||
.clang
|
.clang
|
||||||
.codelite
|
.codelite
|
||||||
|
.Debug
|
||||||
|
*.cpp.o
|
||||||
|
*.cpp.o.d
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<CodeLite_Workspace Name="CrossGen" Database="">
|
<CodeLite_Workspace Name="CrossGen" Database="">
|
||||||
<Project Name="wxCrossGen" Path="wxCrossGen/wxCrossGen.project" Active="Yes"/>
|
<Project Name="wxCrossGen" Path="wxCrossGen/wxCrossGen.project" Active="Yes"/>
|
||||||
<BuildMatrix>
|
<BuildMatrix>
|
||||||
<WorkspaceConfiguration Name="Debug" Selected="yes">
|
<WorkspaceConfiguration Name="Debug" Selected="no">
|
||||||
<Project Name="wxCrossGen" ConfigName="Debug"/>
|
<Project Name="wxCrossGen" ConfigName="Debug"/>
|
||||||
</WorkspaceConfiguration>
|
</WorkspaceConfiguration>
|
||||||
<WorkspaceConfiguration Name="Release" Selected="yes">
|
<WorkspaceConfiguration Name="Release" Selected="yes">
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -1,8 +1,8 @@
|
|||||||
.PHONY: clean All
|
.PHONY: clean All
|
||||||
|
|
||||||
All:
|
All:
|
||||||
@echo "----------Building project:[ wxCrossGen - Debug ]----------"
|
@echo "----------Building project:[ wxCrossGen - Release ]----------"
|
||||||
@cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk"
|
@cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk"
|
||||||
clean:
|
clean:
|
||||||
@echo "----------Cleaning project:[ wxCrossGen - Debug ]----------"
|
@echo "----------Cleaning project:[ wxCrossGen - Release ]----------"
|
||||||
@cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk" clean
|
@cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk" clean
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ void MainFrame::OnbtnGenerateClick(wxCommandEvent &event) {
|
|||||||
event.Skip();
|
event.Skip();
|
||||||
DictType dict;
|
DictType dict;
|
||||||
std::vector<wxString> words_out;
|
std::vector<wxString> words_out;
|
||||||
readDict(wxT("fdict.txt"), dict);
|
readDict(wxT("big_cross_ru.txt"), dict);
|
||||||
GridType grid;
|
GridType grid;
|
||||||
if (tPath->GetValue() == wxEmptyString){
|
if (tPath->GetValue() == wxEmptyString){
|
||||||
wxMessageBox( wxT("Не указана путь к сетке"), wxT("Инфо"), wxICON_INFORMATION);
|
wxMessageBox( wxT("Не указана путь к сетке"), wxT("Инфо"), wxICON_INFORMATION);
|
||||||
|
|||||||
@@ -2,18 +2,18 @@
|
|||||||
## Auto Generated makefile by CodeLite IDE
|
## Auto Generated makefile by CodeLite IDE
|
||||||
## any manual changes will be erased
|
## any manual changes will be erased
|
||||||
##
|
##
|
||||||
## Debug
|
## Release
|
||||||
ProjectName :=wxCrossGen
|
ProjectName :=wxCrossGen
|
||||||
ConfigurationName :=Debug
|
ConfigurationName :=Release
|
||||||
WorkspacePath := "/data/Sync/SyncProjects/CrossGen"
|
WorkspacePath := "/data/Sync/SyncProjects/CrossGen"
|
||||||
ProjectPath := "/data/Sync/SyncProjects/CrossGen/wxCrossGen"
|
ProjectPath := "/data/Sync/SyncProjects/CrossGen/wxCrossGen"
|
||||||
IntermediateDirectory :=./Debug
|
IntermediateDirectory :=../Release
|
||||||
OutDir := $(IntermediateDirectory)
|
OutDir := $(IntermediateDirectory)
|
||||||
CurrentFileName :=
|
CurrentFileName :=
|
||||||
CurrentFilePath :=
|
CurrentFilePath :=
|
||||||
CurrentFileFullPath :=
|
CurrentFileFullPath :=
|
||||||
User :=Aleksey Lobanov
|
User :=Aleksey Lobanov
|
||||||
Date :=30/05/15
|
Date :=31/05/15
|
||||||
CodeLitePath :="/home/alex/.codelite"
|
CodeLitePath :="/home/alex/.codelite"
|
||||||
LinkerName :=/usr/bin/g++-4.8
|
LinkerName :=/usr/bin/g++-4.8
|
||||||
SharedObjectLinkerName :=/usr/bin/g++-4.8 -shared -fPIC
|
SharedObjectLinkerName :=/usr/bin/g++-4.8 -shared -fPIC
|
||||||
@@ -28,14 +28,14 @@ LibraryPathSwitch :=-L
|
|||||||
PreprocessorSwitch :=-D
|
PreprocessorSwitch :=-D
|
||||||
SourceSwitch :=-c
|
SourceSwitch :=-c
|
||||||
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
|
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
|
||||||
Preprocessors :=
|
Preprocessors :=$(PreprocessorSwitch)NDEBUG
|
||||||
ObjectSwitch :=-o
|
ObjectSwitch :=-o
|
||||||
ArchiveOutputSwitch :=
|
ArchiveOutputSwitch :=
|
||||||
PreprocessOnlySwitch :=-E
|
PreprocessOnlySwitch :=-E
|
||||||
ObjectsFileList :="wxCrossGen.txt"
|
ObjectsFileList :="wxCrossGen.txt"
|
||||||
PCHCompileFlags :=
|
PCHCompileFlags :=
|
||||||
MakeDirCommand :=mkdir -p
|
MakeDirCommand :=mkdir -p
|
||||||
LinkOptions := $(shell wx-config --debug=yes --libs --unicode=yes)
|
LinkOptions := -s $(shell wx-config --debug=no --libs --unicode=yes)
|
||||||
IncludePath := $(IncludeSwitch).
|
IncludePath := $(IncludeSwitch).
|
||||||
IncludePCH :=
|
IncludePCH :=
|
||||||
RcIncludePath :=
|
RcIncludePath :=
|
||||||
@@ -50,8 +50,8 @@ LibPath := $(LibraryPathSwitch).
|
|||||||
AR := /usr/bin/ar rcu
|
AR := /usr/bin/ar rcu
|
||||||
CXX := /usr/bin/g++-4.8
|
CXX := /usr/bin/g++-4.8
|
||||||
CC := /usr/bin/gcc-4.8
|
CC := /usr/bin/gcc-4.8
|
||||||
CXXFLAGS := -g -O0 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=yes) $(Preprocessors)
|
CXXFLAGS := -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) $(Preprocessors)
|
||||||
CFLAGS := -g -O0 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=yes) $(Preprocessors)
|
CFLAGS := -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) $(Preprocessors)
|
||||||
ASFLAGS :=
|
ASFLAGS :=
|
||||||
AS := /usr/bin/as
|
AS := /usr/bin/as
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ $(OutputFile): $(IntermediateDirectory)/.d $(Objects)
|
|||||||
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
|
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
|
||||||
|
|
||||||
$(IntermediateDirectory)/.d:
|
$(IntermediateDirectory)/.d:
|
||||||
@test -d ./Debug || $(MakeDirCommand) ./Debug
|
@test -d ../Release || $(MakeDirCommand) ../Release
|
||||||
|
|
||||||
PreBuild:
|
PreBuild:
|
||||||
|
|
||||||
@@ -101,6 +101,6 @@ $(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
|
|||||||
## Clean
|
## Clean
|
||||||
##
|
##
|
||||||
clean:
|
clean:
|
||||||
$(RM) -r ./Debug/
|
$(RM) -r ../Release/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,34 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CodeLite_Project Name="wxCrossGen" InternalType="GUI">
|
<CodeLite_Project Name="wxCrossGen" InternalType="GUI">
|
||||||
|
<Plugins>
|
||||||
|
<Plugin Name="CMakePlugin">
|
||||||
|
<![CDATA[[{
|
||||||
|
"name": "Debug",
|
||||||
|
"enabled": false,
|
||||||
|
"buildDirectory": "build",
|
||||||
|
"sourceDirectory": "$(ProjectPath)",
|
||||||
|
"generator": "",
|
||||||
|
"buildType": "",
|
||||||
|
"arguments": [],
|
||||||
|
"parentProject": ""
|
||||||
|
}, {
|
||||||
|
"name": "Release",
|
||||||
|
"enabled": false,
|
||||||
|
"buildDirectory": "build",
|
||||||
|
"sourceDirectory": "$(ProjectPath)",
|
||||||
|
"generator": "",
|
||||||
|
"buildType": "",
|
||||||
|
"arguments": [],
|
||||||
|
"parentProject": ""
|
||||||
|
}]]]>
|
||||||
|
</Plugin>
|
||||||
|
</Plugins>
|
||||||
<Description/>
|
<Description/>
|
||||||
<Dependencies/>
|
<Dependencies/>
|
||||||
|
<VirtualDirectory Name="src">
|
||||||
|
<File Name="main.cpp"/>
|
||||||
|
<File Name="wxgui.hpp"/>
|
||||||
|
</VirtualDirectory>
|
||||||
<Settings Type="Executable">
|
<Settings Type="Executable">
|
||||||
<GlobalSettings>
|
<GlobalSettings>
|
||||||
<Compiler Options="" C_Options="" Assembler="">
|
<Compiler Options="" C_Options="" Assembler="">
|
||||||
@@ -54,7 +81,7 @@
|
|||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker Options="-s;$(shell wx-config --debug=no --libs --unicode=yes)" Required="yes"/>
|
<Linker Options="-s;$(shell wx-config --debug=no --libs --unicode=yes)" Required="yes"/>
|
||||||
<ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
|
<ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
|
||||||
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Release" Command="./$(ProjectName)" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes" IsGUIProgram="no" IsEnabled="yes"/>
|
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="../Release" Command="./$(ProjectName)" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes" IsGUIProgram="yes" IsEnabled="yes"/>
|
||||||
<Environment EnvVarSetName="<Use Defaults>" DbgSetName="<Use Defaults>">
|
<Environment EnvVarSetName="<Use Defaults>" DbgSetName="<Use Defaults>">
|
||||||
<![CDATA[]]>
|
<![CDATA[]]>
|
||||||
</Environment>
|
</Environment>
|
||||||
@@ -87,8 +114,4 @@
|
|||||||
</Completion>
|
</Completion>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Settings>
|
</Settings>
|
||||||
<VirtualDirectory Name="src">
|
|
||||||
<File Name="main.cpp"/>
|
|
||||||
<File Name="wxgui.hpp"/>
|
|
||||||
</VirtualDirectory>
|
|
||||||
</CodeLite_Project>
|
</CodeLite_Project>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
./Debug/main.cpp.o
|
../Release/main.cpp.o
|
||||||
|
|||||||
Reference in New Issue
Block a user