From d6c67db56f6f5e8a971d9742191ed97b0c8e63a2 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 4 Sep 2016 21:16:19 -0400 Subject: [PATCH] Window: Add editorconfig and fix filterpaths - Add missing LIBSASS_INCLUDES_DIR property - Fix AdditionalIncludeDirectories so base.h and the other include\sass files are found - Update filter paths from latest libsass.targets - Changes LIBSASS_DIR to a peer folder instead of a parent directory --- .editorconfig | 15 +++++++++++ .gitignore | 2 ++ win/sassc.vcxproj | 7 ++--- win/sassc.vcxproj.filters | 56 +++++++-------------------------------- 4 files changed, 31 insertions(+), 49 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f64b868 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.vcxproj,*.vcxproj.filter,*.sln] +end_of_line = crlf diff --git a/.gitignore b/.gitignore index 85d6244..b1f8030 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,5 @@ config.h.in* lib/pkgconfig/ .sass-cache *.user +*.db +*.opendb diff --git a/win/sassc.vcxproj b/win/sassc.vcxproj index 2526667..b9a4d3a 100644 --- a/win/sassc.vcxproj +++ b/win/sassc.vcxproj @@ -1,11 +1,12 @@ - + [NA] [NA] - ..\.. + ..\..\libsass $(LIBSASS_DIR)\src $(LIBSASS_DIR)\src + $(LIBSASS_DIR)\include @@ -99,7 +100,7 @@ - ..;posix;..\..\include;..\..\src;%(AdditionalIncludeDirectories) + ..;posix;$(LIBSASS_INCLUDES_DIR);$(LIBSASS_HEADERS_DIR);$(LIBSASS_INCLUDES_DIR)\sass;%(AdditionalIncludeDirectories) $(IntDir)/%(RelativeDir)/ $(IntDir)/%(RelativeDir)/ $(IntDir)/%(RelativeDir)/ diff --git a/win/sassc.vcxproj.filters b/win/sassc.vcxproj.filters index 3e66146..8d3b76c 100644 --- a/win/sassc.vcxproj.filters +++ b/win/sassc.vcxproj.filters @@ -1,4 +1,4 @@ - + @@ -63,6 +63,12 @@ LibSass\Header Files + + LibSass\Header Files + + + LibSass\Header Files + @@ -74,35 +80,14 @@ LibSass\Source Files + + LibSass\Source Files + LibSass\Header Files - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - - - LibSass\Header Files - LibSass\Header Files @@ -252,27 +237,6 @@ LibSass\Source Files - - LibSass\Source Files - - - LibSass\Source Files - - - LibSass\Source Files - - - LibSass\Source Files - - - LibSass\Source Files - - - LibSass\Source Files - - - LibSass\Source Files - LibSass\Source Files