Browse Source

Add Build to VisualStudio project, update readme

windows-support
Macoy Madson 6 months ago
parent
commit
db0aad1c2a
4 changed files with 16 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -0
      ReadMe.org
  3. +4
    -1
      VisualStudio/Cakelisp/Cakelisp.vcxproj
  4. +9
    -0
      VisualStudio/Cakelisp/Cakelisp.vcxproj.filters

+ 1
- 0
.gitignore View File

@ -49,6 +49,7 @@ a.out
cakelisp_cache/
VisualStudio/Cakelisp/Debug
VisualStudio/Cakelisp/x64
VisualStudio/Cakelisp/.vs
output.exe
*.pdb

+ 2
- 0
ReadMe.org View File

@ -121,6 +121,8 @@ You can refer to an existing project in ~cakelisp/VisualStudio~. The steps to cr
- Set the name, location, and solution as desired, then click OK
- ~Project -> Add Existing Item~
- Browse to ~cakelisp/src~, then select all the files (via ~Ctrl-A~, etc.) and click Add. This makes Cakelisp itself built by Visual Studio (i.e., not bootstrap built)
- ~Build -> Configuration Manager~
- Select ~x64~ for ~Active solution platform~. Cakelisp works in ~Win32~, but you should probably be using ~x64~ anyways, because it's the dominant architecture, and the hard-coded compile/link commands assume ~x64~
- ~Project -> <Project Name> Properties...~
- In the ~Debugging~ section, set ~Working Directory~ to wherever your project's working directory is, e.g. where your ~.cake~ files are
- Set ~Command Arguments~ to the ~.cake~ files you want to build. You can leave this empty to see the Cakelisp help page


+ 4
- 1
VisualStudio/Cakelisp/Cakelisp.vcxproj View File

@ -76,7 +76,7 @@
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WINDOWS;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>CAKELISP_EXPORTING;_CRT_SECURE_NO_WARNINGS;WINDOWS;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@ -124,11 +124,13 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\src\Build.hpp" />
<ClInclude Include="..\..\src\ConverterEnums.hpp" />
<ClInclude Include="..\..\src\Converters.hpp" />
<ClInclude Include="..\..\src\DynamicLoader.hpp" />
<ClInclude Include="..\..\src\Evaluator.hpp" />
<ClInclude Include="..\..\src\EvaluatorEnums.hpp" />
<ClInclude Include="..\..\src\Exporting.hpp" />
<ClInclude Include="..\..\src\FileUtilities.hpp" />
<ClInclude Include="..\..\src\GeneratorHelpers.hpp" />
<ClInclude Include="..\..\src\GeneratorHelpersEnums.hpp" />
@ -146,6 +148,7 @@
<ClInclude Include="..\..\src\WriterEnums.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\Build.cpp" />
<ClCompile Include="..\..\src\Converters.cpp" />
<ClCompile Include="..\..\src\DynamicLoader.cpp" />
<ClCompile Include="..\..\src\Evaluator.cpp" />


+ 9
- 0
VisualStudio/Cakelisp/Cakelisp.vcxproj.filters View File

@ -75,6 +75,12 @@
<ClInclude Include="..\..\src\WriterEnums.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\Build.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\Exporting.hpp">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\Converters.cpp">
@ -119,6 +125,9 @@
<ClCompile Include="..\..\src\Writer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\Build.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\Jamfile" />


Loading…
Cancel
Save