Added "Profile" configuration to CrossBench

This commit is contained in:
2015-06-23 17:25:50 +03:00
parent ea8523683d
commit ae0c87ec8e
2 changed files with 48 additions and 10 deletions

View File

@@ -8,6 +8,13 @@
<VirtualDirectory Name="src"> <VirtualDirectory Name="src">
<File Name="main.cpp"/> <File Name="main.cpp"/>
</VirtualDirectory> </VirtualDirectory>
<VirtualDirectory Name="Shared">
<File Name="../src/crossbasetypes.hpp"/>
<File Name="../src/crossexport.cpp"/>
<File Name="../src/crossexport.hpp"/>
<File Name="../src/crossgen.cpp"/>
<File Name="../src/crossgen.hpp"/>
</VirtualDirectory>
<Settings Type="Executable"> <Settings Type="Executable">
<GlobalSettings> <GlobalSettings>
<Compiler Options="-std=c++11" C_Options="" Assembler=""> <Compiler Options="-std=c++11" C_Options="" Assembler="">
@@ -55,6 +62,44 @@
<SearchPaths/> <SearchPaths/>
</Completion> </Completion>
</Configuration> </Configuration>
<Configuration Name="Profiling" CompilerType="GCC ( 4.8 )" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
<Compiler Options="-pg;-g;-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" C_Options="-pg;-g;-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" Assembler="" Required="yes" PreCompiledHeader="" PCHInCommandLine="no" PCHFlags="" PCHFlagsPolicy="0">
<Preprocessor Value="NDEBUG"/>
</Compiler>
<Linker Options="-pg;$(shell wx-config --debug=no --libs --unicode=yes)" Required="yes"/>
<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"/>
<Environment EnvVarSetName="&lt;Use Defaults&gt;" DbgSetName="&lt;Use Defaults&gt;">
<![CDATA[]]>
</Environment>
<Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="" IsExtended="no">
<DebuggerSearchPaths/>
<PostConnectCommands/>
<StartupCommands/>
</Debugger>
<PreBuild/>
<PostBuild/>
<CustomBuild Enabled="no">
<RebuildCommand/>
<CleanCommand/>
<BuildCommand/>
<PreprocessFileCommand/>
<SingleFileCommand/>
<MakefileGenerationCommand/>
<ThirdPartyToolName>None</ThirdPartyToolName>
<WorkingDirectory/>
</CustomBuild>
<AdditionalRules>
<CustomPostBuild/>
<CustomPreBuild/>
</AdditionalRules>
<Completion EnableCpp11="yes" EnableCpp14="no">
<ClangCmpFlagsC/>
<ClangCmpFlags/>
<ClangPP/>
<SearchPaths/>
</Completion>
</Configuration>
<Configuration Name="Release" CompilerType="GCC ( 4.8 )" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append"> <Configuration Name="Release" CompilerType="GCC ( 4.8 )" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
<Compiler Options="-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" C_Options="-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" Assembler="" Required="yes" PreCompiledHeader="" PCHInCommandLine="no" PCHFlags="" PCHFlagsPolicy="0"> <Compiler Options="-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" C_Options="-O2;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=no)" Assembler="" Required="yes" PreCompiledHeader="" PCHInCommandLine="no" PCHFlags="" PCHFlagsPolicy="0">
<Preprocessor Value="NDEBUG"/> <Preprocessor Value="NDEBUG"/>
@@ -94,11 +139,4 @@
</Completion> </Completion>
</Configuration> </Configuration>
</Settings> </Settings>
<VirtualDirectory Name="Shared">
<File Name="../src/crossbasetypes.hpp"/>
<File Name="../src/crossexport.cpp"/>
<File Name="../src/crossexport.hpp"/>
<File Name="../src/crossgen.cpp"/>
<File Name="../src/crossgen.hpp"/>
</VirtualDirectory>
</CodeLite_Project> </CodeLite_Project>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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="No"/>
<Project Name="CrossBench" Path="CrossBench/CrossBench.project" Active="No"/> <Project Name="CrossBench" Path="CrossBench/CrossBench.project" Active="Yes"/>
<Environment> <Environment>
<![CDATA[]]> <![CDATA[]]>
</Environment> </Environment>
@@ -12,7 +12,7 @@
</WorkspaceConfiguration> </WorkspaceConfiguration>
<WorkspaceConfiguration Name="Release" Selected="yes"> <WorkspaceConfiguration Name="Release" Selected="yes">
<Project Name="wxCrossGen" ConfigName="Release"/> <Project Name="wxCrossGen" ConfigName="Release"/>
<Project Name="CrossBench" ConfigName="Release"/> <Project Name="CrossBench" ConfigName="Profiling"/>
</WorkspaceConfiguration> </WorkspaceConfiguration>
</BuildMatrix> </BuildMatrix>
</CodeLite_Workspace> </CodeLite_Workspace>