From 6dd6e47076a5511a3d3a73247b149d02dfa9e2aa Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Wed, 24 Oct 2018 22:02:28 +0300 Subject: Move all js implementation related files in shared project --- JSImpl/JS.Common/JS.Common.vcxitems | 34 ++++++++++++++++ JSImpl/JS.Common/JS.Common.vcxitems.filters | 61 +++++++++++++++++++++++++++++ JSImpl/solution/JSImpl.sln | 6 +++ JSImpl/solution/JSImpl.vcxproj | 19 +-------- JSImpl/solution/JSImpl.vcxproj.filters | 58 +-------------------------- JSImpl/src/main.cpp | 2 +- 6 files changed, 105 insertions(+), 75 deletions(-) create mode 100644 JSImpl/JS.Common/JS.Common.vcxitems create mode 100644 JSImpl/JS.Common/JS.Common.vcxitems.filters (limited to 'JSImpl') diff --git a/JSImpl/JS.Common/JS.Common.vcxitems b/JSImpl/JS.Common/JS.Common.vcxitems new file mode 100644 index 0000000..0aa7ad7 --- /dev/null +++ b/JSImpl/JS.Common/JS.Common.vcxitems @@ -0,0 +1,34 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + true + {45d41acc-2c3c-43d2-bc10-02aa73ffc7c7} + + + + %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/JSImpl/JS.Common/JS.Common.vcxitems.filters b/JSImpl/JS.Common/JS.Common.vcxitems.filters new file mode 100644 index 0000000..9d4ce31 --- /dev/null +++ b/JSImpl/JS.Common/JS.Common.vcxitems.filters @@ -0,0 +1,61 @@ + + + + + {456619f8-e093-4a34-aaa1-cc84813b928c} + + + {bc30bfe3-9613-4c4e-9d84-1731eacf1d90} + + + {5834345c-efe8-4e4b-98e5-04f2851f4388} + + + {8c9cc117-30cd-4035-ba75-8dd0e2668e4e} + + + + + Expressions + + + Lexer + + + Parser + + + Visitors + + + Visitors + + + + + Expressions + + + Expressions + + + Expressions + + + Lexer + + + Parser + + + Visitors + + + Visitors + + + Visitors + + + + \ No newline at end of file diff --git a/JSImpl/solution/JSImpl.sln b/JSImpl/solution/JSImpl.sln index bee6a3e..a2f0672 100644 --- a/JSImpl/solution/JSImpl.sln +++ b/JSImpl/solution/JSImpl.sln @@ -5,7 +5,13 @@ VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSImpl", "JSImpl.vcxproj", "{EE0F8C6F-3619-4A46-BC19-FAEAD4167EE4}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JS.Common", "..\JS.Common\JS.Common.vcxitems", "{45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7}" +EndProject Global + GlobalSection(SharedMSBuildProjectFiles) = preSolution + ..\JS.Common\JS.Common.vcxitems*{45d41acc-2c3c-43d2-bc10-02aa73ffc7c7}*SharedItemsImports = 9 + ..\JS.Common\JS.Common.vcxitems*{ee0f8c6f-3619-4a46-bc19-faead4167ee4}*SharedItemsImports = 4 + EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 diff --git a/JSImpl/solution/JSImpl.vcxproj b/JSImpl/solution/JSImpl.vcxproj index e8645d7..32d6b96 100644 --- a/JSImpl/solution/JSImpl.vcxproj +++ b/JSImpl/solution/JSImpl.vcxproj @@ -54,6 +54,7 @@ + @@ -116,25 +117,9 @@ - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/JSImpl/solution/JSImpl.vcxproj.filters b/JSImpl/solution/JSImpl.vcxproj.filters index 4a47e55..de250fc 100644 --- a/JSImpl/solution/JSImpl.vcxproj.filters +++ b/JSImpl/solution/JSImpl.vcxproj.filters @@ -1,62 +1,6 @@  - - {9e65384d-2e18-4a3f-9b02-4abf632f9f06} - - - {177dbff8-a919-4a03-89ba-cb0a96e9e21e} - - - {948e229c-5a7a-4b3c-a75a-4b1b299c9e38} - - - {cf3787a3-5a0e-49f9-9a9f-99e14b57f391} - - - - - Expressions - - - Expressions - - - Expressions - - - Lexer - - - Parser - - - Visitors - - - Visitors - - - - Visitors - - - - - Expressions - - - Lexer - - - Parser - - - Visitors - - - Visitors - - + \ No newline at end of file diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index a7d489c..3cb3be5 100644 --- a/JSImpl/src/main.cpp +++ b/JSImpl/src/main.cpp @@ -259,7 +259,7 @@ int main() EXECUTE_TEST(TestScientificNotationNumber); //TestParseUnaryExpr(); - RunParseCalc(); + RunParseCalc(); #if defined(_WIN32) std::system("pause"); -- cgit v1.3.1-23-gd82d