Sign in to follow this  
Enselic

I need your project/solution file

Recommended Posts

I am currently rewriting code, improving the user interface, and adding more features on applications at my site chromecode.com/downloads. I am currently improving the line counter, and besides improving the interface, I also want to add support for lots of more project/solution/source files than in the current version. Since installing all of the IDEs I want to add suport for will be quite a lot of work (and expensive :P), I was wondering if you people could create a project and/or solution file from your IDE and paste their contents here. The entire contents of the files is not nessecary, only the parts so one can see how to extract project files from a solution file, and how to extract the source files from a project file. Many thanks! List of IDEs I already got project/solution files for:
  • Microsoft Visual C#/C++ 2005 Express Edition
  • SharpDevelop 1.1/2.0

Share this post


Link to post
Share on other sites
Here is a small Code::Blocks project file I just made.


<?xml version="1.0"?>
<!DOCTYPE Code::Blocks_project_file>
<Code::Blocks_project_file>
<FileVersion major="1" minor="1"/>
<Project>
<Option title="OpenGL Application"/>
<Option makefile="Makefile"/>
<Option makefile_is_custom="0"/>
<Option compiler="0"/>
<Build>
<Target title="default">
<Option output="OpenGL.exe"/>
<Option working_dir="."/>
<Option object_output=".objs"/>
<Option deps_output=".deps"/>
<Option external_deps=""/>
<Option type="0"/>
<Option compiler="0"/>
<Option projectResourceIncludeDirsRelation="0"/>
</Target>
</Build>
<Linker>
<Add library="glfw"/>
<Add library="glu32"/>
<Add library="opengl32"/>
</Linker>
<Unit filename="Framework.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option objectName="Framework.obj"/>
<Option target="default"/>
</Unit>
<Unit filename="GLFWBase.cpp">
<Option compilerVar="CPP"/>
<Option objectName="GLFWBase.obj"/>
<Option target="default"/>
</Unit>
<Unit filename="Render.cpp">
<Option compilerVar="CPP"/>
<Option objectName="Render.obj"/>
<Option target="default"/>
</Unit>
<Unit filename="tga.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option objectName="tga.obj"/>
<Option target="default"/>
</Unit>
</Project>
</Code::Blocks_project_file>

Share this post


Link to post
Share on other sites
This is from Microsoft Visual C++ .net Standard 2003, I also installed that Visual C++ 2003 toolkit with the optimizing compiler as well but that probably doesn't matter. Here's the whole thing because I don't know what parts are relevant to you.


<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="glut_console"
ProjectGUID="{C6A4B593-66FA-4CF0-8A13-21E5CCAAA9DB}"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="glut32.lib"
OutputFile="$(OutDir)/glut_console.exe"
LinkIncremental="2"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="$(OutDir)/glut_console.pdb"
SubSystem="1"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="4"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/glut_console.exe"
LinkIncremental="1"
GenerateDebugInformation="TRUE"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
RelativePath=".\Fig8_52.cpp">
</File>
<File
RelativePath=".\RGBPixmap.cpp">
</File>
<File
RelativePath=".\test_class.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
<File
RelativePath=".\RGBPixmap.h">
</File>
<File
RelativePath=".\test_class.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>



Hope it helps.

Share this post


Link to post
Share on other sites
The Code::Blocks solution file is called ".workspace" and it looks pretty straight-forward [smile]

<?xml version="1.0"?>
<!DOCTYPE Code::Blocks_workspace_file>
<Code::Blocks_workspace_file>
<Workspace title="Photon Workspace">
<Project filename="photon.cbp"/>
<Project filename="AudioTest.cbp"/>
<Project filename="ImageTest.cbp"/>
<Project filename="ConfigFileTest.cbp"/>
<Project filename="filesysTest.cbp"/>
<Project filename="FontTest.cbp"/>
<Project filename="InputTest.cbp"/>
<Project filename="LogTest.cbp"/>
<Project filename="mathTest.cbp"/>
<Project filename="PenTest.cbp"/>
<Project filename="RandGenTest.cbp"/>
<Project filename="TextureTest.cbp"/>
<Project filename="StateTest.cbp" active="1"/>
</Workspace>
</Code::Blocks_workspace_file>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this