Skip to content

Commit

Permalink
[mac] Updated Projct settings to allow cpp debug (#404)
Browse files Browse the repository at this point in the history
* Updated code to allow debug of cpp on mac

* Fixed build issue
  • Loading branch information
mukuagar authored Sep 5, 2023
1 parent 2b912f0 commit 6fd3b8a
Show file tree
Hide file tree
Showing 8 changed files with 754 additions and 728 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef ACSHostConfigParseResult_h
#define ACSHostConfigParseResult_h
#import <Foundation/Foundation.h>
#import <AdaptiveCards_Shared/AdaptiveCards_Shared.h>

#import "ACSHostConfig.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
#import <AdaptiveCards_Shared/AdaptiveCards_Shared.h>

@class ACSMarkdownParserResult;
@class ACSTextBlock;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
// AdaptiveCards_shared.h
// AdaptiveCards-shared
//
// Created by aksc on 17/01/21.
// Created by mukuagar on 04/09/23.
//

#import <Foundation/Foundation.h>

@interface AdaptiveCards_shared : NSObject
//! Project version number for AdaptiveCards_shared.
FOUNDATION_EXPORT double AdaptiveCards_sharedVersionNumber;

//! Project version string for AdaptiveCards_shared.
FOUNDATION_EXPORT const unsigned char AdaptiveCards_sharedVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <AdaptiveCards_shared/PublicHeader.h>


@end

This file was deleted.

1,445 changes: 735 additions & 710 deletions source/macos/AdaptiveCards/AdaptiveCards.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions source/shared/cpp/ObjectModel/BaseElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
#pragma once

#include "pch.h"
#if defined(__APPLE__)
#include "json.h"
#else
#include "json/json.h"
#endif
#include "InternalId.h"
#include "ParseContext.h"
#include "ParseUtil.h"
Expand Down
4 changes: 4 additions & 0 deletions source/shared/cpp/ObjectModel/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
#endif

#include "Enums.h"
#if defined(__APPLE__)
#include "json.h"
#else
#include "json/json.h"
#endif

namespace AdaptiveCards
{
Expand Down

0 comments on commit 6fd3b8a

Please sign in to comment.