Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
MarkdownViewer: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
abock committed Mar 10, 2014
1 parent c91747d commit 5a191cf
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 61 deletions.
16 changes: 9 additions & 7 deletions MarkdownViewer/Markdown.csproj
Expand Up @@ -21,20 +21,21 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseSGen>False</UseSGen>
<IncludeMonoRuntime>True</IncludeMonoRuntime>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<EnablePackageSigning>False</EnablePackageSigning>
<CreatePackage>False</CreatePackage>
<CodeSigningKey>Mac Developer</CodeSigningKey>
<EnableCodeSigning>False</EnableCodeSigning>
<ConsolePause>False</ConsolePause>
<PlatformTarget>x86</PlatformTarget>
<PackageSigningKey>Developer ID Installer</PackageSigningKey>
<I18n />
<LinkMode>Full</LinkMode>
<I18n>
</I18n>
<CustomCommands>
<CustomCommands>
<Command type="BeforeBuild" command="cp &quot;${SolutionDir}/sundown/bin/Debug/libsundown.dylib&quot; &quot;${SolutionDir}/Resources&quot;" />
<Command type="AfterClean" command="rm -f &quot;${SolutionDir}/Resources/libsundown.dylib&quot;" />
<Command type="BeforeBuild" command="make -C &quot;${ProjectDir}/sundown/&quot;" />
<Command type="BeforeBuild" command="cp &quot;${ProjectDir}/sundown/libsundown.dylib&quot; &quot;${ProjectDir}/Resources&quot;" />
<Command type="AfterClean" command="rm -f &quot;${ProjectDir}/Resources/libsundown.dylib&quot;" />
</CustomCommands>
</CustomCommands>
</PropertyGroup>
Expand All @@ -54,7 +55,8 @@
<ConsolePause>False</ConsolePause>
<PlatformTarget>x86</PlatformTarget>
<PackageSigningKey>Developer ID Installer</PackageSigningKey>
<I18n />
<I18n>
</I18n>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|x86' ">
<DebugType>none</DebugType>
Expand Down Expand Up @@ -108,4 +110,4 @@
<BundleResource Include="Resources\Template.html" />
<BundleResource Include="Resources\libsundown.dylib" />
</ItemGroup>
</Project>
</Project>
8 changes: 0 additions & 8 deletions MarkdownViewer/Markdown.sln
@@ -1,8 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2857B73E-F847-4B02-9238-064979017E93}") = "libsundown", "sundown\libsundown.cproj", "{9341D4F9-282A-46AE-B03E-164F1484CA57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Markdown", "Markdown.csproj", "{C1E8C1BE-801B-46D9-B453-60DDC44DF06F}"
EndProject
Global
Expand All @@ -18,12 +16,6 @@ Global
{C1E8C1BE-801B-46D9-B453-60DDC44DF06F}.Debug|x86.Build.0 = Debug|x86
{C1E8C1BE-801B-46D9-B453-60DDC44DF06F}.Release|x86.ActiveCfg = Release|x86
{C1E8C1BE-801B-46D9-B453-60DDC44DF06F}.Release|x86.Build.0 = Release|x86
{9341D4F9-282A-46AE-B03E-164F1484CA57}.AppStore|x86.ActiveCfg = Debug|Any CPU
{9341D4F9-282A-46AE-B03E-164F1484CA57}.AppStore|x86.Build.0 = Debug|Any CPU
{9341D4F9-282A-46AE-B03E-164F1484CA57}.Debug|x86.ActiveCfg = Debug|Any CPU
{9341D4F9-282A-46AE-B03E-164F1484CA57}.Debug|x86.Build.0 = Debug|Any CPU
{9341D4F9-282A-46AE-B03E-164F1484CA57}.Release|x86.ActiveCfg = Release|Any CPU
{9341D4F9-282A-46AE-B03E-164F1484CA57}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Markdown.csproj
Expand Down
2 changes: 2 additions & 0 deletions MarkdownViewer/sundown/.gitignore
@@ -0,0 +1,2 @@
*.dylib
*.o
24 changes: 24 additions & 0 deletions MarkdownViewer/sundown/Makefile
@@ -0,0 +1,24 @@
OBJECTS = \
autolink.o \
buffer.o \
houdini_href_e.o \
houdini_html_e.o \
html.o \
html_smartypants.o \
markdown.o \
stack.o

CFLAGS = -fPIC -Wall -Werror -Wsign-compare -std=c99 -m32 -O3
LDFLAGS = -m32 -dynamiclib -undefined suppress -flat_namespace

all: libsundown.dylib

libsundown.dylib: $(OBJECTS)
$(CC) -o $@ $+ $(LDFLAGS)

%.o: %.c
$(CC) -c $< $(CFLAGS)

clean:
rm -f $(OBJECTS)
rm -f libsundown.dylib
46 changes: 0 additions & 46 deletions MarkdownViewer/sundown/libsundown.cproj

This file was deleted.

0 comments on commit 5a191cf

Please sign in to comment.