Compare commits

..
968 Commits
Author SHA1 Message Date
Andre Simon 1b7ea43b84 updated docs and version 2025-07-21 21:39:10 +02:00
Andre Simon 0e8a3a6038 https://sourceforge.net/p/astyle/bugs/600/ fixed comment recognition after macro definition 2025-07-21 21:32:56 +02:00
Andre Simon 326cc8cb79 Merge branch 'master' of https://gitlab.com/saalen/astyle 2025-07-10 23:54:16 +02:00
Andre Simon 0cdbff7b45 https://gitlab.com/saalen/astyle/-/issues/91 fix indent of switch statements within structs 2025-07-10 23:53:38 +02:00
Andre Simon b4d68172c7 fixed memory loss 2025-07-10 23:20:49 +02:00
Andre Simon bc6eb5c045 improved lambda indentation 2025-07-10 01:15:00 +02:00
André Simon 67f1694009 fixed Win32 build 2025-06-16 23:38:57 +02:00
Andre Simon 0da97a5952 https://gitlab.com/saalen/astyle/-/issues/88 ignore lines with git conflict markers 2025-06-07 00:08:03 +02:00
Andre Simon 80847bfe03 https://gitlab.com/saalen/astyle/-/issues/89 fix formatting issue with sizeof followed by pointer with --pad-oper 2025-06-06 22:05:57 +02:00
Andre Simon 63791ecf68 replaced platform file functions by C++ filesystem library 2025-04-23 22:57:09 +02:00
Andre Simon b3026a1dd6 updated version and docs 2025-04-22 21:08:21 +02:00
André Simon 4057477fd2 Merge branch 'fix-mode-param-in-completions' into 'master'
sh-completion: Fix --mode parameter in generation script

See merge request saalen/astyle!15
2025-04-15 22:56:50 +02:00
Andre Simon 1e0ecbd44d Merge branch 'master' of https://gitlab.com/saalen/astyle 2025-04-14 21:24:13 +02:00
Andre Simon 78c12ef696 https://gitlab.com/saalen/astyle/-/issues/85 disable old isInTemplate flag only within structs 2025-04-14 21:23:36 +02:00
Heiko Becker 36b573db17 Re-generate completions after the previous commit 2025-04-07 21:59:49 +02:00
Heiko Becker aa507b5cb1 sh-completion: Fix --mode parameter in generation script
Noticed this when trying to do

❯  astyle -<TAB>

and getting

_arguments:comparguments:327: invalid argument: mode[Set input syntax mode]: :(c java cs objc js
2025-04-07 21:57:21 +02:00
Andre Simon 072b54d904 updated docs layout 2025-04-01 22:15:53 +02:00
André Simon 06fcee74b8 update compiler settings for VS2022 2025-03-26 20:51:33 +01:00
Andre Simon 0a1f58f69b updated version and docs 2025-03-25 23:10:22 +01:00
Andre Simon 0708e3e0d0 https://gitlab.com/saalen/astyle/-/issues/83 adjust --break-blocks to break structs and functions only with all option 2025-03-25 21:34:42 +01:00
Andre Simon 7c1575c947 https://sourceforge.net/p/astyle/bugs/594/ fix space between pointer references with --align-pointer=type 2025-03-23 22:59:20 +01:00
Andre Simon fe49f0e7fb https://sourceforge.net/p/astyle/bugs/595/ define <<< and >>> operators for Java only 2025-03-21 21:57:57 +01:00
Andre Simon 4baf2a6961 https://sourceforge.net/p/astyle/bugs/585/ disable old isInTemplate flag to fix indentation of class modifiers within structs 2025-03-20 00:44:03 +01:00
Andre Simon 045692988a https://sourceforge.net/p/astyle/bugs/585/ another approach to fix indentation of class modifiers within structs 2025-03-16 23:39:52 +01:00
Andre Simon 3aaca754c4 https://sourceforge.net/p/astyle/bugs/585/ fixed indentation of class modifiers within structs 2025-03-13 23:15:07 +01:00
Andre Simon 861293c462 https://sourceforge.net/p/astyle/bugs/586/ fixed parsing of nested structs 2025-03-13 22:43:03 +01:00
Andre Simon 44dc956fa8 https://gitlab.com/saalen/astyle/-/issues/69 yet another approach to fix interpretation of closing nested templates as operator 2025-03-12 23:03:48 +01:00
Andre Simon 41d1323acb https://gitlab.com/saalen/astyle/-/issues/82 fixed indent of multiline strings with macros 2025-03-11 23:58:14 +01:00
Andre Simon eda0df3d02 updated version and docs 2025-02-26 22:33:08 +01:00
Andre Simon 0728a211bf reformatted code 2025-02-26 22:24:07 +01:00
Andre Simon 6901dea663 https://gitlab.com/saalen/astyle/-/issues/81 fix issue with --pad-oper and *= operand 2025-02-26 22:09:34 +01:00
Andre Simon aef1e81aed https://sourceforge.net/p/astyle/bugs/584 do not remove space after opening parens and align-pointer=type 2025-02-26 00:16:03 +01:00
Andre Simon da99d1aed2 https://gitlab.com/saalen/astyle/-/issues/80 disable --unpad-paren in structs for leading whitespace 2025-02-23 22:51:17 +01:00
Andre Simon ca832e1f73 https://gitlab.com/saalen/astyle/-/issues/80 disable --unpad-paren in structs 2025-02-20 22:55:32 +01:00
Andre Simon a0e1fe837b https://gitlab.com/saalen/astyle/-/issues/72 added operator --preserve-ws 2025-02-19 22:43:14 +01:00
André Simon 4f15a66797 https://gitlab.com/saalen/astyle/-/issues/79 fix compilation in VS2022 2025-02-18 23:58:54 +01:00
Andre Simon a189ef0c71 https://gitlab.com/saalen/astyle/-/issues/79 used standard filesystem API to retrieve absolute file paths 2025-02-12 22:24:12 +01:00
Andre Simon ab052780eb https://gitlab.com/saalen/astyle/-/issues/69 another approach to fix interpretation of closing nested templates as operator 2025-02-10 23:04:50 +01:00
Andre Simon 32eaa9372d https://gitlab.com/saalen/astyle/-/issues/69 more generic approach to fix interpretation of closing nested templates as operator 2025-02-07 23:40:09 +01:00
Andre Simon 6792a229b5 https://gitlab.com/saalen/astyle/-/issues/69 fix interpretation of closing nested templates as operator 2025-02-05 22:51:11 +01:00
Andre Simon 785429ed1a https://gitlab.com/saalen/astyle/-/issues/78 adjust pad-include section in the docs 2025-02-05 21:58:40 +01:00
Andre Simon 1f0696aea8 https://gitlab.com/saalen/astyle/-/issues/73 adjust --pad-include to ignore macros in include directives 2025-01-30 20:41:02 +01:00
Andre Simon fd1b70e792 https://gitlab.com/saalen/astyle/-/issues/74 prevent --squeeze-ws of removing whitespace before comments 2025-01-30 20:20:00 +01:00
André Simon cb7f842436 updated year of copyright 2025-01-28 23:36:20 +01:00
André Simon eeb458ac04 avoid VS2022 compilation warnings 2025-01-28 23:31:25 +01:00
André Simon d75b8728d2 Merge branch 'master' of https://gitlab.com/saalen/astyle 2025-01-27 21:23:18 +01:00
André Simon 13c695fd0e added c++17 flags in VS2022 project files 2025-01-27 21:21:14 +01:00
Andre Simon 881d98ac3d https://gitlab.com/saalen/astyle/-/issues/68 add --error-on-changes option 2025-01-13 22:54:27 +01:00
Andre Simon af57722432 Merge branch 'master' of https://gitlab.com/saalen/astyle 2024-12-16 07:03:08 +01:00
saalen 64a13d8517 updated version and docs 2024-12-13 16:49:48 +01:00
saalen 9e97f4ae64 https://sourceforge.net/p/astyle/bugs/517/ adjust delete-empty-lines feature description 2024-12-13 14:57:56 +01:00
saalen 8834b95683 #61 fixed indent after assignment operators (correct cause) 2024-12-12 16:39:18 +01:00
saalen 3d062c52d1 https://gitlab.com/saalen/astyle/-/merge_requests/14/ fixed merge conflict 2024-12-12 15:29:09 +01:00
André Simon 7cbe721d0d Merge branch 'feature/add-charset-as-utf-8' into 'master'
add /utf-8 option to compile on non-English version of VS2022

See merge request saalen/astyle!13
2024-12-10 08:47:36 +00:00
Masaru Tsuchiyama 3873b436e8 add /utf-8 option to compile on non-English version of VS2022
I confirmed it on Japansese version of VS2022.
2024-12-08 20:21:06 +09:00
Andre Simon 98f907e9f6 Merge branch 'master' of https://gitlab.com/saalen/astyle 2024-12-05 19:47:23 +01:00
saalen 59d0f99032 https://gitlab.com/saalen/astyle/-/issues/51 adjust cmake c++17 standard flags 2024-11-29 11:18:30 +01:00
saalen a800d64ca3 https://gitlab.com/saalen/astyle/-/issues/65 fixed indent of multi line strings after preprocessor or comment sections 2024-11-29 10:23:44 +01:00
saalen 35a19724ff https://sourceforge.net/p/astyle/tickets/124/ Fix --align-pointer=middle with existing whitespace 2024-11-28 16:06:07 +01:00
saalen 58890f2b05 updated version and docs 2024-11-28 14:50:14 +01:00
saalen 85e0e8ad3b https://sourceforge.net/p/astyle/tickets/70/ added option --accept-empty-list 2024-11-28 14:44:12 +01:00
saalen d0b3a7e6db https://gitlab.com/saalen/astyle/-/issues/63 fixed indent regression due to method extraction 2024-11-27 14:35:13 +01:00
saalen 62e192de61 #62 fixed indent in blocks after assignment operators 2024-11-25 13:39:49 +01:00
saalen 155c74be1b #61 fixed indent after assignment operators 2024-11-19 16:45:30 +01:00
Andre Simon 5f7ed88b69 updated notes
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-11-01 12:04:19 +01:00
saalen 7beaf8b557 updated docs layout 2024-10-25 17:20:45 +02:00
saalen ff51bbecdf updated install docs 2024-10-25 13:11:17 +02:00
saalen 32f77e11bf deleted old IDE project files 2024-10-23 14:21:24 +02:00
saalen a36e55507d moved cmake scripts content into CMakeLists.txt 2024-10-23 13:07:03 +02:00
Andre Simon 7988205df1 updated c++17 compiler flags
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-10-19 21:50:35 +02:00
Andre Simon 68e98ac4a0 converted readme files to unix line endings
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-10-19 21:40:08 +02:00
saalen da35d0cbe6 updated docs 2024-10-18 15:15:30 +02:00
saalen 60b0658389 https://sourceforge.net/p/astyle/bugs/467/ fixed indent of brace initializers within constructor init list 2024-10-18 15:00:19 +02:00
saalen feffdd9f31 https://sourceforge.net/p/astyle/bugs/172/ improved indent of continued string literals 2024-10-17 16:48:46 +02:00
saalen d91def3d53 https://gitlab.com/saalen/astyle/-/issues/55 fixed space after opening paren for GSC 2024-10-17 13:50:54 +02:00
saalen e3de780332 updated astyle manual layout 2024-10-11 16:51:32 +02:00
saalen a96c3b959d added depraecation hint for --html 2024-10-11 16:51:12 +02:00
saalen 90d67d2d4e updated notes 2024-09-30 21:19:23 +02:00
saalen a69ed9af10 https://gitlab.com/saalen/astyle/-/issues/45 fix indent after single open parenthse 2024-09-29 16:14:00 +02:00
saalen eef8d891c5 https://sourceforge.net/p/astyle/bugs/273/ do not pad operator char * methods 2024-09-20 13:04:21 +02:00
saalen 9deaee74e5 https://sourceforge.net/p/astyle/bugs/250/ do not pad user defined type cast 2024-09-20 12:49:37 +02:00
saalen 5cde788686 https://sourceforge.net/p/astyle/bugs/148/ reformat 2024-09-19 17:49:13 +02:00
saalen a058fc310d https://sourceforge.net/p/astyle/bugs/148/ fixed bitfield line break with macros 2024-09-19 17:23:36 +02:00
saalen 80d1e38f82 fixed CI pipeline 2024-09-18 22:53:53 +02:00
saalen ed6f58014b extracted code of long methods in ASBeautifier 2024-09-17 15:35:33 +02:00
saalen 324fb75fc6 extracted code of long methods 2024-09-16 13:28:13 +02:00
saalen 446b5d02d6 https://gitlab.com/saalen/astyle/-/issues/27 removed flawed option --add-braces=nested 2024-09-13 16:50:49 +02:00
saalen ef760f1f26 refactored pad operand condition 2024-09-13 16:42:59 +02:00
saalen d8cf255be6 https://gitlab.com/saalen/astyle/-/issues/55 fixed GSC modulo padding 2024-09-13 16:03:48 +02:00
saalen 2d7211aa6c removed ASBase inheritance from ASResource 2024-09-10 22:34:31 +02:00
saalen 96d2c94500 updated copyright notes 2024-09-10 21:57:42 +02:00
saalen 723c3d9d67 apply clang-tidy readability-container-size-empty option 2024-09-10 21:51:26 +02:00
saalen 436c1a9abc apply clang-tidy modernize and performance options 2024-09-10 21:29:17 +02:00
saalen 91402fea65 Merge branch 'master' of gitlab.com:saalen/astyle 2024-09-10 16:47:23 +02:00
saalen 91acbad5d8 updated version 2024-09-10 16:46:43 +02:00
saalen f1424af25b https://gitlab.com/saalen/astyle/-/issues/35 reverted - too many regressions 2024-09-10 15:28:00 +02:00
saalen 84ae8ff727 https://gitlab.com/saalen/astyle/-/issues/53 fix padding of multiplier before fct calls 2024-09-09 16:06:45 +02:00
Andre Simon 38c12d4e2f Merge branch 'master' of https://gitlab.com/saalen/astyle 2024-09-05 21:24:34 +02:00
saalen 258aa4fc93 https://sourceforge.net/p/astyle/bugs/580/ fix pad-include with UTF-8 BOM 2024-09-04 15:46:00 +02:00
saalen b75b162f07 updated changes 2024-09-04 14:34:43 +02:00
saalen 55e03f5b74 https://sourceforge.net/p/astyle/bugs/580/ fix pad-include and pad-negation setters 2024-09-04 14:33:08 +02:00
saalen e34c3c3962 fix CI pipeline 2024-09-01 13:43:02 +02:00
saalen b7ddacb2bf updated JNI interface to offer old API and Arduino IDE interface 2024-08-31 16:19:29 +02:00
saalen b3f6f32474 updated docs 2024-08-30 16:10:42 +02:00
saalen ec5e6033ca https://sourceforge.net/p/astyle/tickets/578/ improve --align-pointer=type after parens and brackets 2024-08-30 15:55:27 +02:00
saalen 5c25e14984 updated JNI interface to use Arduino IDE conventions 2024-08-29 15:05:43 +02:00
saalen 7ed1905602 removed VMS compilation options 2024-08-29 14:01:12 +02:00
saalen 859e318894 https://sourceforge.net/p/astyle/bugs/572/ disabled alignment of multiplication operands 2024-08-29 13:59:38 +02:00
Andre Simon 3fab90db91 Merge branch 'master' of https://gitlab.com/saalen/astyle 2024-08-20 20:05:34 +02:00
saalen 1563bf4e80 apply clang-tidy modernize-use-emplace 2024-08-20 12:16:26 +02:00
saalen df35491d3b apply clang-tidy modernize-use-auto 2024-08-20 12:11:54 +02:00
saalen 913f24c3ef https://sourceforge.net/p/astyle/bugs/563 fix indent of member function call parameters 2024-08-20 10:58:48 +02:00
Andre Simon 6ea6067349 Merge branch 'master' of https://gitlab.com/saalen/astyle 2024-08-09 23:19:54 +02:00
saalen b6342ef6a3 updated docs 2024-08-09 16:06:27 +02:00
saalen b83740a620 updated version 2024-08-09 16:06:16 +02:00
saalen b714d5e4e4 combined GHC and GSC style options 2024-08-09 15:44:07 +02:00
saalen c4365b0cb3 https://sourceforge.net/p/astyle/tickets/578/ improve combination of --align-pointer=type and --pad-oper 2024-08-09 13:42:38 +02:00
saalen 6eb1268718 https://sourceforge.net/p/astyle/tickets/572/ improve multiplication recognition with --align-pointer=type 2024-08-06 15:31:53 +02:00
saalen 200d373cb7 update compiler options in build files 2024-08-02 13:56:08 +02:00
André Simon f05cf51b77 Merge branch 'gcc_build_fix' into 'master'
build/gcc: Fix Makefile to use c++17

See merge request saalen/astyle!12
2024-07-29 19:44:51 +00:00
Lars Wendler e1024fd185 build/gcc: Fix Makefile to use c++17
or else build breaks like this:

  astyle.h:332:44: error: ‘std::string_view’ has not been declared
    332 |         const std::string* findHeader(std::string_view line, int i,
        |                                            ^~~~~~~~~~~
2024-07-29 14:13:58 +02:00
Andre Simon 5a79a97e5c https://sourceforge.net/p/astyle/bugs/576/ fix some typos
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-07-24 21:39:57 +02:00
André Simon e3910ee5f9 Merge branch 'cwhii-master-patch-22673' into 'master'
Add link to source code on gitlab #49

See merge request saalen/astyle!11
2024-07-11 07:34:06 +00:00
CW Holeman II 7ed82c2a70 Add link to source code on gitlab 2024-07-08 20:44:57 +00:00
saalen 7899f6637d https://gitlab.com/saalen/astyle/-/issues/47 fix indent of assignments within macros 2024-07-08 16:09:51 +02:00
Andre Simon a3c26f4a3e https://sourceforge.net/p/astyle/tickets/117/ adjust pad-include to adhere to indent-preproc-block
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-07-06 16:53:30 +02:00
André Simon ea6b45b5df Merge branch 'bai/3.5.1-fixes' into 'master'
#48 fix(astyle_main.cpp): fix build against recent changes

See merge request saalen/astyle!10
2024-07-05 05:40:17 +00:00
Mingcong Bai 2c9258da22 fix(astyle_main.cpp): fix parseOption() usage against a recent change
This method used to take two parameters, now it only takes one.

Fixes: 5146121caa
2024-07-04 23:01:07 +08:00
Mingcong Bai 7e0e06dca5 fix(astyle_main.cpp): fix build against a recent change
Fixes: 8aeea822b9
2024-07-04 22:58:36 +08:00
Andre Simon 16fd02b032 update docs
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-06-30 15:02:46 +02:00
Andre Simon 178d5286da #46 added gsc mode
Signed-off-by: Andre Simon <as@andre-simon.de>
2024-06-30 14:57:36 +02:00
Andre Simon 5146121caa https://sourceforge.net/p/astyle/bugs/575 fix VS19 compiler warnings 2024-06-30 11:22:57 +02:00
saalen 614e75d706 https://sourceforge.net/p/astyle/tickets/117/ added pad-include options 2024-06-24 14:26:43 +02:00
saalen cbac1114a4 updated docs 2024-06-20 15:59:15 +02:00
saalen 8aeea822b9 https://gitlab.com/saalen/astyle/-/issues/43 keep initial EOL for file name input 2024-06-19 15:31:24 +02:00
André Simon 5d96c868ac fix binary mode of stdin/stdout in Windows builds 2024-06-18 22:11:30 +02:00
saalen 96b8fde1d8 https://gitlab.com/saalen/astyle/-/issues/43 improve EOL handling, keep initial EOL 2024-06-18 15:54:29 +02:00
saalen 85b24a1e01 https://gitlab.com/saalen/astyle/-/issues/43 improve EOL handling 2024-06-18 15:38:20 +02:00
saalen bfa423b949 https://sourceforge.net/p/astyle/bugs/574/ update docs 2024-06-18 15:36:49 +02:00
saalen 893a433aa7 https://sourceforge.net/p/astyle/bugs/574/ fix crash 2024-06-17 17:01:32 +02:00
saalen 3524d66639 #42 fix recognition of Java/C# multi line strings 2024-06-05 14:42:43 +02:00
saalen 3f3f90b577 updated version number 2024-06-04 16:27:41 +02:00
saalen af17f3b833 https://sourceforge.net/p/astyle/bugs/571 add option --pad-negation=before 2024-06-04 16:16:23 +02:00
saalen 88a2903caf https://sourceforge.net/p/astyle/bugs/571 add option --pad-negation in bash completion 2024-06-03 16:22:35 +02:00
saalen 4154588caf https://sourceforge.net/p/astyle/bugs/571 add option --pad-negation in help messages 2024-06-03 16:18:34 +02:00
saalen 9369c8455f https://sourceforge.net/p/astyle/bugs/571 add option --pad-negation 2024-06-03 15:27:10 +02:00
saalen aa7e2febec https://sourceforge.net/p/astyle/bugs/573/ apply align-pointer=type only if type is present 2024-06-03 14:51:15 +02:00
saalen 4e72cf7e15 updated docs 2024-06-03 14:51:15 +02:00
saalen 683a618343 https://sourceforge.net/p/astyle/bugs/574/ avoid deletion of empty lines after continuation 2024-06-03 14:51:01 +02:00
saalen 422985f01b https://sourceforge.net/p/astyle/bugs/572/ fix alignment of logical and operators 2024-06-03 12:52:57 +02:00
saalen 9fd80e1abe updated docs and version 2024-05-16 11:15:42 +02:00
saalen 485382e2aa https://gitlab.com/saalen/astyle/-/issues/35 fix of reference args alignment 2024-05-16 11:13:13 +02:00
saalen b27cccdb9d https://sourceforge.net/p/astyle/bugs/570/ fix padding of scientific notation literals 2024-05-14 23:09:36 +02:00
saalen 8c69e067ec fix padding of lambda capture with align-pointer option 2024-05-07 13:04:16 +02:00
saalen b09b2355e0 https://sourceforge.net/p/astyle/bugs/560/ exclude files ending with backup suffix from input file names list 2024-05-03 15:59:06 +02:00
saalen 86532b948f https://gitlab.com/saalen/astyle/-/issues/35 fix of --align-pointer=type option for all types in lambda parameter lists 2024-05-03 13:14:17 +02:00
saalen 3623229876 https://sourceforge.net/p/astyle/bugs/569/ fix --break-block handling of class and function blocks 2024-05-03 09:37:56 +02:00
saalen bac6279b26 https://sourceforge.net/p/astyle/bugs/566/ fix parsing of floating point literals 2024-05-02 17:09:29 +02:00
Andre Simon 050c108c28 updated astyle readme 2024-04-28 18:01:57 +02:00
saalen bcf5bb4a5e removed getIndentedLineReturn method 2024-04-17 17:16:27 +02:00
saalen 9a77b83a8b enabled C++17 compiler switch 2024-04-09 17:38:46 +02:00
saalen fd449b0e5e replaced const string refs by string_view parameters 2024-04-09 17:27:18 +02:00
saalen 803ba0955a https://gitlab.com/saalen/astyle/-/issues/24 add cmake option to disable documentation installation 2024-04-05 16:05:06 +02:00
saalen 086ed3a3d3 https://gitlab.com/saalen/astyle/-/issues/29 fix of --indent-after-parens indent count 2024-04-04 17:00:44 +02:00
saalen 9af46ccc6c https://gitlab.com/saalen/astyle/-/issues/35 fix of --align-pointer=type option for fundamental types in lambda parameter lists 2024-04-04 16:21:55 +02:00
saalen 04aabdd005 https://sourceforge.net/p/astyle/bugs/565/ fixed split references with -k1 option 2024-03-28 13:27:32 +01:00
saalen 15cf1e018b Merge branch 'master' of gitlab.com:saalen/astyle 2024-03-06 13:01:51 +01:00
saalen f32c555bc1 https://sourceforge.net/p/astyle/bugs/564/ fixed documentation 2024-03-06 12:16:10 +01:00
saalen 7e97becbcf update documentation and notes 2024-03-06 12:07:16 +01:00
saalen 21b58e214e #39 fix comment indent after string macro with R suffix 2024-03-06 12:00:40 +01:00
saalen 16c4a56aa4 #38 do not break single line block after enum in mozilla mode 2024-03-06 10:52:33 +01:00
saalen aa58fe1aa4 #40 adjust cmake policy for new versions only 2024-03-05 15:59:52 +01:00
André Simon 87e0136e5f Merge branch 'master' into 'master'
News page: Fix typo, add last release dates

See merge request saalen/astyle!9
2024-02-24 06:39:44 +00:00
Peu 3bdf5fb041 News page: Fix typo, add last release dates 2024-02-24 06:39:43 +00:00
André Simon b66f3cb173 Merge branch 'master' into 'master'
support scikit-build-core

See merge request saalen/astyle!8
2024-02-12 15:21:55 +00:00
Wu Zhenyu 055c06d4c5 support scikit-build-core
refer https://github.com/scikit-build/scikit-build-core/issues/632#issuecomment-1936946228
we must patch code to avoid more issues down the line
2024-02-10 17:12:38 +08:00
Wu Zhenyu 93605a0147 change /usr/man to /usr/share/man to respect standard 2024-02-10 17:12:12 +08:00
saalen 1c27f34918 https://gitlab.com/saalen/astyle/-/issues/36 fixed addition of closing brace within statement blocks 2024-02-02 17:19:14 +01:00
saalen 96bd14dee1 https://gitlab.com/saalen/astyle/-/issues/36 fixed addition of closing brace after multi line statements 2024-02-01 16:49:20 +01:00
saalen 90499c92cf https://gitlab.com/saalen/astyle/-/issues/36 fixed crash with opening block in next line 2024-01-30 21:21:51 +01:00
saalen cf95606462 updated docs 2024-01-30 16:32:30 +01:00
saalen 05502078e1 https://gitlab.com/saalen/astyle/-/issues/36 fixed crash with --add-braces=nested applied to if-else blocks 2024-01-26 16:22:59 +01:00
saalen 95c9e4f6db https://gitlab.com/saalen/astyle/-/issues/33 added --pad-brackets-in and --pad-brackets-out options 2024-01-19 16:40:02 +01:00
saalen 619081a737 https://gitlab.com/saalen/astyle/-/issues/28 fixed indentation of initializer lists 2024-01-16 10:37:57 +01:00
saalen 3f2b5c92a0 https://gitlab.com/saalen/astyle/-/issues/27 updated notes.html 2024-01-05 17:28:54 +01:00
saalen 99ceeb79b4 https://gitlab.com/saalen/astyle/-/issues/27 avoid assertion error if brace already exists 2024-01-05 17:26:21 +01:00
saalen bbf726c605 https://gitlab.com/saalen/astyle/-/issues/27 add new option --add-braces=nested to add braces around nested one line stmts 2024-01-05 16:59:46 +01:00
saalen 2987c9b361 https://gitlab.com/saalen/astyle/-/issues/28 fix indent of struct members with dot prefix 2024-01-03 16:19:54 +01:00
saalen 48b574fccf updated notes.html 2024-01-02 17:27:41 +01:00
saalen 15ae8d6bdb https://gitlab.com/saalen/astyle/-/issues/28 fix indent after double template brackets 2024-01-02 17:18:19 +01:00
saalen 58710b4b86 https://gitlab.com/saalen/astyle/-/issues/28 fix indent after dot 2024-01-02 15:10:36 +01:00
Andre Simon d31b289c0d https://sourceforge.net/p/astyle/bugs/559/ fix CI pipeline 2024-01-01 21:35:36 +01:00
Andre Simon 9c6e9f942a https://sourceforge.net/p/astyle/bugs/559/ change squeeze line counter int type 2024-01-01 21:24:26 +01:00
André Simon 8218a855f7 https://sourceforge.net/p/astyle/bugs/559/ initialize squeeze line counter 2024-01-01 20:58:57 +01:00
saalen 9a26f1e6d4 https://gitlab.com/saalen/astyle/-/issues/31 add experimental GHC mode 2023-12-29 16:53:22 +01:00
saalen 6f8e619193 https://gitlab.com/saalen/astyle/-/issues/32 fix indent after raw string 2023-12-29 16:01:41 +01:00
saalen a2056ddf70 https://gitlab.com/saalen/astyle/-/issues/26 disable for another approach 2023-11-30 16:52:39 +01:00
saalen c988613837 https://gitlab.com/saalen/astyle/-/issues/26 apply only to C syntax 2023-11-28 15:33:59 +01:00
saalen cea7932ed4 https://gitlab.com/saalen/astyle/-/issues/26 fix indent of switch blocks 2023-11-27 16:38:56 +01:00
saalen 05a5acaf64 https://gitlab.com/saalen/astyle/-/issues/26 fix indent of labels within functions returning a struct 2023-11-27 14:25:06 +01:00
saalen 774bf30237 https://sourceforge.net/p/astyle/bugs/558/ fixed some typos 2023-11-10 16:28:09 +01:00
saalen 824d4b7991 https://gitlab.com/saalen/astyle/-/issues/16 fixed missing indent in function parameter list 2023-10-19 18:17:11 +02:00
saalen 3818cc1def fixed CI script 2023-10-16 17:20:16 +02:00
saalen 3905a70a59 updated astyle paths in CI test scripts 2023-10-16 17:17:23 +02:00
saalen e2870b5171 https://sourceforge.net/p/astyle/bugs/557 fixed inserting space with combined --pad-oper and --align-pointer=type option 2023-10-16 13:27:30 +02:00
saalen 859f868f26 https://sourceforge.net/p/astyle/bugs/557 fixed inserting space with combined --pad-oper and --align-pointer options 2023-10-16 13:20:24 +02:00
André Simon 5b302bf3fa Merge branch 'master' into 'master'
Master

See merge request saalen/astyle!7
2023-10-13 14:37:25 +00:00
CW Holeman II 86f28be2b8 Merge branch astyle:master into master 2023-10-12 17:57:44 +00:00
cwhii 2eb37a49f6 #21 backed out style as not for HTML comments. 2023-10-12 10:56:11 -07:00
André Simon 797da683e5 Merge branch 'master' into 'master'
Master

See merge request saalen/astyle!6
2023-10-10 13:49:03 +00:00
CW Holeman II da93cd3051 Merge branch astyle:master into master 2023-10-09 14:29:45 +00:00
cwhii b0c8794ad0 #21 Use CSS white-space/nowrap rather than special dash charcter in HTML files. 2023-10-09 07:25:28 -07:00
André Simon 025ad91b75 Merge branch 'master' into 'master'
Master

See merge request saalen/astyle!5
2023-10-05 16:10:22 +00:00
saalen 45833e5e1b https://sourceforge.net/p/astyle/bugs/97/ fixed multi line assignment indentation 2023-10-04 16:30:01 +02:00
saalen 51bb19097d simplified code 2023-10-04 16:29:15 +02:00
cwhii 2cee63dd71 #21 Spell Objective-C consistently. 2023-10-03 14:54:05 -07:00
cwhii c00b836e3c Spell Objective-C consistently. 2023-10-03 14:42:43 -07:00
CW Holeman II d83f96a5b4 Merge branch astyle:master into master 2023-10-02 17:58:31 +00:00
cwhii 9db81c02ce Typo. 2023-10-02 10:15:44 -07:00
saalen 1084cdaf92 updated version 2023-09-29 16:13:29 +02:00
saalen ae991ee51c https://gitlab.com/saalen/astyle/-/issues/16 fix line break with several array initializers in a single line block 2023-09-29 16:09:55 +02:00
saalen 1e727f453d Merge branch 'master' of gitlab.com:saalen/astyle 2023-09-28 16:52:35 +02:00
saalen 77ff0d844f https://gitlab.com/saalen/astyle/-/issues/16 fix line break after casting within an if block 2023-09-28 16:52:21 +02:00
André Simon 1b2631e578 Merge branch 'master' into 'master'
Force ASCIIdoc to passthru C++ w/o formatting.

See merge request saalen/astyle!4
2023-09-27 21:04:51 +00:00
cwhii 2f60ecae3b Forse ASCIIdoc to passthru C++ w/o formatting. 2023-09-27 13:59:26 -07:00
saalen 44da67c6fb https://gitlab.com/saalen/astyle/-/issues/19 improved expressions in docs 2023-09-22 09:34:37 +02:00
saalen 7cf2c8e678 updated version 2023-09-21 17:13:07 +02:00
saalen 9ab14f1f50 https://gitlab.com/saalen/astyle/-/issues/19 added new option --pad-empty-paren 2023-09-21 17:11:37 +02:00
saalen 3368b0bc16 updated version and notes 2023-09-21 16:39:38 +02:00
saalen 80070921d5 https://gitlab.com/saalen/astyle/-/issues/16 fix line break after set variable name 2023-09-21 16:25:53 +02:00
saalen 223a8a765c https://gitlab.com/saalen/astyle/-/issues/16 adjusted indent count 2023-09-18 22:30:39 +02:00
saalen 3ed3247931 https://gitlab.com/saalen/astyle/-/issues/18 fixed empty line after switch block 2023-09-15 14:18:32 +02:00
saalen 537c3d10d3 https://gitlab.com/saalen/astyle/-/issues/19 added outer padding for emtpy parens pairs 2023-09-14 20:33:04 +02:00
saalen 55ff6e9425 https://sourceforge.net/p/astyle/bugs/556 fixed astyle docs 2023-09-13 16:10:54 +02:00
saalen 52f0e25f7f https://gitlab.com/saalen/astyle/-/issues/18 fixed empty line after closing while block - new approach 2023-09-13 16:09:02 +02:00
saalen 061c17f5e8 updated version and notes 2023-09-08 16:38:36 +02:00
saalen e1fc3515a5 https://sourceforge.net/p/astyle/bugs/434/ fixed indentation of method calls - avoid more regressions 2023-09-08 14:25:44 +02:00
saalen 664168e298 https://sourceforge.net/p/astyle/bugs/434/ fixed indentation of method calls - avoid regression 2023-09-08 13:41:19 +02:00
saalen 2d1a88565e https://sourceforge.net/p/astyle/bugs/434/ fixed indentation of method calls 2023-09-07 16:48:07 +02:00
saalen c8a2db74c9 https://gitlab.com/saalen/astyle/-/issues/18 fixed empty line after closing while block 2023-09-04 16:34:25 +02:00
saalen c7b4dbcea1 https://sourceforge.net/p/astyle/bugs/554 fixed lambda broken brace after auto keyword 2023-09-01 16:04:28 +02:00
saalen ca002bd04d https://sourceforge.net/p/astyle/bugs/226 fixed line break after comment in asm block 2023-09-01 15:18:58 +02:00
saalen 5e6a58a962 https://sourceforge.net/p/astyle/bugs/126 fixed padding of multiply operator 2023-08-31 16:14:02 +02:00
saalen ebbd504e0f fix CS padding in array method invocation 2023-08-24 14:49:50 +02:00
saalen 4bdeb795e7 https://gitlab.com/saalen/astyle/-/issues/16 updated version 2023-08-24 14:17:02 +02:00
saalen 3e849512f2 https://gitlab.com/saalen/astyle/-/issues/16 fixed line break in value list 2023-08-23 17:13:05 +02:00
saalen 09f0e26cd5 https://gitlab.com/saalen/astyle/-/issues/16 delete unused variable 2023-08-22 14:19:56 +02:00
saalen 62e13df4f2 https://gitlab.com/saalen/astyle/-/issues/16 fixed CS indent of array init lists within parentheses 2023-08-22 14:15:49 +02:00
saalen 75500584dd https://gitlab.com/saalen/astyle/-/issues/16 reverted some changes to avoid regressions 2023-08-21 16:43:15 +02:00
saalen 37e62ef92e https://gitlab.com/saalen/astyle/-/issues/16 fixed CS indent after new keyword in using clause 2023-08-18 14:33:42 +02:00
saalen ff64d03617 https://sourceforge.net/p/astyle/bugs/553/ fixed block breaks in lambda blocks 2023-08-18 13:50:56 +02:00
saalen 8c4c45aa5e #8 fixed formatting of CS interpolation literals - testing for escaped quote 2023-08-17 18:07:43 +02:00
saalen 803e9aa64e https://gitlab.com/saalen/astyle/-/issues/16 fixed CS indent after new keyword in if clause 2023-08-17 17:13:34 +02:00
saalen 2843dfde8f https://gitlab.com/saalen/astyle/-/issues/16 fixed CS indent after new keyword checking for header types 2023-08-16 14:44:28 +02:00
saalen fad44e2ee7 https://gitlab.com/saalen/astyle/-/issues/16 fixed CS indent after new keyword 2023-08-15 15:36:45 +02:00
saalen 3067304024 https://gitlab.com/saalen/astyle/-/issues/17 added C# coalesce operator #2 2023-08-11 16:27:08 +02:00
saalen 91d458cc25 updated version and notes 2023-08-11 16:17:04 +02:00
saalen 4b25cf7cea https://gitlab.com/saalen/astyle/-/issues/17 added C# coalesce operator 2023-08-11 15:48:02 +02:00
saalen 6152d3d67c https://gitlab.com/saalen/astyle/-/issues/16 new approach 2023-08-11 15:36:37 +02:00
Andre Simon 59ea063e6e fix typos of codespell report 2023-08-03 18:14:46 +02:00
saalen da71161dda updated version and notes 2023-08-02 09:24:41 +02:00
André Simon 6f12728575 Merge branch 'master' into 'master'
Moved squeeze-lines option and added VS2022

See merge request saalen/astyle!3
2023-08-02 07:18:57 +00:00
saalen 41da8a746b https://gitlab.com/saalen/astyle/-/issues/16 updated notes 2023-08-01 17:57:01 +02:00
saalen 32fba0e9b5 https://gitlab.com/saalen/astyle/-/issues/16 C# fixed indentation of comments after interpolation quotes 2023-08-01 17:53:37 +02:00
saalen 9a0ff6b2a1 https://gitlab.com/saalen/astyle/-/issues/14 added TODO hints 2023-08-01 17:26:08 +02:00
elverimu 8a1f941db1 moved squeeze-lines option, so it can be used in library 2023-08-01 15:52:52 +02:00
elverimu 688d706f3e added VS2022 solutions 2023-08-01 15:52:35 +02:00
saalen 19850fcdb6 https://sourceforge.net/p/astyle/bugs/464/ fixed indent of C# allocation blocks 2023-07-05 16:20:02 +02:00
saalen d93540a274 https://sourceforge.net/p/astyle/bugs/504/ fixed indent of function declarations following access modifiers 2023-06-26 12:11:44 +02:00
saalen 30cf6f3baa code reformatting 2023-06-23 14:20:08 +02:00
saalen 75d3e4ed62 https://sourceforge.net/p/astyle/bugs/552/ fixed padding of & following a comma 2023-06-23 14:10:27 +02:00
Andre Simon 82fd2d21c7 updated notes 2023-06-16 21:42:37 +02:00
saalen 3675f954b6 https://sourceforge.net/p/astyle/bugs/353/ fix indent after new in previous line #2 2023-06-15 17:02:25 +02:00
saalen 5551b2b25b https://sourceforge.net/p/astyle/bugs/353/ fix indent after new in previous line 2023-06-14 16:14:35 +02:00
saalen 221457c348 updated astyle docs and shell completion 2023-06-14 10:31:25 +02:00
saalen 21a892b5b5 updated notes 2023-06-14 10:08:56 +02:00
saalen a372130733 #6 updated docs 2023-06-14 10:01:48 +02:00
saalen 69c8c34f43 https://gitlab.com/saalen/astyle/-/issues/12 fixed indentation of struct assignments 2023-06-14 10:01:14 +02:00
saalen 8e66ef8de3 #10 fixed indentation of member declarations 2023-06-12 13:57:20 +02:00
saalen e0963a5233 #11 fixed false lambda recognition 2023-06-12 11:44:57 +02:00
saalen 8f421ab582 #7 added new option --indent-lambda to to enable new lambda recognition 2023-06-12 11:44:21 +02:00
saalen 28f2c87919 #8 fixed formatting of CS interpolation literals 2023-06-06 13:37:05 +02:00
André Simon 90232de96e Merge branch 'std_namespace' into 'master'
Add missing std namespace

See merge request saalen/astyle!2
2023-05-24 12:31:51 +00:00
Antoine Belvire c03fe1133f Add missing std namespace
Fixes build on Linux.
2023-05-24 10:38:10 +00:00
saalen 0ffb5e4426 updated version string 2023-05-17 11:10:34 +02:00
saalen aa9a8beafa https://sourceforge.net/p/astyle/bugs/487/ fixed indent of brace initializer with new 2023-05-15 16:46:49 +02:00
saalen 56ddd730d9 updated release notes 2023-05-11 16:00:03 +02:00
André Simon 2ad0c5176a Merge branch 'meson_compat' into 'master'
Small CMake changes to make compatible with meson

See merge request saalen/astyle!1
2023-05-07 12:01:11 +00:00
Jacob Alexander c3383ee125 Small CMake changes to make compatible with meson
- Meson requires all subprojects to have a top-level build file
  (meson.build or CMakeLists.txt) to use them as a dependency.
- Also added a CMP0112 policy to disable warning in newer versions of CMake
2023-05-05 12:02:44 -07:00
saalen 204cf3d702 updated release notes 2023-05-05 16:51:22 +02:00
saalen 9bcfd5174e added new --pad-brackets and --unpad-brackets options 2023-05-05 16:17:57 +02:00
saalen 297825af4a https://sourceforge.net/p/astyle/bugs/537/ fixed padding of pointers separated by comma, checking for open parens 2023-05-02 14:19:18 +02:00
saalen c246d5ae46 updated help message 2023-04-24 16:41:04 +02:00
saalen 5e85ad4283 https://sourceforge.net/p/astyle/tickets/84/ added new --squeeze-lines option 2023-04-20 17:57:39 +02:00
saalen 631e24f690 https://gitlab.com/saalen/astyle/-/issues/4 fixed a regression related to #534 2023-04-20 16:46:27 +02:00
saalen df1613046f https://gitlab.com/saalen/astyle/-/issues/3 fixed a regression related to #534 2023-04-19 16:44:43 +02:00
saalen af89dfd3cb added new --squeeze-ws option 2023-04-18 17:11:35 +02:00
saalen 62713fe165 updated notes.html 2023-04-15 14:53:14 +02:00
saalen 0add646b21 refactored namespace std usage 2023-04-14 16:26:59 +02:00
saalen bb885d22ba https://sourceforge.net/p/astyle/bugs/516/ fixed indent of C++11 initializer lists 2023-04-14 14:54:24 +02:00
saalen 3f467c58de https://sourceforge.net/p/astyle/tickets/121/ fixed indent of lambda bodies in fct calls - new approach 2023-04-12 16:29:51 +02:00
saalen 8edb11ab09 version set to 3.3 beta 2023-04-06 16:52:58 +02:00
saalen 7171c3a9ec https://sourceforge.net/p/astyle/tickets/121/ fixed indent of lambda bodies in fct calls 2023-04-04 17:14:30 +02:00
saalen 62ed88a770 https://sourceforge.net/p/astyle/bugs/526/ fixed struct name indent 2023-04-04 15:24:19 +02:00
saalen 2e9fe14947 https://sourceforge.net/p/astyle/bugs/534/ fixed indent of struct initializer lists 2023-03-31 15:58:26 +02:00
saalen a865024320 Merge branch 'master' of gitlab.com:saalen/astyle 2023-03-31 14:21:10 +02:00
saalen 0c3eb8ec46 updated notes.html 2023-03-31 14:15:54 +02:00
saalen 785d52fa55 updated version number 2023-03-31 14:15:29 +02:00
saalen b637cbb6d2 #2 https://sourceforge.net/p/astyle/bugs/534/ fixed yet another regression 2023-03-31 14:03:32 +02:00
Andre Simon 9ae2751ce4 fixed merge conflict 2023-03-29 20:14:48 +02:00
saalen 3cf316a785 added local development.html 2023-03-29 15:13:25 +02:00
saalen a5b17494e3 added check for undefined HOME env var 2023-03-29 15:13:04 +02:00
saalen 6c530550af updated docs; version string 2023-03-28 17:12:39 +02:00
saalen fdbae61b21 updated astyle.html 2023-03-27 17:30:02 +02:00
saalen fd13fe36d5 updated news and notes 2023-03-27 16:02:08 +02:00
saalen a62e84df90 https://sourceforge.net/p/astyle/bugs/518/ fixed break-blocks format after struct 2023-03-24 16:26:43 +01:00
saalen 06ab3e60a1 added Objective C to conditions 2023-03-24 15:47:31 +01:00
Andre Simon 555b106346 Merge branch 'master' of https://gitlab.com/saalen/astyle 2023-03-15 20:30:52 +01:00
saalen 0d3113cfbb https://sourceforge.net/p/astyle/bugs/525/ avoid regression of align-method-colon 2023-03-15 17:27:06 +01:00
saalen 63973c381d fix pad-method-colon options in ObjectiveC mode 2023-03-15 14:07:05 +01:00
Andre Simon 9d566d77d4 Merge branch 'master' of https://gitlab.com/saalen/astyle 2023-03-14 17:48:34 +01:00
saalen f5c48f89e2 updated css definitions 2023-03-14 16:31:18 +01:00
Andre Simon 34a2afaa7e added undefined home env var check 2023-03-05 18:01:39 +01:00
saalen 26d2c5e1d6 https://sourceforge.net/p/astyle/bugs/525/ fix indent of ObjectiveC statements 2023-03-02 16:07:33 +01:00
saalen 61621517fc https://sourceforge.net/p/astyle/bugs/483/ fix parsing of C# interpolation strings 2023-03-01 16:00:08 +01:00
saalen 010c88cbee added INVALID_TYPE constant 2023-03-01 14:04:28 +01:00
Andre Simon 66796b7075 added man page to file install list 2023-02-27 21:25:43 +01:00
Andre Simon ff3cf03bb3 https://sourceforge.net/p/astyle/bugs/541/ fixed project file search on Linux 2023-02-27 20:40:39 +01:00
Andre Simon 529b93f073 fixed help messages of pad-param-type options 2023-02-23 21:32:15 +01:00
Andre Simon caafa42ade added shell completion scripts 2023-02-23 21:24:14 +01:00
saalen 378dda7c97 added --mode=objc option 2023-02-16 18:11:25 +01:00
saalen ceed0550ed updated libs-base test case 2023-02-16 18:11:15 +01:00
Andre Simon 85b22457a2 fixed project file search on Linux (https://sourceforge.net/p/astyle/bugs/541/) 2023-02-12 18:11:41 +01:00
André Simon b439d89c9d fixed project file search on windows (https://sourceforge.net/p/astyle/bugs/541/) 2023-02-12 17:35:39 +01:00
Andre Simon b6d95cc2b1 updated notes 2023-02-11 17:36:50 +01:00
Andre Simon 0a5c3c303e resolved merge conflict 2023-02-11 17:29:47 +01:00
Andre Simon 36c986f08c updated docs 2023-02-11 17:24:58 +01:00
saalen d2ea1dc7e8 reformatted code 2023-02-10 21:29:47 +01:00
saalen 51989e0120 #1 fixed project file search with wildcard input paths 2023-02-10 21:24:23 +01:00
saalen 91b0bcf74e https://sourceforge.net/p/astyle/bugs/546/ removed debug line 2023-02-10 15:55:27 +01:00
saalen 873d7a662e https://sourceforge.net/p/astyle/bugs/546/ fixed regression #2 2023-02-10 15:54:43 +01:00
saalen a2135227e5 https://sourceforge.net/p/astyle/bugs/546/ fixed regression 2023-02-09 12:36:03 +01:00
saalen 4c39b21a70 https://sourceforge.net/p/astyle/bugs/521 revert to avoid indent regression of code lines in #ifdef stmts 2023-02-08 16:50:29 +01:00
saalen fc011d3cc4 https://sourceforge.net/p/astyle/bugs/534/ fixed another regression 2023-02-06 19:23:27 +01:00
saalen 6740158058 https://sourceforge.net/p/astyle/bugs/485 fixed negative integer literal breaks initializer list 2023-02-06 18:45:16 +01:00
saalen 369d247f73 https://sourceforge.net/p/astyle/bugs/508 fixed documentation of --delete-empty-lines short option 2023-02-06 18:19:44 +01:00
saalen 946cc2d878 https://sourceforge.net/p/astyle/bugs/521 fixed preprocessor indentation 2023-02-06 17:58:49 +01:00
saalen 92bdbe869e https://sourceforge.net/p/astyle/bugs/534/ fixed regression 2023-02-06 17:54:31 +01:00
saalen 83b32c8ea9 https://sourceforge.net/p/astyle/bugs/521/ applied patch to fix preprocessor indentation 2023-02-05 20:14:16 +01:00
saalen 76431ab6db https://sourceforge.net/p/astyle/bugs/541/ fixed project file search 2023-02-05 19:44:37 +01:00
saalen 74bdc62e4b updated notes.html 2023-02-05 19:10:48 +01:00
saalen 44d857e88b https://sourceforge.net/p/astyle/tickets/130/ better description for stat errors 2023-02-05 17:28:38 +01:00
saalen c413186c0d https://sourceforge.net/p/astyle/bugs/533/ fixed break of continued preprocessor strings with colon 2023-02-05 17:13:50 +01:00
saalen a7304fb036 Merge branch 'master' of gitlab.com:saalen/astyle 2023-02-04 19:46:23 +01:00
saalen cb6953049f https://sourceforge.net/p/astyle/bugs/534/ fixed struct bitfield indentation 2023-02-04 19:43:31 +01:00
saalen 9816287f87 added man page to cmake install list 2023-02-04 19:42:04 +01:00
Andre Simon 903b1b0b9a added README.adoc in project root 2023-01-30 18:50:27 +01:00
saalen f286a31f6f https://sourceforge.net/p/astyle/bugs/549/ replace PATH_MAX by realpath 2023-01-23 15:54:06 +01:00
saalen 08ab63b302 updated maintainer list 2023-01-17 17:09:50 +01:00
saalen a9a3dc865d updated links in the documentation 2023-01-17 17:07:13 +01:00
saalen d858c87d6d updated Copyright notes 2023-01-17 16:55:48 +01:00
saalen 6c5dded993 created man page 2023-01-16 17:21:39 +01:00
saalen f4f13b2c5d removed deprecated options 2023-01-13 16:17:02 +01:00
saalen 4e7345da2c added --mode=js option 2023-01-13 16:07:58 +01:00
saalen 9bc3133ce9 removed upper limit of max-continuation-indent 2023-01-12 16:55:20 +01:00
saalen 43cd3ed7a4 revert change for #537 2023-01-12 16:39:56 +01:00
saalen cfc58a5347 adjusted regression test scripts 2023-01-09 10:24:10 +01:00
saalen 120623cbea https://sourceforge.net/p/astyle/bugs/535/ fix raw string parsing 2022-12-09 15:28:18 +01:00
saalen c35cfef8dd https://sourceforge.net/p/astyle/bugs/543/ fix recognition of rvalue operator as reference 2022-12-09 11:56:40 +01:00
saalen 82643c958e https://sourceforge.net/p/astyle/bugs/527/ fix reverting effect of AttachReturnType option 2022-12-08 17:52:35 +01:00
saalen 9d3b1eef71 https://sourceforge.net/p/astyle/bugs/537/ fixed padding of pointers separated by comma 2022-12-07 16:46:38 +01:00
saalen cdcb92ddd7 https://sourceforge.net/p/astyle/bugs/544/ fixed padding of dereference operator 2022-12-02 15:18:47 +01:00
saalen 0a9036ff50 added gitignore file 2022-12-02 14:33:50 +01:00
saalen fcf13cd9b9 adopted regression test script 2022-12-02 14:29:42 +01:00
saalen db8cd9a5dc https://sourceforge.net/p/astyle/bugs/545/ fix reverting effect of maxCodeLength and AttachReturnType options 2022-12-02 14:26:32 +01:00
saalen 4074d30680 https://sourceforge.net/p/astyle/bugs/546/ fixed space deletion when aligning ref value name 2022-11-25 16:33:44 +01:00
saalen fca9d2915a https://sourceforge.net/p/astyle/bugs/550/ fixed case indent after enum return value 2022-11-25 15:20:00 +01:00
saalen b760fe0bcc https://sourceforge.net/p/astyle/bugs/538/ added spaceship operator 2022-11-25 13:10:17 +01:00
Andre Simon f84264c4c5 improved DE localization 2022-11-23 21:51:21 +01:00
Andre Simon 3d2cb8f2e5 https://sourceforge.net/p/astyle/tickets/129/ applied IT localization patch 2022-11-23 21:39:16 +01:00
Andre Simon a6f646b71f converted source files to UNIX format 2022-11-20 21:02:12 +01:00
jimp03 bed87f8206 Modernize CMake files.
Tests for astyle commit 671.
2019-04-06 00:55:55 +00:00
jimp03 0234a68fed Modernize CMake files. 2019-04-06 00:52:43 +00:00
jimp03 e9c55cc528 Update SciTE properties files. 2019-04-06 00:44:45 +00:00
jimp03 ad2712b2c5 Modernize CMake files.
Standardize method names.
2019-04-06 00:42:57 +00:00
jimp03 9099fd6418 Modernize CMake files.
Standardize method names.
2019-04-06 00:41:34 +00:00
jimp03 0c4733a838 Modernize CMake files.
Standardize method names.
2019-04-06 00:37:38 +00:00
jimp03 4f73ff73c2 Change to Linux line ends. 2019-03-14 15:37:28 +00:00
jimp03 ed0dc98503 Change to Linux line ends. 2019-03-14 15:26:35 +00:00
jimp03 050c4ca3e1 Changes to IDE project files.
Changes from clang-tidy.
Various bug fixes.
2019-03-13 21:28:36 +00:00
jimp03 206afd8891 Changes to IDE project files.
Scripts for running Valgrind on Linux.
Add tests for AStyle changes, revision 660.
2019-03-13 21:24:32 +00:00
jimp03 8d30c1b270 Changes to IDE project files.
Documentation changes.
2019-03-13 21:20:00 +00:00
jimp03 8ea4dcfda5 Changes to IDE project files.
Add documentation files.
Update CMake to use wxWidgets instructions.
Changes from clang-tidy.
2019-03-13 21:17:36 +00:00
jimp03 d2d180f475 Changes to IDE project files.
Add tests for AStyle changes.
2019-03-13 20:58:13 +00:00
jimp03 d16bd861d0 Changes for AStyle revision 654. 2018-04-05 22:36:21 +00:00
jimp03 9cb2a21349 Add new option "style=webkit" for the WebKit brace style.
Extract new method for options in ASOptions class to avoid compiler limits.
2018-04-05 22:34:08 +00:00
jimp03 2678dc44ca Changes for AStyleWx revision 652. 2018-04-05 22:29:12 +00:00
jimp03 71e421cf88 Add new style option "webkit" for the WebKit bracket style.
Improve the dialog box displays, especially for those using gtk3.
Improve the AStyleDlg preview for brace style options and other options.
Change classes to C++11 default and delete.
Add multi-distribution processing to builds.
2018-04-05 22:26:20 +00:00
jimp03 3fae2a9b12 Changes for AStyleWx revision 648
Add tests for load session option
2018-02-26 18:20:42 +00:00
jimp03 a184c97449 Remove vs2010, vs2012 2018-02-26 18:19:03 +00:00
jimp03 4286d89645 Remove vs2010, vs2012 2018-02-26 18:17:51 +00:00
jimp03 790733100d Update to c++11 code
Static and shared versions use the same options fles
Retain current session files
Add editor options to context menu
Update wxWidgets macros
Add cmake compile
2018-02-26 18:15:58 +00:00
jimp03 388dacd7cb Remove anotherdark.css 2018-02-26 18:12:44 +00:00
jimp03 7ba7a3d03c Remove vs2010 2018-02-26 18:08:33 +00:00
jimp03 2cc651448d Remove vs2010 2018-02-26 18:07:35 +00:00
jimp03 b33ef646b8 Revove vs2010, vs2012 directories 2018-02-26 18:06:08 +00:00
jimp03 3848092f7a Change version number 2018-02-26 18:03:45 +00:00
jimp03 f6bf4ca9ba Remove vs2012 2018-02-26 18:01:26 +00:00
jimp03 26d943bc67 Changes for AStyle revision 639
Update to Python 3.6
2018-02-26 18:00:16 +00:00
jimp03 faae0e3424 Remove vs2012 directory 2018-02-26 17:56:18 +00:00
jimp03 9c2efabdaf Update to C++11 code.
Change version number.
2018-02-26 17:53:00 +00:00
jimp03 c85c974665 Final changes for release 3.1, astyle revision 632 2018-01-11 21:38:23 +00:00
jimp03 d9d4c874c0 Final changes for release 3.1. 2018-01-11 21:36:54 +00:00
jimp03 608634af5a Final changes for release 3.1. 2018-01-11 21:32:23 +00:00
jimp03 870608d56c Copyright date to 2018. 2018-01-02 15:59:58 +00:00
jimp03 24690a5646 Copyright date to 2018. 2018-01-02 15:59:14 +00:00
jimp03 b20cf8d4a1 Copyright date to 2018. 2018-01-02 15:58:36 +00:00
jimp03 81ff8f0a88 Copyright date to 2018. 2018-01-02 15:56:37 +00:00
jimp03 6c3e1303cf Add tests for astyle version revision 625.
Add utf-8 and permissive- to all compile options.
Use GTEST instead of GMock.
2018-01-02 01:21:44 +00:00
jimp03 0b2d891c21 Add options break and attach return type.
Add utf-8 and permissive- to all compile options.
Add getPeekStart to ASSourceIterator.
Add break-return-type to mozilla.ini.
2018-01-02 01:20:11 +00:00
jimp03 a940216f6c Add tests for astylewx revision 623.
Add uft-8 and permissive- to all compile options.
2018-01-02 01:18:57 +00:00
jimp03 1dbc77d5c5 Add options break and attach return type.
Add utf-8 and permissive- to all compile options.
2018-01-02 01:17:43 +00:00
jimp03 528bbf27da Remove GMock library from AStyleTest projects
Changes for AStyle revision 621
2017-11-07 15:49:19 +00:00
jimp03 9f2bfc7c6a Fix argument list
Fix trailing return type
2017-11-07 15:47:48 +00:00
jimp03 04e3838c01 Change wxFormBuilder version 2017-11-07 15:46:43 +00:00
jimp03 e66fe6cd32 Remove warning message disable 2017-11-07 15:45:21 +00:00
jimp03 2c8e583362 Changes for AStyle revision 617. 2017-10-18 21:55:59 +00:00
jimp03 d38d6ae50d Add multiple extensions to the command line file paths option.
Fix Objective-C formatting of line-end comments with unpad-return-type.
Fix Objective-C align-method-colon to ignore ternary (?) operators.
Fix C# base class constructor indentation (#459).
Fix to check for AStyleWx line tags after C style comments.
2017-10-18 21:54:55 +00:00
jimp03 f68aa4d0b2 Tests for AStyleWx revision 615. 2017-10-18 21:53:52 +00:00
jimp03 fb47e145a6 Add Ratliff brace style. 2017-10-18 21:50:43 +00:00
jimp03 d2234f7e81 Changes for astyle revision 613 2017-10-01 14:52:29 +00:00
jimp03 ebe2beadc5 Add project option file
Add new option style=ratliff
Change release to 3.1
2017-10-01 14:49:59 +00:00
jimp03 9def2d870b Change release to 3.1 2017-10-01 14:48:56 +00:00
jimp03 66c4c4aade Change release to 3.1 2017-10-01 14:47:48 +00:00
jimp03 e85d264504 Change release to 3.1 2017-10-01 14:47:02 +00:00
jimp03 178c5d6238 Add CMakeLists.txt 2017-09-19 14:40:09 +00:00
jimp03 f1d38aef10 Changes for AStyle revision 607 2017-09-17 01:37:02 +00:00
jimp03 23268498ce Add CMakeLists.txt file
Add "Top" button for astyle.html
Improve recognition of unary + and - when using pad-oper
Fix Java build from including ASLocalizer in the shared library
Extract method isNumericVariable() in ASFormatter
2017-09-17 01:36:05 +00:00
jimp03 8b8471220d Minor changes to source files 2017-09-17 01:35:00 +00:00
jimp03 7fcacf9e2a Changes for AStyle revision 604
Change python files to run on 32-bit
2017-08-08 14:24:21 +00:00
jimp03 224d42d682 Changes from AFL fuzz testing
Fix indentation of "volatile" keyword not used in a method definition
Fix indentation of "final" keyword not used in a method definition
2017-08-08 14:23:13 +00:00
jimp03 63d2f405c7 remove BOM from C# files 2017-08-08 14:18:12 +00:00
jimp03 839dc9566c Add indent guide highlight to selected braces
Fix double-click selection of a block
2017-08-08 14:17:30 +00:00
jimp03 c4ddbd82b2 Fix terse printer display 2017-08-08 14:16:23 +00:00
jimp03 755007e19f Tests for AStyle revision 599. 2017-07-11 17:41:18 +00:00
jimp03 c6726cb4d8 Changes due to afl fuzzing.
Fix line ends initialization.
2017-07-11 17:39:34 +00:00
jimp03 2a1fa999d8 Changes for AStyle revision 597. 2017-07-06 01:03:56 +00:00
jimp03 bd8f275e66 Change options file location to APPDATA.
Options file input to accept UTF-16, or UTF-8.
Fix to allow for 'Extern C' statements.
Fix method definitions with multiple param types.
2017-07-06 01:00:35 +00:00
jimp03 844965509a Changes for AStyle commit 575. 2017-06-27 16:36:15 +00:00
jimp03 be6257f393 Fix UTF-8 length calcualtions.
Changes for afl fuzzing.
Misc fixes.
2017-06-27 16:30:41 +00:00
jimp03 96212d6505 Add wxWidgets version 3.0.3. 2017-06-27 16:25:58 +00:00
jimp03 0dad84dbcb Fix "Find" methods to recognize UTF-8 characters.
Fix file open filter to display files that do not have an extension.
Add wxWidgets version 3.0.3.
2017-06-27 16:24:44 +00:00
jimp03 42216c1414 Changes for release 3.0.1. 2017-05-31 00:17:35 +00:00
jimp03 b6c9a030f6 Correction to release 3.0.1. 2017-05-30 23:59:30 +00:00
jimp03 4b66fcab06 Changes for release 3.0.1. 2017-05-30 13:10:55 +00:00
jimp03 f2c2677b49 Changes for release 3.0.1. 2017-05-30 13:06:08 +00:00
jimp03 c272a2bd42 Changes for release 3.0.1. 2017-05-30 13:03:53 +00:00
jimp03 340ab07364 Changes for release 3.0.1. 2017-05-30 13:01:11 +00:00
jimp03 bcc1370643 Changes for release 3.0.1. 2017-05-30 12:57:00 +00:00
jimp03 3c18a94c3f Final changes for version 3.0. 2017-04-02 18:54:40 +00:00
jimp03 6ed7e6208e Final changes for version 3.0. 2017-04-02 18:53:31 +00:00
jimp03 76303d4166 Final changes for version 3.0. 2017-04-02 18:52:44 +00:00
jimp03 0afdfc222c Final changes for version 3.0. 2017-04-02 18:51:15 +00:00
jimp03 61b24973b9 Changes for AStyle revision 567.
Final changes for version 3.0.
2017-04-01 21:59:42 +00:00
jimp03 8da3f1dd28 Final changes for version 3.0.
Changes for new shared object versioning.
Final changes to build files.
2017-04-01 21:57:21 +00:00
jimp03 2f26d7e073 Final changes for version 3.0.
Changes for new shared object versioning.
Final changes to build files.
2017-04-01 21:48:37 +00:00
jimp03 60de74b83e Changes for AStyleWx revision 564. 2017-04-01 21:44:30 +00:00
jimp03 145547555a Final changes for version 3.0.
Changes for new shared object versioning.
Final changes to build files.
2017-04-01 21:41:59 +00:00
jimp03 6d412d4ab2 Tests for AStyle version 562.
Update project files.
2017-02-21 19:49:36 +00:00
jimp03 3eee2dd301 Update project files.
New option "indent-after-parens".
Rename Utf8_16 class to ASEncoding.
Change version to 3.0.
2017-02-21 19:46:23 +00:00
jimp03 d13c99eee5 Tests for AStyleWx version 560.
Update project files.
2017-02-21 19:43:59 +00:00
jimp03 27f4712531 Update project files.
New option "indent-after-parens".
2017-02-21 19:42:33 +00:00
jimp03 1105271c51 Update project files. 2017-02-21 19:40:06 +00:00
jimp03 6be153eb05 Remove Digital Mars files. 2017-02-12 01:01:34 +00:00
jimp03 caba84e59f Changes for AStyleWx version 556.
Add VS 2017 project files.
Update Python files.
2017-02-12 00:58:52 +00:00
jimp03 288163ddee Change file open procedure. 2017-02-12 00:55:25 +00:00
jimp03 ce512093e3 Changes for AStyle release 540.
Remove console error stream from global.
2017-02-12 00:50:02 +00:00
jimp03 ae8d6d1315 New class peekStream.
Change vector push_back() to emplace_back().
Fix in-statement-indent brace check.
Move console error stream (cerr) to ASConsole class.
Move ASConsole pointer to a class member.
Move findHeader and findOperator to ASBase.
Remove Digital Mars support.
2017-02-12 00:42:21 +00:00
jimp03 ff796b9ac9 Changes for AStyle revision 551.
Change bracket names to braces.
2017-01-21 16:37:42 +00:00
jimp03 397998a640 Changes for AStyle revision 551.
Add new file for C++0x tests.
Change bracket names to braces.
2017-01-21 16:35:37 +00:00
jimp03 b907bd447e Change bracket names to braces. 2017-01-21 16:31:19 +00:00
jimp03 729f3ba754 Update to support AStyleWx revision 549. 2017-01-19 21:48:08 +00:00
jimp03 22646870b6 AStyleWx
Update to support AStyle revision 547.
2017-01-19 21:47:16 +00:00
jimp03 c49d106ba2 Add tests to support AStyle revision 547.
Change "Brackets" in File names to "Braces".
Add new file for C++0x changes.
Change "brackets" to "braces" in some of the files.
Change "horstmann" to "run-in in some of the files.
2017-01-19 21:45:13 +00:00
jimp03 00729fdb93 Add new option "attach-closing-while".
Add style=run-in as an alternative for style=horstmann.
Add formatting for C++11 trailing return type methods.
Fix boundary conditions discovered by american fuzzy lop fuzzer.
Change horstmann variable names to run-in.
2017-01-19 21:43:31 +00:00
jimp03 107695d0b1 Changes for AStyle commit 544. 2017-01-10 23:04:23 +00:00
jimp03 852af28070 Change variable names to new AStyle terminology.
Fix memory leak when using "indent-preproc-define".
Replace NULL with C++11 nullptr.
Add C++11 to compile options.
Move ASConsole constructor and destructor from inline to non-inline.
Changes from clang-tidy.
Change release number.
2017-01-10 23:00:16 +00:00
jimp03 331216b071 Update to AStyle version 2.7. 2017-01-10 22:33:22 +00:00
jimp03 41c7c3a749 Changes for AStyleWx release 541. 2017-01-10 21:23:06 +00:00
jimp03 2ab36f361f Change variable names to new AStyle terminology.
Change NULL to C++11 nullptr.
Add C++11 to compile options.
Changes from clang-tidy.
Remove FileManager friend class from ASEditor.
Change encoding display on the GUI.
Fix CountLineEnds for UTF8 files.
Change statusbar context menus to left click.
Change release number.
2017-01-10 21:21:00 +00:00
jimp03 abc470f68d Initial commit - version 2.06. 2016-12-28 18:48:05 +00:00
jimp03 09f9505faa Initial commit - version 2.06. 2016-12-28 18:41:33 +00:00
jimp03 7aa77d31f6 Final changes for version 2.06.
Supports astyle revision 530.
2016-12-27 20:59:18 +00:00
jimp03 6091e56482 Final changes for version 2.06. 2016-12-27 20:56:17 +00:00
jimp03 a07a0fe52d Format changes for Visual Studio compatibility. 2016-12-18 16:31:19 +00:00
jimp03 42976f50fe Changes to support astyle revision 527. 2016-12-18 01:55:07 +00:00
jimp03 b033a9527d Add option break-one-line-headers.
Changes to add-brackets.
Fix style=pico problems.
Add keyword module.
Format with break-one-line-headers.
Add file directory.
Add CB project for new bcc compiler.
Add VS2017 project.
2016-12-18 01:51:37 +00:00
jimp03 28f0692b0a Use new astyle options file. 2016-12-18 01:38:10 +00:00
jimp03 aea5dcff6f Updates for AStyle revision 523.
Update Visual Studio build files.
2016-11-17 16:57:19 +00:00
jimp03 093e9024f3 Add colon alignment to Objc Method calls.
Update Visual Studio build files.
Updates to documentation.
2016-11-17 16:49:05 +00:00
jimp03 16495a8f3a Reformat ObjC Example.m.
Update Visual Studio build files.
Updates to documentation.
2016-11-17 16:44:20 +00:00
jimp03 d7c72fb55a Tests for pad-param-type.
Changes to project files.
2016-10-18 00:16:01 +00:00
jimp03 6a81a712ff New option pad-param-type.
Changes from clang-tidy.
Changes to project files.
2016-10-18 00:12:38 +00:00
jimp03 26dfb17974 Changes to project files. 2016-10-18 00:03:48 +00:00
jimp03 aed1dfff02 Remove outdated scripts and project files.
Changes to TersePrinter.
Changes for AStyle revision 513.
2016-09-26 16:26:32 +00:00
jimp03 0e46c0c3cf Remove changed directory names. 2016-09-26 16:20:47 +00:00
jimp03 f665dc6101 Add new bracket style option "style=mozilla".
Add new option indent-continuation.
Remove BracketMode STROUSTRUP_MODE.
2016-09-26 16:17:09 +00:00
jimp03 507a882a82 Changes to Python examples.
Cosmetic changes to Java and c# examples.
2016-09-26 16:08:53 +00:00
jimp03 b49ff7c83a Fix a display in AStyleTestCon_Print.cpp.
Changes to project build files.
2016-08-14 20:16:13 +00:00
jimp03 65d70ce50e Changes to project build files. 2016-08-14 15:10:45 +00:00
jimp03 7a333a9a0c Add GMock files to Borland tests.
Changes to project build files.
2016-08-14 15:00:38 +00:00
jimp03 c58cb35ce3 Changes to project build files. 2016-08-14 14:53:31 +00:00
jimp03 2d9021f8c5 Modified HTML and SciTE.properties. 2016-07-28 15:37:00 +00:00
jimp03 63ecac94da Tests for AStyle commit 505. 2016-07-28 15:34:39 +00:00
jimp03 2ec477e24c Remove lineend option from formatCinToCout function.
Fix not recognizing an escaped space character within a quote (#403).
Fix not recognizing an rvalue reference in a template (#404).
2016-07-28 15:26:07 +00:00
jimp03 1d9903ef14 Fix AStyleInterface.java. 2016-05-10 01:31:50 +00:00
jimp03 429d084d1a Add export statements to project files.
Add Clang project files.
Format changes to html files.
2016-05-10 01:21:27 +00:00
jimp03 e68672cf53 Add export statements to project files.
Add Clang project files.
Format changes to html files.
2016-05-10 01:18:27 +00:00
jimp03 d2dd3b9aad Change location of googlemock and googletest.
Add MIT licensing information.
2016-05-10 01:14:54 +00:00
jimp03 9580317176 Add C# example2 project.
Update example source files.
Add export statements to project files.
Format changes to html files.
2016-05-10 01:01:31 +00:00
jimp03 63215ca50f Add C# example2 project.
Update example source files.
Add export statements to project files.
Format changes to html files.
2016-05-10 00:56:53 +00:00
jimp03 ae12992a83 Add tests for AStyle commit 495.
Add Utf-8 to AStyle.
Add memory leak tests.
Add 64 bit BCC tests.
Add new localizer test program.
2016-03-13 21:39:21 +00:00
jimp03 5df69aa3fd Add new project files. 2016-03-13 21:27:14 +00:00
jimp03 50d4283381 Add Utf-8 file handling.
Add new translations.
Add C++14 digit separator.
Improve recognition of header guards.
Move date display position.
2016-03-13 21:25:39 +00:00
jimp03 faf623c2f0 Add Utf-8 to AStyle.
Minor format changes to python examples.
2016-03-13 21:11:57 +00:00
jimp03 ffef81af6b Tests for AStyle SVN revision 492. 2016-01-07 23:19:52 +00:00
jimp03 bdea317829 Add formatting of C++14 single-quote digit separators (#337).
Improve recognition of C++11 uniform initializer brackets (#381).
Remove ASBase methods from being inlined as class definitions.
2016-01-07 23:14:09 +00:00
jimp03 0bdb29d93f Changes to C# Example source. 2016-01-07 22:52:49 +00:00
jimp03 9501e72acf Project file changes. 2015-11-27 22:28:11 +00:00
jimp03 7aecc3fbcf Changes for AStyle commit 488.
Add License info.
Project file changes.
2015-11-27 22:25:26 +00:00
jimp03 a64fee5c5e Project file changes. 2015-11-27 22:22:52 +00:00
jimp03 dc340c837e Project file changes. 2015-11-27 22:20:53 +00:00
jimp03 79361a2c5f Changes for AStyle revision 479.
Remove warning messages from Intel project files.
Add JAVA_HOME environment variable to project files.
Create separate test for ASLocalizer.cpp.
2015-10-04 18:28:17 +00:00
jimp03 94642597f7 Remove exception handling from Visual Studio project files.
Remove warning messages from Intel project files.
Add JAVA_HOME environment variable to project files.
2015-10-04 18:25:48 +00:00
jimp03 f75b8d1d49 Remove warning messages from Intel project files.
Add JAVA_HOME environment variable to project files.
Update Visual Studio project files to 2015 format.
2015-10-04 18:24:00 +00:00
jimp03 a174c17297 Tests for AStyle revision 481. 2015-09-17 20:41:43 +00:00
jimp03 eed5e15570 Fix attaching "if" statements to a #else preprocessor (#356).
Fix not clearing global variables for a new file (#364).
Portability changes for additional compiler support (#352).
2015-09-17 20:28:28 +00:00
jimp03 88f9ade5d6 Add build vs-python directory. 2015-09-04 00:42:03 +00:00
jimp03 c856df8f6c Add src directories. 2015-09-04 00:38:36 +00:00
jimp03 6753679b06 Add build vs-doc directory. 2015-09-04 00:31:15 +00:00
jimp03 2c70b074c1 Delete unused files. 2015-09-03 23:48:39 +00:00
jimp03 6196b32709 Update vs2015 project files. 2015-09-03 23:30:45 +00:00
jimp03 e42996c444 Update project files. 2015-09-03 23:27:58 +00:00
jimp03 bd4ee4089f Update vs2015 project files.
Remove leak tests.
Change python indents to spaces.
2015-09-03 23:23:11 +00:00
jimp03 4a7aa91917 Changes to source code format. 2015-04-01 14:15:06 +00:00
jimp03 ad93c6005d Changes to source code format. 2015-04-01 14:14:28 +00:00
jimp03 6eba048daf Additional tests for PadMethodPrefix and PadReturnType.
Tests for Astyle revision 468.
2015-04-01 00:12:29 +00:00
jimp03 339b259013 Create a :padParenObjC method for PadMethodPrefix and PadReturnType.
Changes to padObjCMethodColon method.
2015-04-01 00:09:46 +00:00
jimp03 f98f883a0b Test changes for AStyle commit 465. 2015-03-22 21:33:14 +00:00
jimp03 c8a2a4fcc2 Minor C# changes from stylecop. 2015-03-22 21:32:06 +00:00
jimp03 229b5727ab Add new option pad-comma.
Add removing spaces before a comma.
Add new  Objective-C options "pad-return-type" (-xq) and "unpad-return-type" (-xr).
Fix C# to recognize "using" as a header.
Fix end of line comments for "pad-method-prefix" and "unpad-method-prefix".
Fix end of line comments for "pad-method-colon".
2015-03-22 21:31:21 +00:00
jimp03 d3d128c9af Test files for astyle revision 460.
Final updates for release 2.05.1.
Add clang-format test scripts.
2014-12-11 15:44:20 +00:00
jimp03 c1ff1252a4 Final updates for release 2.05.1. 2014-12-11 15:43:03 +00:00
jimp03 06f126c5b2 Tests for AStyle SVN version 458. 2014-12-09 18:20:30 +00:00
jimp03 00739e066b Change version number to 2.05.1.
Fix incorrectly reporting files containing disabled formatting as being formatted.
Fix error in identifying an enum argument as an enumeration.
Fix recognition of Qt keywords when used as variables in C++.
2014-12-09 18:19:32 +00:00
jimp03 51df462422 Add favicon to html files. 2014-11-30 23:07:17 +00:00
jimp03 8041361844 Tests for AStyle update #454.
Update Leak Detector configurations.
2014-11-30 23:03:28 +00:00
jimp03 384301408c Fix recognition of a pointer in a C++ cast (#316).
Add favicon to html files.
2014-11-30 22:55:40 +00:00
jimp03 1a111476da Tests for astyle release 451.
Change to shared library version 2.06.
Change visual studio to dynamically loaded library.
Fixes for intel compiler.
2014-11-27 14:48:00 +00:00
jimp03 252fb4e72b Change shared library version to 2.06. 2014-11-27 14:29:18 +00:00
jimp03 ce7b952741 Change shared libraries and documentation to version 2.06.
Fix incorrect handling of quoted arguments in the options file (#321).
Fix error in identifying an enum return type as an enumeration (#322, 323).
Fix removing trailing whitespace after a changed pointer or reference cast.
2014-11-27 14:25:20 +00:00
jimp03 459839dc3a Final changes for release 2.05.
For AStyle update 446.
2014-11-17 19:25:29 +00:00
jimp03 d47c83acd4 Final changes for release 2.05.
Project files, documentation, and one ASFormatter change.
2014-11-17 19:18:29 +00:00
jimp03 78dde89f37 More final changes for release 2.05. 2014-11-17 19:11:27 +00:00
jimp03 ab8f107b4d Final changes for release 2.05.
Mostly documentation changes.
2014-11-17 19:09:20 +00:00
jimp03 e8373a1b29 Tests for AStyle revision 442.
Changes to system-test.py for multiple runs.
2014-11-06 22:05:33 +00:00
jimp03 9894899035 Add tags to disable formatting of source code blocks.
Add tag to disable selected formatting on a single line.
Formatting fixes for operators, pointers, and references.
2014-11-06 22:04:33 +00:00
jimp03 8d766bf282 Tests for AStyle version 440. 2014-10-27 13:34:15 +00:00
jimp03 f776e76c1b Fix formating of c++11 uniform initializer brackets.
Fix formatting of enums with leading commas.
Fix minor fromatting problems with rvalue references.
Refactoring in ASBeautifier for C++11 changes.
2014-10-27 13:32:18 +00:00
jimp03 fcb2442f5b Fixes for new Iron Python rerease. 2014-10-27 13:30:28 +00:00
jimp03 a52e6b7f75 Preprocessor format changes. 2014-10-15 19:39:05 +00:00
jimp03 6efd2d015b Preprocessor format changes. 2014-10-15 19:38:40 +00:00
jimp03 1706848d22 Fix C++11 uniform initializers. 2014-10-15 19:02:48 +00:00
jimp03 c9a0489cb8 Changes to project files. 2014-10-15 19:02:29 +00:00
jimp03 f0866b8541 Add tests.
Changes to TersePrinter.
2014-10-15 19:01:53 +00:00
jimp03 53b494a9d8 Refactor ASBeautifier to create separate variables for a "class"
statement and a class constructor initializer.
Add ENUM_TYPE to BracketType.
Fix to not space pad C++11 uniform initializer brackets.
Fix flagging a 'cons' variable as a 'const' method.
Fix to recognize C++11 'enum class' as an enum.
Fix concateneing multiplication with a pointer dereference.
Fix indent of C++11 'noexecp' statements within a class.
Fix extra space after a trailing reference type.
Fix indentation of line comments before a 'class' opening bracket.
Fix indentation of line comments before a 'namespace' opening bracket.
Fix indentation of C# &quot;let&quot; statements.</li>
2014-10-06 14:19:34 +00:00
jimp03 fca43b2d7c Change test to use DLL build of AStyle for speed in linking.
Add tests.
2014-10-06 14:16:42 +00:00
jimp03 53f5715fc0 Add option indent-preproc-block.
Add option dry-run.
Add version number to shared libraries.
Bug fixes.
2014-09-14 00:17:26 +00:00
jimp03 af24ec4bfe Update and improve build project files. 2014-09-14 00:14:00 +00:00
jimp03 ebb20e22cc Update and improve build project files.
Add tests for astyle updates.
2014-09-14 00:12:02 +00:00
jimp03 6a426ce803 Add Iron Python capability to Python programs.
Changes for pylint.
Format HTML with VS 2013.
2014-04-27 14:33:13 +00:00
jimp03 916084fef3 Add new Qt headers.
Fix padding of raw string literals.
Format HTML with VS 2013.
2014-04-27 14:32:25 +00:00
jimp03 bffd5cbe45 Add new Qt headers.
Fix padding of raw string literals.
Changes for pylint.
2014-04-27 14:31:23 +00:00
jimp03 9bb39e0ae4 Add style=vtk.
Add visibility attribute for Linx.
Add project files for Mac.
2014-03-31 19:52:41 +00:00
jimp03 85fe319d9d Add style=vtk.
Add visibility attribute for Linx.
Add project files for Mac.
Always use TersePrinter.
2014-03-31 19:50:50 +00:00
jimp03 38b2c74506 Add CodeBlocks project files for Mac. 2014-03-31 19:44:05 +00:00
jimp03 06ab007da0 Change to gmock 1.7.0. 2014-02-13 19:55:35 +00:00
jimp03 613c829bbd Add project filters. 2014-02-12 19:39:31 +00:00
jimp03 4e876951cb Add and delete project files. 2014-02-12 19:36:07 +00:00
jimp03 d60e69cb51 Delete vs2013 user files. 2014-02-12 19:30:22 +00:00
jimp03 b53e798d11 Delete unused programs. 2014-02-12 19:26:10 +00:00
jimp03 997395ca42 Delete project files. 2014-02-12 19:24:39 +00:00
jimp03 7fde93aab8 Add CodeBlocks project files.
Add vs2013 project files.
New "html" option.
Use custom UTF-8 conversion and remove iconv dependency.
Update Mac Makefile to use Clang.
Add Xcode project files.
Add visibility attribute to Linux shared obfects.
2014-02-12 16:26:36 +00:00
jimp03 ffd42b8d1e Bugfixes.
Update project files.
Add Mac project files.
Add Clang project files.
Remove vs2008 project files.
2014-02-12 16:07:16 +00:00
jimp03 f226703c42 Bugfixes.
Update project files.
Add Mac project files.
Add Clang project files.
Remove vs2008 project files.
2014-02-12 15:42:54 +00:00
jimp03 8a1e1e57e4 Add html option.
Utf8/16 to a separate class.
Add Clang Format and Analysis.
Change help to stdout.
2013-11-25 22:14:11 +00:00
jimp03 2a459f4e28 Add Clang compiler. 2013-11-25 22:13:20 +00:00
jimp03 641c6ebefb Add html option.
Utf8/16 to a separate class.
Add Clang Format and Analysis.
Change help to stdout.
2013-11-25 22:11:15 +00:00
jimp03 9f5bcb66b8 Fix memory leak.
Fix preprocessor and template problems.
Update console "help" display.
Documentation updates.
Final changes for release 2.04.
2013-11-01 21:09:09 +00:00
jimp03 63a60b4aff Final changes for release 2.04. 2013-11-01 21:08:31 +00:00
jimp03 f6e63e5859 Final changes for release 2.04. 2013-11-01 21:07:59 +00:00
jimp03 d59886609c Add style=google option.
Add indent-modifiers option.
Fix template problems.
2013-10-28 15:27:53 +00:00
jimp03 9e4ca31d62 Add style=google option.
Add indent-modifiers option.
Fix template problems.
2013-10-28 15:26:57 +00:00
jimp03 d4a1f28660 Script and documentation changes. 2013-10-28 15:24:24 +00:00
jimp03 eb8cdecfcb Various fixes. 2013-10-12 19:03:41 +00:00
jimp03 f899ff724e Various fixes. 2013-10-12 19:02:02 +00:00
jimp03 ab26b14c91 Indent continuation line beginning with a dot.
Various fixes.
2013-10-09 18:34:34 +00:00
jimp03 13954aacbc Tests for:
Indent continuation line beginning with a dot.
Various fixes.
2013-10-09 18:33:59 +00:00
jimp03 a1b0e512af Add option style=knf.
Add option attach-extern-c.
Add option indent-preproc-cond.
Add option remove-comment-prefix.
Change option indent-preprocessor to indent-preproc-define.
Add processing of C++11 raw string literals.
Remove depreciated "bracket=" options.
2013-09-23 19:33:26 +00:00
jimp03 35c37f46d6 Change test programs for the following:
Add option style=knf.
Add option attach-extern-c.
Add option indent-preproc-cond.
Add option remove-comment-prefix.
Change option indent-preprocessor to indent-preproc-define.
Add processing of C++11 raw string literals.
Remove depreciated "bracket=" options.
Update Python scripts.
2013-09-23 19:32:10 +00:00
jimp03 c76f47170c Update Python scripts. 2013-09-23 19:17:24 +00:00
jimp03 9f27e65229 Reformat with pad-oper. 2013-08-05 19:21:23 +00:00
jimp03 79cfe7ee7a Objective-C final? changes. 2013-08-05 19:07:41 +00:00
jimp03 90b59c2b18 Add Objective-C tests. 2013-08-05 19:06:12 +00:00
jimp03 2144e8f14f Various changes. 2013-08-05 19:03:28 +00:00
jimp03 d6b4e1c035 Objective-C changes.
Improve pointer and reference formatting.
2013-07-08 19:53:27 +00:00
jimp03 5014e4147e Documentation update. 2013-07-08 19:48:42 +00:00
jimp03 432b6a9031 Add objective-C tests. 2013-07-08 19:47:27 +00:00
jimp03 a78351d07d Fix switch statement comment indentation.
Fix enum tabbed indentation.
Objective-C changes, part 2.
2013-07-02 16:39:02 +00:00
jimp03 0fe49268a0 Update example programs. 2013-07-02 16:32:07 +00:00
jimp03 32aa2cc352 Add test data. 2013-07-02 16:29:38 +00:00
jimp03 b44863c76f Delete Example2 data #2. 2013-06-14 19:36:52 +00:00
jimp03 a14cc1f54a Delete Example2 data. 2013-06-14 19:32:19 +00:00
jimp03 225ed83dcc Add Objective-C example.
Update documentation.
2013-06-14 19:07:22 +00:00
jimp03 faf978b6b9 Update subversion.html. 2013-06-04 16:13:00 +00:00
jimp03 4be866e571 Add ASLibrary class for processing utf-16 files.
Add remove-brackets option.
2013-06-03 21:18:14 +00:00
jimp03 4730d0d84e Add new ASLibrary tests.
Add remove-brackets tests.
2013-06-03 21:16:40 +00:00
jimp03 1175cbdfb9 Change C# examples to new utf-16 entry in astyle. 2013-06-03 21:06:21 +00:00
jimp03 c1486eae8d Fix piping problem.
Fix html background problem.
2013-05-06 17:47:23 +00:00
jimp03 b96be93de1 Fix piping test.
Add wide example.
2013-05-06 17:45:59 +00:00
jimp03 879a5e2615 Script changes. 2013-05-06 17:43:21 +00:00
jimp03 4b1663f19f Add new bracket modifier options.
Fix linux bracket styles to break the opening bracket in inline function definitions (3571898). 
Fix to delete the ASBeautifier objects before deleting the pointers. 
Remove unused functions getFilesUnchanged, getOptionsFileRequired, and setOptionsFileRequired.
2013-04-24 21:55:25 +00:00
jimp03 8cc0924c86 Add new bracket modifier options.
Fix linux bracket styles to break the opening bracket in inline function definitions (3571898). 
Fix to delete the ASBeautifier objects before deleting the pointers. 
Remove unused functions getFilesUnchanged, getOptionsFileRequired, and setOptionsFileRequired.
2013-04-24 21:53:08 +00:00
jimp03 466d26e661 Final commits for release 2.03. 2013-04-13 17:37:54 +00:00
jimp03 1cd2c8afc4 Final commits for release 2.03. 2013-04-13 17:37:06 +00:00
jimp03 c273523d13 Final commits for release 2.03. 2013-04-13 17:36:22 +00:00
jimp03 fe4e8aa711 2013-04-09 19:22:07 +00:00
jimp03 ee86ea564f Various chages. 2013-04-09 19:20:50 +00:00
jimp03 aca9897ef6 Various changes. 2013-04-09 19:15:16 +00:00
jimp03 acc0cfab82 Rename vs11 to vs 2012. 2012-06-04 14:24:06 +00:00
jimp03 138be67982 Rename vs11 to vs2012. 2012-06-04 13:56:01 +00:00
jimp03 9c9a2bb42b Add Clang makefile.
Rename vs11 to vs2012.
2012-06-04 13:25:21 +00:00
jimp03 231d1ef128 Delete VS11 python project. 2012-04-24 04:21:07 +00:00
jimp03 0411577438 Update build files. 2012-04-09 00:20:16 +00:00
jimp03 58dc8e1ee7 Update build files. 2012-04-08 23:39:18 +00:00
jimp03 ee621ad525 Update build files. 2012-04-08 23:37:48 +00:00
jimp03 0cd534aaf5 Fix redirection problems. 2012-04-07 16:34:59 +00:00
jimp03 b626ec2517 Fix "pad-heade" not padding "return" and "throw" statements.
Changes to Intel compiler makefile.
2012-03-30 17:03:49 +00:00
jimp03 9230400ad4 Tests for pad-headers 'return' and 'throw' padding. 2012-03-30 16:59:47 +00:00
jimp03 62097b1845 Add Visual Studio solutions for Python scripts.
Update Python scripts to work with VS solutions.
2012-03-19 23:58:50 +00:00
jimp03 332412ed27 Changes to close-templates option.
Fix trim continuation line.
Fix break in comments preceeding a statement.
Cppcheck changes.
2012-03-18 20:07:54 +00:00
jimp03 ef9abd6793 Changes to close-templates option.
Fix trim continuation line.
2012-03-18 20:03:55 +00:00
jimp03 13202ae753 Add ASTYLE_STATIC option to source and update build files. 2012-03-18 20:00:44 +00:00
jimp03 03993fa6f7 New format for source files. 2012-03-15 15:15:32 +00:00
jimp03 e4b334e8c0 Add AStyleDll and AStyleLib folders for vs2010. 2012-03-15 15:14:39 +00:00
jimp03 f8c2c91b29 Add vs11 build files.
Add close-templates option.
Add C++/CLI pointers to align pointers.
Add ASTYLE_STATIC to compile options.
Changes for vs11 dynamic analysis.
Remove BOM from ASLocalizer.cpp.
2012-03-15 01:25:45 +00:00
jimp03 378b972728 Add vs11 build files.
Move vs2008 and 2010 AStyle build files to a separate directory.
Add tests for close-templates option.
Rename "win" python files to "locale".
2012-03-15 01:13:07 +00:00
jimp03 7219715440 Add vs11 build files.
Add project files for AStyleLib and AStyleDll.
Delete batch build files for  AStyleLib and AStyleDll.
2012-03-15 01:00:23 +00:00
jimp03 a27d91ce38 Add option for pad-first-paren-out.
Change short option for delete-empty-lines.
2012-02-26 18:40:18 +00:00
jimp03 2c2d47b339 Add tests for pad-first-paren-out.
Change short option for delete-empty-lines.
2012-02-26 18:36:44 +00:00
jimp03 ed3c61a537 Update Development files for 2.03.
Add VS2010 build files for Python examples.
2012-02-26 18:31:26 +00:00
jimp03 b1412cc3a9 Fix Java formatting of generics with wildcards (3428140).
Fix quote continuation sometimes being processed as a preprocessor directive (3445475).
Fix recognition of a macro multi-line comment (3414970).
2012-02-18 15:37:40 +00:00
jimp03 fccdf05337 Add tests for the following:
Fix Java formatting of generics with wildcards (3428140).
Fix quote continuation sometimes being processed as a preprocessor directive (3445475).
Fix recognition of a macro multi-line comment (3414970).
2012-02-18 15:35:45 +00:00
jimp03 348d06da88 Remove dist-copy.bat. 2012-02-06 00:45:54 +00:00
jimp03 86e55c2313 Fix C/C++ keyword 'extern "C"' in a preprocessor causing an extra indent.
Fix C++11 standard for  range-based "for" statements. 
Fix C++11 standard for "enum" with a base type. 
Fix 'struct' return type being mistaken for a struct. 
Fix non-portable return value on locale name. 
Fix spelling of "depreciated" in help message. 
Add static build to all Visual Studioconfigurations.
Update Java build to new JDK version.
2012-02-05 22:39:07 +00:00
jimp03 138dc8704e Add tests for AStyle changes. 2012-02-05 22:29:51 +00:00
jimp03 3bf6fa6b7e Add Visual Studio project files for C# examples.
Update Python examples.
Documentation updates.
2012-02-05 22:27:43 +00:00
jimp03 6274261f0f Add Python example scripts. 2011-12-29 23:57:23 +00:00
jimp03 db43d5c72b Add option indent=force-tab-x.
Create archive files for news.html and notes.html.
2011-11-27 15:49:34 +00:00
jimp03 05211845c9 Addtests for indent=force-tab-x. 2011-11-27 15:46:37 +00:00
jimp03 7631f3ed2e Update for version 2.02.1 fixes. 2011-11-21 17:20:46 +00:00
jimp03 16214b4416 Update for version 2.02.1 fixes. 2011-11-21 17:10:32 +00:00
jimp03 e91ebd494e Update for version 2.02.1 fixes. 2011-11-21 17:09:59 +00:00
jimp03 9e533d2079 Tests for new language translations.
Tests for max-code-length.
2011-11-07 02:28:46 +00:00
jimp03 771d3f6e61 New language translations.
More changes for max-xode-length.
2011-11-07 02:26:15 +00:00
jimp03 1a7dfb03b0 Update Max Code Length option. 2011-10-25 03:02:07 +00:00
jimp03 68193ca14b Update Max Code Length option.
Update python files.
2011-10-25 02:54:50 +00:00
jimp03 258d0cd30e Add Max Code Length and Break After Conditional options.
Changes to remove cppcheck options.
Add Piwik statements to html files.
2011-07-28 01:22:39 +00:00
jimp03 22ee1b3d1c Add Max Code Length and Break After Conditional tests.
Move AlignPointer and AlignReference tests from "Format" to "Pad" module.
Add "noclose" option to AStyleTest "main" modules.
Update Python scripts to version 3.2.
Update Python i18n tests.
2011-07-28 01:11:50 +00:00
jimp03 3c25c25a7a Final changes for release 2.02. 2011-05-16 16:54:30 +00:00
jimp03 0fdcad36f7 Final changes for release 2.02. 2011-05-16 16:53:50 +00:00
jimp03 288717802c Update script to release 2.02. 2011-05-16 16:52:57 +00:00
jimp03 2b52f42ff5 Documentation updates. 2011-05-16 01:31:41 +00:00
jimp03 7d7f57ea5f Documentation updates.
New download examples.
2011-05-16 01:29:54 +00:00
jimp03 5fad704d6c Increase max-instatement-indent to 120.
Update "help" display.
Update copyright notice.
2011-05-12 14:15:24 +00:00
jimp03 ba7fd1dd13 Add Lisp style. 2011-05-12 14:10:49 +00:00
jimp03 5e0a3e9224 Increase max-instatement-indent to 120.
Script updates.
2011-05-12 14:05:31 +00:00
jimp03 f8c188fe69 Add patch for break before assignment operator (3,292,880).
Fix align-pointer=middle sometines adding an extra space.
2011-05-09 22:07:48 +00:00
jimp03 e9278b596a Add test for break before assignment operator (3,292,880).
Changes for new astyle print format.
2011-05-09 22:04:00 +00:00
jimp03 3778f80ac4 Add Lisp bracket style.
Add "x" prefix to short options.
Add ignore exclude options (3,259,910).
Change to new print format.
Change locale error messages to cerr.
Update Intel Makefile.
2011-05-01 02:24:52 +00:00
jimp03 095fded81c Update localizer tests.
Change tests to new print format.
Add tests for ignore exclude options.
Split styles tests into two modules.
Change gmock to version 1.6.0.
2011-05-01 02:14:37 +00:00
jimp03 643cfb9560 Fix C++ example program aborts.
Redo Gcc and Intel project files.
2011-05-01 02:05:45 +00:00
jimp03 ff42b5089c Change C enumerations to allow in-statement indents (3,280,454). 2011-04-20 19:54:14 +00:00
jimp03 5198c87100 Change C enumerations to allow in-statement indents (3,280,454). 2011-04-20 19:53:49 +00:00
jimp03 48b23ed735 Add "x" prefix for short options.
Changes to add-brackets.
2011-04-20 01:24:21 +00:00
jimp03 414bcae3b8 Add "x" prefix for short options.
Changes to add-brackets.
2011-04-20 01:17:20 +00:00
jimp03 15edbc5552 Change ASLocale error procedure.
Fix add-brackets to not bracket an empty statement.
Change indentation of C++ "#pragma region" statements.
2011-04-19 02:43:32 +00:00
jimp03 45a88e73e7 Add tests. 2011-04-19 02:38:57 +00:00
jimp03 65501cbf77 Add "case" and "default" to ASFormatter headers (327621).
Fix "case" and "default" break-block procedures.
Add "volatile" to pre-command headers (3279856).
Fix xor (^) padding (3285639).
New print format.
2011-04-17 14:49:11 +00:00
jimp03 713c76b52d Changes to break-blocks, pad-headers, new print format.
New option ascii.
Add volitile to pre-command headers.
New i18n scripts.
2011-04-17 14:36:46 +00:00
jimp03 c9c890bf88 Add translating strings for "const" methods.
Add translation strings.
2011-04-13 02:57:13 +00:00
jimp03 579fb3cc61 Add translation strings.
New python test program.
2011-04-13 02:54:10 +00:00
jimp03 395a534e39 Add ASLocalizer class with language translations.
Add new "ascii" option.
Add fix for bug report 3259713.
Update scripts and project files.
2011-04-11 20:37:51 +00:00
jimp03 fcc5da57b6 Add tests for ASLocalizer class.
Add tests for new "ascii" option.
Add test for bug report 3259713.
Fix Utf16 death tests.
Fix TersePrinter abort.
Update scripts and project files.
2011-04-11 20:33:35 +00:00
jimp03 9675da97f3 Update script and project files. 2011-04-11 20:25:41 +00:00
jimp03 780826bd4d Add align-reference option.
Add volitile and override to pre-command headers.
Change pre-command headers processing in ASBeautifier.
Add keywords --try, --finally, and --except.
2011-03-28 16:36:44 +00:00
jimp03 680b09de6d Add tests for align-reference.
Add tests for pre-command headers.
Add tests for --try, --finally, --except.
2011-03-28 16:27:53 +00:00
jimp03 88b73b0d8a Change "Cannot set native locale" error message from cout to cerr (3,139,873).
Fix breaking a preprocessor define that has code after a comment end (3,132,531).
2011-03-22 16:51:55 +00:00
jimp03 e5736de31d Add test. 2011-03-22 16:46:13 +00:00
jimp03 bcca8b6ad5 Change Pico style to attach closing namespace and class brackets.
Add style=break and style=attach options.
Fix problem with “const” variable processing.
Fix problem with class indentation of run-in brackets.
2011-03-21 19:09:17 +00:00
jimp03 dbab76a20b Add Pico style tests.
Fix problem with "const" variable processing.
Fix problem with class indentation for run-in brackets.
2011-03-21 19:00:36 +00:00
jimp03 870921bf8b Change predefinedStyle to bracketStyle.
Remove default indent lengths.
Remove bracketFormatMode, bracketIndent, and blockIndent options.
2011-03-21 18:49:28 +00:00
jimp03 a86e727eca Add style=pico.
Remove style tab settings.
Remove indent-brackets and indent-blocks options.
Add "style=break" and "style=attach" options.
2011-02-21 22:21:31 +00:00
jimp03 5f284c5a2b Add tests for bracket chnages. 2011-02-21 22:13:39 +00:00
jimp03 1ac0017e7f Change static vectors to member vectors to allow multiple ASFormatter objects.
Change detect encoding function.
2011-02-08 16:07:32 +00:00
jimp03 cd9dcba7e6 Add language vector tests.
Change detect file encoding tests.
2011-02-08 15:59:08 +00:00
jimp03 061d5a536f Add UTF-16 processing.
Changes for MinGW lint check.
2011-02-04 18:40:34 +00:00
jimp03 1f24609b86 Add UTF-16 conversion to the testing. 2011-02-04 18:37:09 +00:00
jimp03 2e67bb3a0b Refactor ASBeautifire toshorten beatuofy() method.
Fix Linux infinite loop when a directory name is entered instead of a file name.
2010-12-13 15:22:58 +00:00
jimp03 95db46d348 Changes to python test scripts. 2010-12-13 15:12:10 +00:00
jimp03 ac55a329a0 Makefile and documentation updates.
Final update for release 2.01
2010-11-29 20:59:18 +00:00
jimp03 c36449c955 Update CodeBlocks project files.
Script updates.
Final update for release 2.01
2010-11-29 20:57:49 +00:00
jimp03 8506891d0f Update scripts.
Final update for release 2.01.
2010-11-29 20:55:58 +00:00
jimp03 023d38f622 Documentation updates. 2010-11-24 22:18:16 +00:00
jimp03 d68323536f Updates for release 1.5. 2010-11-24 22:16:28 +00:00
jimp03 16956c6b6a Add release 2.01 example downloads.
Update build files for current Java release.
2010-11-20 20:59:50 +00:00
jimp03 3dde0a8962 Minor fixes. 2010-11-20 20:55:43 +00:00
jimp03 01b7314ef6 Add tests.
Update batch and Python scripts.
2010-11-20 20:53:56 +00:00
jimp03 4cc9ecefed Remove make.sh. 2010-11-13 20:11:18 +00:00
jimp03 debce23f07 Indent OpenMP pragmas with the code.
Changes to Linux makefiles.
2010-11-07 14:30:27 +00:00
jimp03 97e061a997 Add tests. 2010-11-07 14:25:16 +00:00
jimp03 11b26f7c04 Format source using k1. 2010-11-01 15:13:48 +00:00
jimp03 436d8cbf38 Format source using k1. 2010-11-01 15:12:19 +00:00
jimp03 fe7d335c7f Fix preprocessor indentation problem. 2010-10-25 01:15:38 +00:00
jimp03 3c489aa9c9 Add tests. 2010-10-25 01:14:43 +00:00
jimp03 b40c9af03b Add operator padding to block parens.
Fix pad-paren problem.
Fix initializer formatting problem.
Fix problem with computing comma in-statement indent.
2010-10-20 15:12:14 +00:00
jimp03 b44beb33f4 Add tests. 2010-10-20 15:11:28 +00:00
jimp03 e5c3d5de65 Non in-statement indent fixes for C#. 2010-10-15 15:36:01 +00:00
jimp03 a6ec867b85 Add tests for non in-statement fixes. 2010-10-15 15:32:25 +00:00
jimp03 a0660bf7b9 Abort program if a pipe is used.
Improve recognition of templates.
Fix formatting when "volatile" modifier is used.
Fix add-brackets when a header is followed by only a semi-colon.
2010-09-27 14:43:35 +00:00
jimp03 5b50eb38fa Add tests. 2010-09-27 14:31:48 +00:00
jimp03 ec224317cb Fixes from new application tests. 2010-09-22 13:53:33 +00:00
jimp03 e6848a8a2e Add tests from new application testing. 2010-09-22 13:49:51 +00:00
jimp03 308e1d3d55 Changes from alternate regression and system testing. 2010-09-08 13:56:24 +00:00
jimp03 2834c2c43e Add Python alternate regression and ysytem tests.
Add tests.
2010-09-08 13:49:17 +00:00
jimp03 078327b680 Fix MinGW -Wshadow warnings.
Fix deleting the previous line when a closing bracket follows a comment close.
Add private (unusable) copy constructors for classes with dynamic allocation.
Change all destructors to virtual.
2010-08-25 19:45:00 +00:00
jimp03 887361fbb0 Add "Lint" configuration to MinGW, GCC, and Intel compiles. 2010-08-25 19:44:08 +00:00
jimp03 5454e284cd Add tests.
Fix Python test programs for locale changes.
2010-08-25 19:42:43 +00:00
jimp03 80169efeaf Change version to 2.01.
Documentation update.
2010-08-21 14:40:29 +00:00
jimp03 345e6531ea Add tests.
Add scripts.
2010-08-21 14:38:58 +00:00
jimp03 0822dbf765 Format a number according to the current locale.
Add displayLastError function to Windows error messages.
2010-08-12 15:32:00 +00:00
jimp03 46b649e135 Add i18n test module.
Change Windows file handling functions to unicode.
Add convertToMultiByte and convertToWideChar functions.
Add displayLastError function to Windows error messages.
2010-08-12 15:23:10 +00:00
jimp03 7e51d3ab56 Fix to setlocale. 2010-07-19 16:31:17 +00:00
jimp03 0685fdd57b Add remove retry to Windows clean function.
Change setting of test directory.
Add tests.
2010-07-18 18:14:41 +00:00
jimp03 e54a30b927 Update project files.
Minor source code changes.
2010-07-18 18:07:14 +00:00
jimp03 4ce1678e41 Set native locale for processing files and directories in various languages.
Fix VS2010 "string subscript out of range" warning.
Add formatting of MFC macros "BEGIN_DISPATCH_MAP, BEGIN_EVENT_MAP, and BEGIN_PROPPAGEIDS.
Minor changes to error and warning messages.
2010-07-18 18:03:06 +00:00
jimp03 d558c9c362 Bypass death tests for memory leak check.
Improve print tests.
Add anonymous namespaces.
2010-04-24 16:24:34 +00:00
jimp03 0e8145aac8 Update for new VS 2010 release.
Change in formatting options.
2010-04-24 16:19:13 +00:00
jimp03 c3ed867108 New modlue for print tests.
Add file name and line number to abort messages.
Improvements to python scripts.
2010-04-16 15:00:00 +00:00
jimp03 e88de63a6b Remove argc and argv from processOptions function. 2010-04-16 14:47:39 +00:00
jimp03 d58ed83430 Changes for min-conditional-indent. 2010-04-04 19:21:09 +00:00
jimp03 f499b2607f Add scripts 2010-04-04 18:54:11 +00:00
jimp03 9bb0ad20ee Update project files for Google unit test. 2010-04-04 18:45:07 +00:00
jimp03 98a7fb509b Delete old gtest project files. 2010-04-04 18:19:31 +00:00
jimp03 ef1dbee7eb Convert files to Google Test. 2010-03-31 23:08:27 +00:00
jimp03 844160dcc9 Changes for new min-conditional-indent option.
Change Linux style to always use one-half indent for min-conditional.
Remove depreciated options.
2010-03-16 16:20:15 +00:00
jimp03 1b802d2609 Changes for new min-conditional-indent option.
Minor changes to function names.
2010-03-16 16:14:22 +00:00
jimp03 07da758af0 Add ASOptions class. 2010-03-11 00:32:53 +00:00
jimp03 587c10f156 Change tests for addition of ASOptions class. 2010-03-11 00:28:43 +00:00
jimp03 d77dc6a650 Add checksum for debugging. 2010-03-08 17:32:57 +00:00
jimp03 1f6cf7cd3e Add tests.
Update scripts.
2010-03-08 17:28:47 +00:00
jimp03 fae620173c Fix formatting problems with pointers and references.
Fix formatting problem with templates.
Fix problem with comment combinations in peekNextText.
Remove unused code from gcov tests.
2010-03-01 18:06:09 +00:00
jimp03 7478098149 Add tests.
Update scripts.
2010-03-01 17:55:08 +00:00
jimp03 1df702d2c3 Refactor for gcov testing. 2010-02-13 18:22:01 +00:00
jimp03 6805e60219 Add tests. 2010-02-13 18:17:21 +00:00
jimp03 9825653fac Minor changes to examples. 2010-02-13 18:13:30 +00:00
jimp03 0fbd07d5b5 Minor changes to multi-line comments, SQL, and pointer processing. 2010-02-06 19:39:08 +00:00
jimp03 8991362e40 Add tests. 2010-02-06 19:36:37 +00:00
jimp03 9cf1c9ffe0 Change examples from relative files to absolute fles.
Update build files and html.
2010-02-06 19:34:57 +00:00
jimp03 861fcd8f59 Update SourceForge graphic. 2010-02-01 19:43:52 +00:00
jimp03 7224964ec1 Update scripts. 2010-02-01 19:27:06 +00:00
jimp03 ec5b337982 Update scripts. 2010-02-01 19:25:23 +00:00
jimp03 f2a3b7ccde Minor changes for release 1.24. 2010-02-01 19:15:48 +00:00
jimp03 c5585b8c1a Update distribution script. 2010-01-29 21:18:04 +00:00
jimp03 0c5026ec4d Update scripts. 2010-01-29 21:16:08 +00:00
jimp03 04f08fd05a Release 1.24 documentation update. 2010-01-29 21:11:51 +00:00
jimp03 8424f279e1 Documentation updates for release 1.24. 2010-01-28 18:54:25 +00:00
jimp03 bc5d320d16 Update scripts. 2010-01-28 18:44:15 +00:00
jimp03 521daa2690 Various updates for version 1.24. 2010-01-28 18:41:23 +00:00
jimp03 b113ec2240 Update to release 1.24. 2010-01-20 20:35:40 +00:00
jimp03 8073253f05 Update scripts. 2010-01-20 20:22:51 +00:00
jimp03 b09ae21c26 Delete VS AStyleStatic project.
Fix OpenVMS errno problem.
2010-01-13 22:38:29 +00:00
jimp03 2c2cfe6cd2 Update scripts. 2010-01-13 22:31:46 +00:00
jimp03 5f14351ec9 Add C++ class initialization indent.
Various fixes from system tests.
2009-12-30 22:39:40 +00:00
jimp03 db4bb692a5 Add system test scripts.
Add tests.
2009-12-30 22:37:06 +00:00
jimp03 f6ab4b1385 Add build/vs2010 directory. 2009-12-21 20:27:54 +00:00
jimp03 491ceee53f Add build/vs2010 directory. 2009-12-21 20:25:36 +00:00
jimp03 99f6d30e11 Add build/vs2010 files. 2009-12-21 20:17:27 +00:00
jimp03 574fa9470d Add tests for console "lineend" option.
Changes to enable ASConsole class to have private variables.
Use getters and setters from ASConsole class.
2009-12-21 19:09:40 +00:00
jimp03 b92faf0cb3 Documentation update.
Move "debug" compiles to a separate directory.
2009-12-21 19:06:12 +00:00
jimp03 2ef17be69b Change static vectors to static vector pointers to remove reported memory leaks.
Change "lineend" option to console only.
Add getters and setters for unit testing.
2009-12-21 19:01:12 +00:00
jimp03 8317fc2b3f Delete zips. 2009-12-10 00:39:29 +00:00
jimp03 c13834d1b6 Update Visual Studio Project files. 2009-12-09 23:31:09 +00:00
jimp03 d113a32fca Add C# projects. 2009-12-09 23:19:10 +00:00
jimp03 d2de30f94d Update Visual Studio Solutions. 2009-12-09 23:05:47 +00:00
jimp03 4c173d31e9 Update project and solution files. 2009-12-09 22:44:37 +00:00
jimp03 dfe005eec1 Documentation update. 2009-12-05 21:21:46 +00:00
jimp03 746d5b674b Update scripts. 2009-12-05 21:16:17 +00:00
jimp03 ef956d59c0 Fix memory leaks. 2009-12-05 20:58:17 +00:00
jimp03 2c7faeab3a Update python scripts. 2009-11-30 19:50:10 +00:00
jimp03 3401b9d2c5 Update documentation links. 2009-11-30 19:49:13 +00:00
jimp03 c63ea4909f Update scripts. 2009-11-30 19:45:59 +00:00
jimp03 7401e29c56 Add downloads folder. 2009-11-24 19:18:37 +00:00
jimp03 0d7b5b0367 Import Downloads. 2009-11-24 16:49:32 +00:00
jimp03 9287d1450e Changes for python file checking. 2009-11-23 18:09:41 +00:00
jimp03 fbf612f03b Add scripts. 2009-11-23 18:07:13 +00:00
jimp03 f8d4c462bd Add lineend option. 2009-11-21 23:03:59 +00:00
jimp03 a6e32260f6 Add tests.
Add new python scripts.
2009-11-21 22:59:51 +00:00
jimp03 7a6ca8f56c Reinstate preserve-date.
Refactor ASConsole class for unit testing.
2009-11-18 22:37:59 +00:00
jimp03 5de58e26f5 Update project files. 2009-11-18 22:29:19 +00:00
jimp03 d418ae7365 Add tests to AStyleTestCon. 2009-11-18 22:25:51 +00:00
jimp03 4dc8c004cf Indent structs that contain access modifiers.
Fix update to activeBeautifierStack.
New method copyTempStacks.
Remove commented-out code.
2009-11-09 19:31:22 +00:00
jimp03 071857ee3c Update python scripts. 2009-11-09 19:15:54 +00:00
jimp03 c1d3c49421 Update python files. 2009-11-05 00:44:47 +00:00
jimp03 3f7627aebe Fix struct indentation for --indent-classes.
Fix operator << and >> formatting.
2009-11-05 00:24:09 +00:00
jimp03 41a644c477 Add tests.
Update batch files.
2009-11-05 00:17:18 +00:00
jimp03 e196c03373 Remove warnings from PrintDirTest.cpp.
Update project fies.
2009-11-05 00:15:00 +00:00
jimp03 9a34f64b93 Fix multiple assignments.
Fix to << and >> operator formatting.
2009-10-31 21:45:50 +00:00
jimp03 6fb16bc728 Add tests.
Update project files.
2009-10-31 21:42:49 +00:00
jimp03 a49418c300 Update project files. 2009-10-31 21:41:39 +00:00
jimp03 ccf2f10392 Add assembler formatting.
Fix to --align-pointer option.
2009-10-26 19:28:11 +00:00
jimp03 eb4b65068d Add tests. 2009-10-26 19:27:02 +00:00
jimp03 37c0b46950 Add indentation for << and >> operators. 2009-10-22 21:35:00 +00:00
jimp03 a62cfabc76 Add tests. 2009-10-22 21:33:08 +00:00
jimp03 8a1153c83b New script. 2009-10-19 18:20:10 +00:00
jimp03 cd40f06f51 Fix file encoding procedure. 2009-10-19 17:41:00 +00:00
jimp03 3b3b20a352 Add tests. 2009-10-19 17:40:19 +00:00
jimp03 70d3712038 Update scripts and console tests. 2009-10-17 21:09:49 +00:00
jimp03 fe4e580250 Add new option --indent-col1-comments (-Y) to indent C++ comments beginning in column one.
Add rejecting 16 or 32 bit file encoding and displaying a warning message.
Fix in-statement indent of "enum class".
Fix 'if' statement following an 'else' sometimes attaching to a comment.
2009-10-16 21:59:22 +00:00
jimp03 5375203fc2 Add tests. 2009-10-16 21:53:14 +00:00
jimp03 5968e5e2bf Add build for codelite. 2009-10-16 21:40:45 +00:00
jimp03 320ec6f5c1 Update project files. 2009-10-16 21:40:14 +00:00
jimp03 6f7fd2a11d Add cast formatting to --align-pointer.
Improve --align-pointer formatting.
Changes for compiler compatability.
Add make.sh script for Linux Intel compiler.
2009-09-29 21:46:59 +00:00
jimp03 a6780f25d2 Add CodeBlocks Embarcadero compiler. 2009-09-29 21:43:50 +00:00
jimp03 fd81da3752 Update CodeBlocks workspaces. 2009-09-29 21:34:16 +00:00
jimp03 25e4cb1d45 Add tests. 2009-09-29 21:30:57 +00:00
jimp03 622d30c28c Update scripts. 2009-09-29 21:30:13 +00:00
jimp03 94cb67e7ce Add embedded SQL formatting. 2009-09-18 21:38:46 +00:00
jimp03 2205b24e52 Update scripts. 2009-09-18 21:37:31 +00:00
jimp03 bd55459e42 Add tests. 2009-09-18 21:36:46 +00:00
jimp03 433fe1aacf Fix recognition of non-indent line comments in the first two ines of a source file.
Fix indenting non-indent line comments in an event table or message map.
Refactor ASEnhancer.
2009-09-10 00:01:06 +00:00
jimp03 e513eb6b1a Add tests. 2009-09-09 23:54:50 +00:00
jimp03 825e9b479f New predefined style 1tbs.
new options add-brackets and add-one-line-brackets.
Move manually set flags to ASBeautifier.
2009-09-02 22:10:57 +00:00
jimp03 3f8b8fd67b Add tests. 2009-09-02 22:04:57 +00:00
jimp03 b3591cf0e4 Update scripts. 2009-09-02 22:04:33 +00:00
jimp03 4adb2be6a2 Update to add-brackets option.
Add 1TBS predefined style.
Recompile conditionals with isOkToBreakBlocks() function.
2009-08-26 22:51:24 +00:00
jimp03 604dde1df0 Add tests. 2009-08-26 22:49:44 +00:00
jimp03 ee69b83db3 Fix line break after comments when a bracket is attached to the previous line.
Change class continuation line to one indent.
Fix formatting of "extern" statement with Horstmann brackets.
Start add-brackets coding.
2009-08-24 19:19:05 +00:00
jimp03 7788128724 Update scripts. 2009-08-24 19:11:43 +00:00
jimp03 2c66cf588f Add tests. 2009-08-24 19:10:51 +00:00
jimp03 5d986061d9 Change .tmp file to ostringstream.
Remove preserve-date option.
Change pointer-align option from 'center' to 'middle'.
Extract function formatCinToCout.
2009-08-10 16:42:31 +00:00
jimp03 1a67a6bfa3 Minor changes. 2009-08-10 16:36:52 +00:00
jimp03 a5fb346777 Add algn-pointer=center option.
Improve pointer and reference identification.
Add identification of dereferences and address-of.
Fix template identification.
Encapsulate ASFormatter public variables.
2009-08-08 16:58:55 +00:00
jimp03 571f15c5fc Add tests.
Update scripts.
2009-08-08 16:54:36 +00:00
jimp03 c619714316 Changes for unit testing of ASConsole class. 2009-07-27 16:33:26 +00:00
jimp03 62722a527b New AStyleTestCon project to test ASConsole class.
New Leakfinder program module.
2009-07-27 16:30:41 +00:00
jimp03 af7d7ed4aa Add pointer operator alignment from J P Nurmi. 2009-07-15 22:19:42 +00:00
jimp03 60613875b5 Update project files. 2009-07-15 22:12:09 +00:00
jimp03 89a64e72f7 Add tests. 2009-07-15 22:10:30 +00:00
jimp03 341b340c88 Final changes to Horstmann brackets.
Fix C# 'delegate' statements.
2009-06-29 19:17:22 +00:00
jimp03 ef1c70f252 Update project files. 2009-06-29 19:10:46 +00:00
jimp03 c785d98c00 Update scripts. 2009-06-29 19:09:04 +00:00
jimp03 366718fbcb Add tests. 2009-06-29 19:07:48 +00:00
jimp03 1ac9644a9d Add Horstmann style.
Fixes to Horstmann brackets.
Improve array formatting.
Changes to in-statement indent.
Refactor quotes and comments.
2009-06-17 23:23:48 +00:00
jimp03 0f5c89020b Add tests. 2009-06-17 23:21:36 +00:00
jimp03 e81a2411dd Changes for Horstmann array brackets. 2009-06-11 01:09:56 +00:00
jimp03 af7d0b2f8d Add tests. 2009-06-11 01:07:47 +00:00
jimp03 93169001be Move comment alignment from ASBeautifier to ASFormatter.
Fix class header formatting.
Fix 'extern' formatting.
Separate functions for comment formatting.
Separate functions for opening and closing brackets.
2009-05-29 16:02:06 +00:00
jimp03 735335aea8 Add scripts. 2009-05-29 15:59:20 +00:00
jimp03 6724d49545 Update scripts. 2009-05-29 15:57:55 +00:00
jimp03 d72062c4c8 Add tests. 2009-05-29 15:54:23 +00:00
jimp03 f81bf48746 Fixes for Horstmann brackets. 2009-05-20 23:18:57 +00:00
jimp03 149ea86d66 Add tests. 2009-05-20 23:18:09 +00:00
jimp03 1e69b1bf8f Update notes. 2009-05-13 23:26:52 +00:00
jimp03 ea6d2a205c Fixes to brackets=horstmann and brackets=attach. 2009-05-13 23:26:01 +00:00
jimp03 068270c2ea Add tests. 2009-05-13 23:21:48 +00:00
jimp03 91565eb811 Update build files. 2009-05-09 18:55:42 +00:00
jimp03 63eda30e7e Update scripts. 2009-05-09 18:54:40 +00:00
jimp03 c2f836f07f Change allow-runins to brackets=horstmann.
Allow for tab characters in continuation lines.
Replace lineBeginsWith() function with a variable.
2009-05-09 18:53:58 +00:00
jimp03 4512e83692 Update makefiles. 2009-05-09 18:47:11 +00:00
jimp03 e5e0f72391 Update docs. 2009-05-09 18:44:56 +00:00
jimp03 ef7423b015 Update build files. 2009-05-09 18:32:01 +00:00
jimp03 cacbf2151d Update scripts. 2009-05-09 18:28:02 +00:00
jimp03 12e335d410 Update scripts. 2009-05-09 17:24:59 +00:00
jimp03 21868eefd4 Update scripts. 2009-05-09 17:09:50 +00:00
jimp03 411f897353 Update scripts. 2009-05-09 17:03:45 +00:00
jimp03 8992f31db5 Add tests. 2009-05-09 17:01:53 +00:00
jimp03 94ae7e1baf Add allow-runins option - phase 1.
Change to output an entire comment instead of single chars.
Change to output an entire quote instead of single chars.
Break comments from opening broken brackets.
Fix break-blocks for consecutive comments.
Refactor STL "find" statements into isEmptyLine function.
Add new "Pading Options" section to help display.
Fix to always use peekNexChar funcion from ASBase
2009-04-15 21:45:32 +00:00
jimp03 13ebc822e4 Add tests. 2009-04-15 21:23:43 +00:00
jimp03 4d0d98688b Restore file. 2009-04-15 21:19:34 +00:00
jimp03 379b72dedf Add pad-header option.
Change unpad-paren option.
2009-03-30 15:47:21 +00:00
jimp03 9f71f25a9c Add pad-header tests.
Change unpad-paren tests.
2009-03-30 15:17:42 +00:00
jimp03 50325acc96 Change properties. 2009-03-30 15:12:08 +00:00
jimp03 e4f15fb4e7 Add AStyleTest.h header file.
Change compile options.
2009-03-28 18:17:56 +00:00
jimp03 245db76f3c Add AStyleTest.h header file.
Change errorHandler function.
Add tests.
2009-03-28 18:16:07 +00:00
jimp03 793163b70e Remove trace file from ASFormatter and use 'cout' instead.
Changes from Ettl Martin for cppcheck compilance.
2009-03-28 18:09:12 +00:00
jimp03 381ca9ca5e Add tests. 2009-03-25 22:48:36 +00:00
jimp03 889e2e0e04 Fix ‑‑fill‑empty‑lines when ‑‑indent=force‑tab is also used. 2009-03-25 22:45:34 +00:00
jimp03 b4c25ab4c9 Add "formatted" option to index. 2009-03-25 22:44:45 +00:00
jimp03 7f5c7ea32f Format with Artistic Style. 2009-03-21 20:52:49 +00:00
jimp03 11cb9d96c7 Add scripts. 2009-03-21 20:51:41 +00:00
jimp03 0e026744c4 Fix MinGW file globbing.
Format with Artistic Style.
2009-03-21 20:49:09 +00:00
jimp03 6b973117df Change to distro of UnitTest++. 2009-03-20 15:55:43 +00:00
jimp03 ed1870dfd4 Add TEXT_FIXTURE macro. 2009-03-20 15:53:36 +00:00
jimp03 fd5c53c6a8 Add notes. 2009-03-20 15:51:19 +00:00
jimp03 bbb6d03f91 Change release to 1.24. 2009-03-20 15:50:30 +00:00
jimp03 e9577cc88c Fix MinGW file globbing. 2009-03-20 15:48:20 +00:00
jimp03 db48f8900f Fix Borland abort on string compares.
Fix memory leak due to static member variables.
2009-03-18 21:27:33 +00:00
jimp03 eb48ce4bc2 New release 1.24 pending sections.
New install instructions.
New SorceForge logos.
2009-03-18 21:23:54 +00:00
jimp03 831744958b Update svn batch files. 2009-03-18 21:20:26 +00:00
jimp03 41c5c05869 Initial import. 2009-03-14 17:34:37 +00:00
jimp03 2a851a54d5 Initial import. 2009-03-14 17:34:31 +00:00
jimp03 9e7be0fb28 Initial import. 2009-03-14 17:34:26 +00:00
jimp03 5e5c48ad42 Initial import. 2009-03-14 17:34:20 +00:00
jimp03 1708bc9ce5 Initial import. 2009-03-14 17:34:12 +00:00
jimp03 f3d31d31d0 Initial import. 2009-03-14 17:34:04 +00:00
jimp03 378c482f61 Initial import. 2009-03-14 17:33:50 +00:00
jimp03 ea4f7d64e3 Initial import. 2009-03-14 17:33:43 +00:00
jimp03 3af03ff6a0 Initial import. 2009-03-14 17:30:01 +00:00
jimp03 405e81fca3 Initial import. 2009-03-14 17:29:55 +00:00
jimp03 b40ddb717f Initial import. 2009-03-14 17:29:49 +00:00
jimp03 8476973721 Initial import. 2009-03-14 17:29:43 +00:00
jimp03 628a265615 Initial import. 2009-03-14 17:29:36 +00:00
jimp03 ec2f635f74 Initial import. 2009-03-14 17:29:29 +00:00
jimp03 24b76e979e Initial import. 2009-03-14 17:29:23 +00:00
jimp03 11c16f9946 Initial import. 2009-03-14 17:29:17 +00:00
jimp03 4c62b89ce9 Initial import. 2009-03-14 17:29:11 +00:00
jimp03 dde7875600 Initial import. 2009-03-14 17:29:05 +00:00
jimp03 14b761a006 Initial import. 2009-03-14 17:28:59 +00:00
jimp03 d2871711eb Initial import. 2009-03-14 17:28:53 +00:00
jimp03 95e106718e Initial import. 2009-03-14 17:28:48 +00:00
jimp03 b1515fea8c Initial import. 2009-03-14 17:28:40 +00:00
jimp03 c4c8b8d3b6 Initial import. 2009-03-14 17:28:31 +00:00
jimp03 269d155364 Initial import. 2009-03-14 17:28:21 +00:00
jimp03 c8ca9e3a24 Initial import. 2009-03-14 17:28:13 +00:00
jimp03 1713bb9f44 Initial import. 2009-03-14 17:28:03 +00:00
jimp03 88190bef0b Initial import. 2009-03-14 17:27:57 +00:00
jimp03 bead93b65a Initial import. 2009-03-14 17:27:50 +00:00
jimp03 5ff943a706 Initial import. 2009-03-14 17:27:43 +00:00
jimp03 accaf44ca1 Initial import. 2009-03-14 17:27:37 +00:00
jimp03 99915ea2c9 Initial import. 2009-03-14 17:27:31 +00:00
jimp03 262f4a4c25 Initial import. 2009-03-14 17:27:24 +00:00
jimp03 68b0418675 Initial import. 2009-03-14 17:27:17 +00:00
jimp03 67da960f73 Initial import. 2009-03-14 17:27:10 +00:00
jimp03 d11a7e3444 Initial import. 2009-03-14 17:27:04 +00:00
jimp03 7d356cfa16 Initial import. 2009-03-14 17:26:58 +00:00
jimp03 7407a3df75 Initial import. 2009-03-14 17:26:51 +00:00
jimp03 228e6a076a Initial import. 2009-03-14 17:26:45 +00:00
jimp03 c01c41bf66 Initial import. 2009-03-14 17:26:31 +00:00
jimp03 bd5174f097 Release 1.23. 2009-03-14 17:21:51 +00:00
jimp03 097ffad3a1 Release 1.23. 2009-03-14 17:21:44 +00:00
jimp03 3bc39d0df8 Release 1.23. 2009-03-14 17:21:38 +00:00
jimp03 29999563c0 Release 1.23. 2009-03-14 17:21:31 +00:00
jimp03 b702c95fcd Release 1.23. 2009-03-14 17:21:24 +00:00
jimp03 fcfbd89fc0 Release 1.23. 2009-03-14 17:21:18 +00:00
jimp03 fde31cab2a Release 1.23. 2009-03-14 17:21:13 +00:00
jimp03 c7f1f5b86d Release 1.23. 2009-03-14 17:21:05 +00:00
jimp03 8f0b352b0a Release 1.23. 2009-03-14 17:20:56 +00:00
1497 changed files with 264315 additions and 28026 deletions
-1
View File
@@ -1 +0,0 @@
*.patch -whitespace
-214
View File
@@ -1,214 +0,0 @@
name: Binary dependencies
on:
push:
schedule:
- cron: '30 2 * * 3'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
env:
BEXT_ARCHIVE_RETENTION_DAYS: 90
jobs:
# Finalized package metadata retains its install prefix. runner.temp is
# stable between producer and consumer jobs on each pinned runner image.
linux_release:
name: Ubuntu GCC Release Build
runs-on: ubuntu-24.04
outputs:
artifact-id: ${{ steps.upload.outputs.artifact-id }}
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Setup - System
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
# Install XCB/OpenGL dev pkgs for Qt - see:
# https://wiki.qt.io/Building_Qt_6_from_Git
# https://doc.qt.io/qt-6/linux-requirements.html
sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libgl-dev
sudo apt-get install libinput-dev
sudo apt-get clean
- name: Configure
run: cmake -S . -G Ninja -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Release -DEXT_BUILD_VERBOSE=ON -DCMAKE_INSTALL_PREFIX="$RUNNER_TEMP/bext_output"
- name: Build
run: cmake --build build --parallel 2 --verbose
- name: Package dependency tree
if: github.ref == 'refs/heads/main'
shell: bash
env:
BEXT_CHANNEL: ubuntu-24.04-${{ runner.arch }}-release
working-directory: ${{ runner.temp }}/bext_output
run: |
test -d install
test -d noinstall
test -f bext-install-manifest.json
cmake -E tar cfz "$RUNNER_TEMP/bext-$BEXT_CHANNEL.tar.gz" --format=gnutar install noinstall bext-install-manifest.json
- name: Upload dependency tree
if: github.ref == 'refs/heads/main'
id: upload
uses: actions/upload-artifact@v4
with:
name: bext-ubuntu-24.04-${{ runner.arch }}-release-${{ github.sha }}
path: ${{ runner.temp }}/bext-ubuntu-24.04-${{ runner.arch }}-release.tar.gz
if-no-files-found: error
retention-days: ${{ env.BEXT_ARCHIVE_RETENTION_DAYS }}
compression-level: 0
windows_ninja_release:
name: MSVC - Ninja Release build
runs-on: windows-2025
outputs:
artifact-id: ${{ steps.upload.outputs.artifact-id }}
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Add github workspace to path
shell: pwsh
run: Add-Content -Path $env:GITHUB_PATH -Value $env:GITHUB_WORKSPACE
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Add cl.exe to PATH
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: pwsh
run: |
cmake -S . -B build -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_BUILD_TYPE=Release -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DEXT_BUILD_VERBOSE=ON -DCMAKE_INSTALL_PREFIX="$env:RUNNER_TEMP/bext_output"
# Ensure generated files are flushed before compilation begins.
Write-VolumeCache C
Write-VolumeCache D
- name: Build
shell: pwsh
run: cmake --build build --parallel 2 --verbose
- name: Package dependency tree
if: github.ref == 'refs/heads/main'
shell: bash
env:
BEXT_CHANNEL: windows-2025-${{ runner.arch }}-release
working-directory: ${{ runner.temp }}/bext_output
run: |
test -d install
test -d noinstall
test -f bext-install-manifest.json
cmake -E tar cfz "$RUNNER_TEMP/bext-$BEXT_CHANNEL.tar.gz" --format=gnutar install noinstall bext-install-manifest.json
- name: Upload dependency tree
if: github.ref == 'refs/heads/main'
id: upload
uses: actions/upload-artifact@v4
with:
name: bext-windows-2025-${{ runner.arch }}-release-${{ github.sha }}
path: ${{ runner.temp }}/bext-windows-2025-${{ runner.arch }}-release.tar.gz
if-no-files-found: error
retention-days: ${{ env.BEXT_ARCHIVE_RETENTION_DAYS }}
compression-level: 0
macos_release:
name: macOS Clang Release Build
runs-on: macos-15
outputs:
artifact-id: ${{ steps.upload.outputs.artifact-id }}
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Install Xquartz
run: brew install xquartz --cask
- name: Configure
env:
CC: clang
CXX: clang++
run: cmake -S . -G Ninja -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Release -DEXT_BUILD_VERBOSE=ON -DCMAKE_INSTALL_PREFIX="$RUNNER_TEMP/bext_output"
- name: Build
run: cmake --build build --parallel 2 --verbose
- name: Package dependency tree
if: github.ref == 'refs/heads/main'
shell: bash
env:
BEXT_CHANNEL: macos-15-${{ runner.arch }}-release
working-directory: ${{ runner.temp }}/bext_output
run: |
test -d install
test -d noinstall
test -f bext-install-manifest.json
cmake -E tar cfz "$RUNNER_TEMP/bext-$BEXT_CHANNEL.tar.gz" --format=gnutar install noinstall bext-install-manifest.json
- name: Upload dependency tree
if: github.ref == 'refs/heads/main'
id: upload
uses: actions/upload-artifact@v4
with:
name: bext-macos-15-${{ runner.arch }}-release-${{ github.sha }}
path: ${{ runner.temp }}/bext-macos-15-${{ runner.arch }}-release.tar.gz
if-no-files-found: error
retention-days: ${{ env.BEXT_ARCHIVE_RETENTION_DAYS }}
compression-level: 0
publish:
name: Publish dependency set
if: github.ref == 'refs/heads/main'
needs: [linux_release, windows_ninja_release, macos_release]
runs-on: ubuntu-24.04
permissions:
actions: write
contents: read
steps:
- name: Record complete dependency set
run: echo "${{ github.sha }}" > "$RUNNER_TEMP/bext-production"
- name: Upload completion marker
id: marker
uses: actions/upload-artifact@v4
with:
name: bext-production-${{ github.sha }}
path: ${{ runner.temp }}/bext-production
if-no-files-found: error
retention-days: ${{ env.BEXT_ARCHIVE_RETENTION_DAYS }}
- name: Remove superseded dependency sets
shell: bash
env:
GH_TOKEN: ${{ github.token }}
CURRENT_ARTIFACT_IDS: ${{ needs.linux_release.outputs.artifact-id }},${{ needs.windows_ninja_release.outputs.artifact-id }},${{ needs.macos_release.outputs.artifact-id }},${{ steps.marker.outputs.artifact-id }}
run: |
set -euo pipefail
artifact_pattern='^bext-((ubuntu-24\.04|windows-2025|macos-15)-(X86|X64|ARM|ARM64)-release|production)-'
artifact_rows="$(gh api --paginate "repos/$GITHUB_REPOSITORY/actions/artifacts?per_page=100" --jq '.artifacts[] | [.id, .name] | @tsv')"
while IFS=$'\t' read -r artifact_id artifact_name; do
if [[ "$artifact_name" =~ $artifact_pattern && ",${CURRENT_ARTIFACT_IDS}," != *",${artifact_id},"* ]]; then
gh api --method DELETE "repos/$GITHUB_REPOSITORY/actions/artifacts/$artifact_id"
fi
done <<< "$artifact_rows"
-256
View File
@@ -1,256 +0,0 @@
# This file defines Continuous Integration (CI) tests for bext using the
# Github Actions framework. Currently it defines configurations for Windows,
# Linux and OSX.
#
# For more information about available platforms for testing, see:
#
# https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners
#
# The general rule when building in CI is to go more verbose in output settings
# rather than less, since iterative debugging isn't practical.
#
# We generally want to avoid parallel building - while that will sometimes
# catch dependency issues, it also makes the outputs far harder to interpret
# when there is a problem. However, the full BRL-CAD dependency stack is quite
# a long build, so in this case we are experimenting with it to see if it can
# help our build times on the runners.
name: BRL-CAD
on: [push]
jobs:
dependency_metadata:
name: Dependency metadata and supply-chain checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate dependency metadata and documentation
run: cmake -DBEXT_SOURCE_DIR="$GITHUB_WORKSPACE" -DBEXT_DOC_MODE=CHECK -P CMake/GenerateDependencyDocs.cmake
- name: Generate SPDX SBOM
run: cmake -DBEXT_SOURCE_DIR="$GITHUB_WORKSPACE" -DBEXT_SBOM_OUTPUT="$RUNNER_TEMP/bext.spdx.json" -P CMake/GenerateSbom.cmake
- name: Upload SPDX SBOM
uses: actions/upload-artifact@v4
with:
name: bext-spdx-sbom
path: ${{ runner.temp }}/bext.spdx.json
linux_configure_presets:
name: Ubuntu Configure Preset - ${{ matrix.preset }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
preset: [auto, bundled, minimal, everything]
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Setup - System
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
# Install XCB/OpenGL dev pkgs for Qt - see:
# https://wiki.qt.io/Building_Qt_6_from_Git
# https://doc.qt.io/qt-6/linux-requirements.html
sudo apt-get install flex bison m4 libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libgl-dev
sudo apt-get install libinput-dev
sudo apt-get clean
- name: Configure
run: |
export PATH=$GITHUB_WORKSPACE:$PATH
cmake --preset ${{ matrix.preset }} -DGIT_SHALLOW_CLONE=ON -DEXT_BUILD_VERBOSE=ON
windows_ninja_debug:
name: MSVC - Ninja Debug build
runs-on: windows-latest
strategy:
fail-fast: true
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Add github workspace to path
# https://github.community/t/deprecated-add-path/136621
run: echo "$ENV{GITHUB_WORKSPACE}" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Add cl.exe to PATH
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: powershell
run: |
cmake -S . -B build -G Ninja -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_BUILD_TYPE=Debug -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DEXT_BUILD_VERBOSE=ON
# We do the following in order to help ensure files are "flushed"
# to disk before compilation is attempted
# https://superuser.com/a/1553374/1286142
powershell Write-VolumeCache C
powershell Write-VolumeCache D
- name: Build
shell: powershell
run: |
cd build; ninja -j2 -v
# TODO - if the loading isn't too extreme, it would be good to do a BRL-CAD
# build against the output of this...
# - name: Build - BRL-CAD
# run: |
# # TODO - figure out how to do this...
windows_std_tools_release:
name: MSVC - Standard Tools Release Build
runs-on: windows-latest
strategy:
fail-fast: true
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Add github workspace to path
# https://github.community/t/deprecated-add-path/136621
run: echo "$ENV{GITHUB_WORKSPACE}" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Add cl.exe to PATH
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cmake -S . -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Release -DEXT_BUILD_VERBOSE=ON
# We do the following in order to help ensure files are "flushed"
# to disk before compilation is attempted
# https://superuser.com/a/1553374/1286142
powershell Write-VolumeCache C
powershell Write-VolumeCache D
- name: Build
shell: cmd
run: |
cmake --build build --config Release -j2
windows_std_tools_debug:
name: MSVC - Standard Tools Debug Build
runs-on: windows-latest
strategy:
fail-fast: true
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Add github workspace to path
# https://github.community/t/deprecated-add-path/136621
run: echo "$ENV{GITHUB_WORKSPACE}" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Add cl.exe to PATH
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cmake -S . -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Debug -DEXT_BUILD_VERBOSE=ON
# We do the following in order to help ensure files are "flushed"
# to disk before compilation is attempted
# https://superuser.com/a/1553374/1286142
powershell Write-VolumeCache C
powershell Write-VolumeCache D
- name: Build
shell: cmd
run: |
cmake --build build --config Debug -j2
linux_debug:
name: Ubuntu GCC Debug Build
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Setup - System
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
# Install XCB/OpenGL dev pkgs for Qt - see:
# https://wiki.qt.io/Building_Qt_6_from_Git
# https://doc.qt.io/qt-6/linux-requirements.html
sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libgl-dev
sudo apt-get install libinput-dev
sudo apt-get clean
- name: Configure
run: |
export PATH=$ENV{GITHUB_WORKSPACE}:$PATH
# We're running into disk space issues with the Linux debug build, so turn off GDAL
cmake -S . -G Ninja -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_GDAL=OFF -DEXT_BUILD_VERBOSE=ON
- name: Build
run: |
export PATH=$ENV{GITHUB_WORKSPACE}:$PATH
cd build && ninja -j2 -v
osx_debug:
name: macOS Clang Debug Build
runs-on: macos-latest
strategy:
fail-fast: true
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Checkout
uses: actions/checkout@v4
- name: Install Xquartz
run: |
brew install xquartz --cask
- name: Configure
run: |
export PATH=$ENV{GITHUB_WORKSPACE}:$PATH
export CC=clang
export CXX=clang++
cmake -S . -G Ninja -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Debug -DEXT_BUILD_VERBOSE=ON
- name: Build
run: |
export PATH=$ENV{GITHUB_WORKSPACE}:$PATH
cd build && ninja -j2 -v
-56
View File
@@ -1,56 +0,0 @@
# The purpose of this particular test definition is to support on-demand
# interactive command shells. We sometimes see problems that occur only in the
# Github Runner environments, and in order to explore what is happening we need
# an interactive prompt (the alternative is hours-per-cycle submit and test
# loops, which doesn't scale at all.)
#
# Unlike the other BRL-CAD tests, this one is started manually from the Github
# website. For more information see https://mxschmitt.github.io/action-tmate/
#
# The "recommended" way to use this action is for the dev to make a fork of
# the repository, alter the configure and/or build logic below for their
# particular use case (the example below is a libged-only build used to zero
# in on a specific libged behavior) before running.
name: BRL-CAD Linux Interactive Debugging
on: [workflow_dispatch]
jobs:
linux:
name: Ubuntu Latest GCC
runs-on: ubuntu-latest
steps:
- name: Setup - CMake
uses: lukka/get-cmake@latest
- name: Setup - System
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
# Install XCB/OpenGL dev pkgs for Qt - see:
# https://wiki.qt.io/Building_Qt_6_from_Git
# https://doc.qt.io/qt-6/linux-requirements.html
sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libgl-dev
sudo apt-get install libinput-dev
sudo apt-get clean
- name: Checkout
uses: actions/checkout@v4
- name: Build Directory setup
run: |
cmake -E make_directory ./build_linux
- name: Configure
run: |
export PATH=$ENV{GITHUB_WORKSPACE}:$PATH
cmake -S . -G Ninja -B build -DENABLE_ALL=ON -DGIT_SHALLOW_CLONE=ON -DCMAKE_BUILD_TYPE=Debug
- name: Debugging - tmate session
uses: mxschmitt/action-tmate@v3
+12 -24
View File
@@ -1,25 +1,13 @@
# Common build directories used in the source tree
/build
/.build
/*_build
/*-build
/out
# Temporary files
*~
\#*\#
.\#*
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-v][a-z]
[._]sw[a-p]
# OS specific files
.DS_Store
.DS_Store?
.vscode
CMakeLists.txt.user
/.vs
/CMakeSettings.json
/CMakeUserPresets.json
Thumbs.db
TestArchives/
TestData/
AStyle/build/
AStyleTest/file-py/*.tmp
AStyleTest/file-py/*.pyc
AStyleTest/file-py/test-diff.txt
AStyleTest/file-py/test.txt
AStyle/src/.idea/
AStyle/.ccls-cache/
AStyle/.vscode/
AStyle/build_local/
+17
View File
@@ -0,0 +1,17 @@
# Specify the docker image to use (only used if using docker runners)
# See: http://doc.gitlab.com/ee/ci/docker/using_docker_images.html
image: debian:stable-slim
# Define commands that run before each job's script
before_script:
- apt-get update
- apt-get install -y make gcc g++ cmake
compile:
script:
- cd AStyle/
- mkdir build_local && cd build_local
- cmake .. && make
- cd ../../AStyleTest/regression-sh/
# Verify that our compiled app works properly with a custom "test" script
- bash ./run_tests.sh
-364
View File
@@ -1,364 +0,0 @@
[submodule "patch/patch"]
path = patch/patch
url = https://github.com/BRL-CAD/patch
ignore = dirty
shallow = true
[submodule "astyle/astyle"]
path = astyle/astyle
url = https://github.com/BRL-CAD/astyle
ignore = dirty
shallow = true
[submodule "lief/LIEF"]
path = lief/LIEF
url = https://github.com/BRL-CAD/LIEF
ignore = dirty
shallow = true
[submodule "lemon/lemon"]
path = lemon/lemon
url = https://github.com/BRL-CAD/lemon
ignore = dirty
shallow = true
[submodule "re2c/re2c"]
path = re2c/re2c
url = https://github.com/BRL-CAD/re2c
ignore = dirty
shallow = true
[submodule "perplex/perplex"]
path = perplex/perplex
url = https://github.com/BRL-CAD/perplex
ignore = dirty
shallow = true
[submodule "plief/plief"]
path = plief/plief
url = https://github.com/BRL-CAD/plief
ignore = dirty
shallow = true
[submodule "strclear/strclear"]
path = strclear/strclear
url = https://github.com/BRL-CAD/strclear
ignore = dirty
shallow = true
[submodule "zlib/zlib"]
path = zlib/zlib
url = https://github.com/BRL-CAD/zlib
ignore = dirty
shallow = true
[submodule "png/libpng"]
path = png/libpng
url = https://github.com/BRL-CAD/libpng
ignore = dirty
shallow = true
[submodule "netpbm/netpbm"]
path = netpbm/netpbm
url = https://github.com/BRL-CAD/netpbm
branch = brlcad
ignore = dirty
shallow = true
[submodule "regex/regex"]
path = regex/regex
url = https://github.com/BRL-CAD/regex
ignore = dirty
shallow = true
[submodule "lmdb/lmdb"]
path = lmdb/lmdb
url = https://github.com/BRL-CAD/lmdb
ignore = dirty
shallow = true
[submodule "eigen/eigen"]
path = eigen/eigen
url = https://github.com/BRL-CAD/eigen
ignore = dirty
shallow = true
[submodule "stepcode/stepcode"]
path = stepcode/stepcode
url = https://github.com/BRL-CAD/stepcode
branch = RELEASE
ignore = dirty
shallow = true
[submodule "sqlite3/sqlite3"]
path = sqlite3/sqlite3
url = https://github.com/BRL-CAD/sqlite3.git
ignore = dirty
shallow = true
[submodule "proj/PROJ"]
path = proj/PROJ
url = https://github.com/BRL-CAD/PROJ
ignore = dirty
shallow = true
[submodule "gdal/gdal"]
path = gdal/gdal
url = https://github.com/BRL-CAD/gdal
ignore = dirty
shallow = true
[submodule "assetimport/assimp"]
path = assetimport/assimp
url = https://github.com/BRL-CAD/assimp
branch = RELEASE
ignore = dirty
shallow = true
[submodule "opencv/opencv"]
path = opencv/opencv
url = https://github.com/BRL-CAD/opencv
ignore = dirty
shallow = true
[submodule "opennurbs/opennurbs"]
path = opennurbs/opennurbs
url = https://github.com/BRL-CAD/opennurbs
ignore = dirty
shallow = true
[submodule "openvdb/openvdb"]
path = openvdb/openvdb
url = https://github.com/BRL-CAD/openvdb
branch = master
ignore = dirty
shallow = true
[submodule "osmesa/osmesa"]
path = osmesa/osmesa
url = https://github.com/BRL-CAD/osmesa
ignore = dirty
shallow = true
[submodule "tk/tk"]
path = tk/tk
url = https://github.com/BRL-CAD/tk
branch = RELEASE
ignore = dirty
shallow = true
[submodule "itk/itk"]
path = itk/itk
url = https://github.com/BRL-CAD/itk
branch = main
ignore = dirty
shallow = true
[submodule "iwidgets/iwidgets"]
path = iwidgets/iwidgets
url = https://github.com/BRL-CAD/iwidgets
ignore = dirty
shallow = true
[submodule "tktable/tktable"]
path = tktable/tktable
url = https://github.com/BRL-CAD/tktable
ignore = dirty
shallow = true
[submodule "tkhtml/tkhtml"]
path = tkhtml/tkhtml
url = https://github.com/BRL-CAD/tkhtml
ignore = dirty
shallow = true
[submodule "qt/qt"]
path = qt/qt
url = https://github.com/BRL-CAD/qt
ignore = dirty
shallow = true
[submodule "flexbison/bison"]
path = flexbison/bison
url = https://github.com/BRL-CAD/bison
ignore = dirty
shallow = true
[submodule "flexbison/flex"]
path = flexbison/flex
url = https://github.com/BRL-CAD/flex
branch = RELEASE
ignore = dirty
shallow = true
[submodule "flexbison/winflexbison"]
path = flexbison/winflexbison
url = https://github.com/BRL-CAD/winflexbison
branch = RELEASE
ignore = dirty
shallow = true
[submodule "minizip-ng/minizip-ng"]
path = minizip-ng/minizip-ng
url = https://github.com/BRL-CAD/minizip-ng
branch = RELEASE
ignore = dirty
shallow = true
[submodule "lz4/lz4"]
path = lz4/lz4
url = https://github.com/BRL-CAD/lz4
branch = RELEASE
ignore = dirty
shallow = true
[submodule "deflate/libdeflate"]
path = deflate/libdeflate
url = https://github.com/BRL-CAD/libdeflate
branch = RELEASE
ignore = dirty
shallow = true
[submodule "fmt/fmt"]
path = fmt/fmt
url = https://github.com/BRL-CAD/fmt
branch = RELEASE
ignore = dirty
shallow = true
[submodule "yaml-cpp/yaml-cpp"]
path = yaml-cpp/yaml-cpp
url = https://github.com/BRL-CAD/yaml-cpp
branch = RELEASE
ignore = dirty
shallow = true
[submodule "pystring/pystring"]
path = pystring/pystring
url = https://github.com/BRL-CAD/pystring
branch = RELEASE
ignore = dirty
shallow = true
[submodule "expat/libexpat"]
path = expat/libexpat
url = https://github.com/BRL-CAD/libexpat
branch = RELEASE
ignore = dirty
shallow = true
[submodule "pugixml/pugixml"]
path = pugixml/pugixml
url = https://github.com/BRL-CAD/pugixml
branch = RELEASE
ignore = dirty
shallow = true
[submodule "xerces-c/xerces-c"]
path = xerces-c/xerces-c
url = https://github.com/BRL-CAD/xerces-c
branch = RELEASE
ignore = dirty
shallow = true
[submodule "icu/icu"]
path = icu/icu
url = https://github.com/BRL-CAD/icu
branch = RELEASE
ignore = dirty
shallow = true
[submodule "jpeg/libjpeg-turbo"]
path = jpeg/libjpeg-turbo
url = https://github.com/BRL-CAD/libjpeg-turbo
ignore = dirty
shallow = true
[submodule "tiff/libtiff"]
path = tiff/libtiff
url = https://github.com/BRL-CAD/libtiff
ignore = dirty
shallow = true
[submodule "onetbb/oneTBB"]
path = onetbb/oneTBB
url = https://github.com/BRL-CAD/oneTBB
ignore = dirty
shallow = true
[submodule "llvm/llvm-project"]
path = llvm/llvm-project
url = https://github.com/BRL-CAD/llvm-project
branch = RELEASE
ignore = dirty
shallow = true
[submodule "zstd/zstd"]
path = zstd/zstd
url = https://github.com/BRL-CAD/zstd
branch = RELEASE
ignore = dirty
shallow = true
[submodule "boost/boost"]
path = boost/boost
url = https://github.com/BRL-CAD/boost
branch = RELEASE
ignore = dirty
shallow = true
[submodule "openexr/openexr"]
path = openexr/openexr
url = https://github.com/BRL-CAD/openexr
branch = RELEASE
ignore = dirty
shallow = true
[submodule "opencolorio/OpenColorIO"]
path = opencolorio/OpenColorIO
url = https://github.com/BRL-CAD/OpenColorIO
branch = RELEASE
ignore = dirty
shallow = true
[submodule "openimageio/oiio"]
path = openimageio/oiio
url = https://github.com/BRL-CAD/oiio
branch = RELEASE
ignore = dirty
shallow = true
[submodule "osl/OpenShadingLanguage"]
path = osl/OpenShadingLanguage
url = https://github.com/BRL-CAD/OpenShadingLanguage
branch = RELEASE
ignore = dirty
shallow = true
[submodule "embree/embree"]
path = embree/embree
url = https://github.com/BRL-CAD/embree
branch = RELEASE
ignore = dirty
shallow = true
[submodule "rkcommon/rkcommon"]
path = rkcommon/rkcommon
url = https://github.com/BRL-CAD/rkcommon
branch = RELEASE
ignore = dirty
shallow = true
[submodule "ispc/ispc"]
path = ispc/ispc
url = https://github.com/BRL-CAD/ispc
branch = RELEASE
ignore = dirty
shallow = true
[submodule "ospray/ospray"]
path = ospray/ospray
url = https://github.com/BRL-CAD/ospray
branch = RELEASE
ignore = dirty
shallow = true
[submodule "ncurses/ncurses"]
path = ncurses/ncurses
url = https://github.com/BRL-CAD/ncurses
ignore = dirty
shallow = true
[submodule "tcl/tcl"]
path = tcl/tcl
url = https://github.com/BRL-CAD/tcl.git
branch = RELEASE
ignore = dirty
shallow = true
[submodule "manifold/manifold"]
path = manifold/manifold
url = https://github.com/BRL-CAD/manifold.git
ignore = dirty
shallow = true
[submodule "appleseed/appleseed"]
path = appleseed/appleseed
url = https://github.com/BRL-CAD/appleseed
ignore = dirty
shallow = true
[submodule "gte/GeometricTools"]
path = gte/GeometricTools
url = https://github.com/BRL-CAD/GeometricTools
ignore = dirty
shallow = true
[submodule "mmesh/mmesh"]
path = mmesh/mmesh
url = https://github.com/BRL-CAD/mmesh.git
ignore = dirty
shallow = true
[submodule "clipper2/Clipper2"]
path = clipper2/Clipper2
url = https://github.com/BRL-CAD/Clipper2.git
ignore = dirty
shallow = true
[submodule "tinygltf/tinygltf"]
path = tinygltf/tinygltf
url = https://github.com/BRL-CAD/tinygltf.git
ignore = dirty
shallow = true
[submodule "poissonrecon/PoissonRecon"]
path = poissonrecon/PoissonRecon
url = https://github.com/BRL-CAD/PoissonRecon
ignore = dirty
shallow = true
[submodule "bullet/bullet3"]
path = bullet/bullet3
url = https://github.com/BRL-CAD/bullet3.git
branch = RELEASE
ignore = dirty
shallow = true
[submodule "oidn/oidn"]
path = oidn/oidn
url = https://github.com/BRL-CAD/oidn
+222
View File
@@ -0,0 +1,222 @@
cmake_minimum_required(VERSION 3.10)
if(CMAKE_VERSION VERSION_GREATER "3.19.0")
cmake_policy(SET CMP0112 OLD)
endif()
project(astyle CXX)
# Build Options - executable by default, libraries on request
option(BUILD_JAVA_LIBS "Build java library" OFF)
option(BUILD_SHARED_LIBS "Build shared library" OFF)
option(BUILD_STATIC_LIBS "Build static library" OFF)
# Release Build by default (except for Borland)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
set(CMAKE_CXX_STANDARD 17)
# Linux Soname Version
set(MAJORVER 3)
set(MINORVER 5)
set(PATCHVER 0)
set(SOLIBVER ${MAJORVER}.${MINORVER}.${PATCHVER})
# AStyle Source
file(GLOB SRCS src/*.cpp)
# AStyle Documentation, selected files
list(APPEND DOCS
doc/astyle.html
doc/install.html
doc/news.html
doc/notes.html
doc/styles.css)
list(APPEND MAN
man/astyle.1)
# Define java as a shared library
if(BUILD_JAVA_LIBS)
set(BUILD_SHARED_LIBS ON)
endif()
# Define the output type
if(BUILD_SHARED_LIBS OR BUILD_STATIC_LIBS)
add_library(astyle ${SRCS})
else()
add_executable(astyle ${SRCS})
endif()
# compiler options:
if(APPLE)
target_compile_options( astyle PRIVATE -W -Wall -fno-rtti -fno-exceptions -stdlib=libc++)
elseif(NOT WIN32) # Linux
target_compile_options(astyle PRIVATE -Wall -Wextra -fno-rtti -fno-exceptions)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "gnu")
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel" AND CMAKE_BUILD_TYPE STREQUAL "Release")
# remove intel remarks for release build
target_compile_options(astyle PRIVATE -wd11074,11076)
endif()
elseif(MINGW)
target_compile_options(astyle PRIVATE -Wall -Wextra -fno-rtti -fno-exceptions)
elseif(BORLAND) # Release must be explicitly requested for Borland
target_compile_options(astyle PRIVATE -q -w -x-) # Cannot use no-rtti (-RT-)
elseif(MSVC) # Visual Studio
target_compile_options(astyle PRIVATE /utf-8)
endif()
# Set build-specific compile options
if(BUILD_SHARED_LIBS OR BUILD_STATIC_LIBS)
if(BUILD_JAVA_LIBS)
find_package(JNI)
if (NOT JNI_FOUND)
set(err_jni "Use '-DJAVA_HOME=<JNI Directory>' to define the Java path")
message(FATAL_ERROR ${err_jni})
endif()
target_compile_options(astyle PRIVATE -DASTYLE_JNI)
target_include_directories(astyle PRIVATE ${JNI_INCLUDE_DIRS})
else()
target_compile_options(astyle PRIVATE -DASTYLE_LIB)
endif()
# Windows DLL exports removed
set_property(TARGET astyle PROPERTY DEFINE_SYMBOL "")
# Linux solib version added
set_property(TARGET astyle PROPERTY VERSION ${SOLIBVER})
set_property(TARGET astyle PROPERTY SOVERSION ${MAJORVER})
endif()
# Linker options:
# Strip release builds
if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
if(NOT BUILD_STATIC_LIBS AND NOT BORLAND AND NOT MSVC)
add_custom_command(TARGET astyle POST_BUILD
COMMAND ${CMAKE_STRIP} $<TARGET_FILE_NAME:astyle>)
endif()
endif()
# Shared library options
if(BUILD_SHARED_LIBS)
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") # remove -rdynamic
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
# need static linking because cannot find the intel libraries at runtime
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -static-intel")
elseif(MINGW)
# minGW dlls don't work
# tdm-gcc dlls work with everything except python
set(CMAKE_SHARED_LINKER_FLAGS
"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--add-stdcall-alias -Wl,--dll")
elseif(BORLAND)
# use a development environment to compile Borland dlls
endif()
endif()
# Installation options:
# Define install directories
# To uninstall 'xargs rm < install_manifest.txt'
# Default linux install prefix is /usr/local"
# This may be modified by -DCMAKE_INSTALL_PREFIX=
# Default Win32 install prefix is not used (C:/Program Files (x86))
option(INSTALL_DOC ON)
if(BUILD_SHARED_LIBS OR BUILD_STATIC_LIBS)
if(NOT WIN32)
install(TARGETS astyle DESTINATION lib)
endif()
else()
if(SKBUILD)
install(TARGETS astyle DESTINATION "${SKBUILD_SCRIPTS_DIR}")
if(INSTALL_DOC)
install(FILES ${DOCS} DESTINATION "${SKBUILD_DATA_DIR}/share/doc/astyle/html")
install(FILES ${MAN} DESTINATION "${SKBUILD_DATA_DIR}/share/man/man1")
endif()
elseif(WIN32)
set(pf86 "PROGRAMFILES(x86)")
set(prog_files $ENV{${pf86}})
if(NOT ${prog_files})
set(prog_files $ENV{PROGRAMFILES})
endif()
install(TARGETS astyle DESTINATION "${prog_files}/AStyle")
install(FILES ${DOCS} DESTINATION "${prog_files}/AStyle/doc")
elseif(APPLE)
# install to the default /usr/local/bin because of SIP restrictions
install(TARGETS astyle DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
if(INSTALL_DOC)
install(FILES ${DOCS} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/astyle/html")
endif()
else()
# change default to /usr/bin, the same as package installs
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "/usr")
endif()
install(TARGETS astyle DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
if(INSTALL_DOC)
install(FILES ${DOCS} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/astyle/html")
install(FILES ${MAN} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1")
endif()
endif()
endif()
# output files:
# Set output file names if different than 'astyle'
if(BUILD_JAVA_LIBS)
if(WIN32)
set_property(TARGET astyle PROPERTY OUTPUT_NAME AStyle32j)
set_property(TARGET astyle PROPERTY PREFIX "")
else()
set_property(TARGET astyle PROPERTY OUTPUT_NAME astylej)
endif()
elseif(BUILD_SHARED_LIBS)
if(WIN32)
set_property(TARGET astyle PROPERTY OUTPUT_NAME AStyle32)
set_property(TARGET astyle PROPERTY PREFIX "")
endif()
elseif(BUILD_STATIC_LIBS)
if(WIN32)
set_property(TARGET astyle PROPERTY OUTPUT_NAME AStyleLib)
set_property(TARGET astyle PROPERTY PREFIX "")
endif()
else()
if(WIN32)
set_property(TARGET astyle PROPERTY OUTPUT_NAME AStyle)
endif()
endif()
# print info:
if(BUILD_JAVA_LIBS)
SET(ASTYLE_BUILD_TYPE "Java Shared Library")
elseif(BUILD_SHARED_LIBS)
SET(ASTYLE_BUILD_TYPE "Shared Library")
elseif(BUILD_STATIC_LIBS)
SET(ASTYLE_BUILD_TYPE "Static Library")
else()
SET(ASTYLE_BUILD_TYPE "Executable")
endif()
# Display build information
message( STATUS "---------- General Configuration ----------" )
message( STATUS )
message( STATUS "CMake Generator: ${CMAKE_GENERATOR}" )
message( STATUS "CMake Compiler: ${CMAKE_CXX_COMPILER_ID}" )
message( STATUS "AStyle Build: ${ASTYLE_BUILD_TYPE}" )
message( STATUS "AStyle Configuration: ${CMAKE_BUILD_TYPE}" )
if( BUILD_JAVA_LIBS )
message( STATUS "Java Include Path: ${JAVA_INCLUDE_PATH}" )
endif()
message( STATUS )
message( STATUS "-------------------------------------------" )
+21
View File
@@ -0,0 +1,21 @@
### MIT License
Copyright (c) 2023 The Artistic Style Authors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+9
View File
@@ -0,0 +1,9 @@
Instructions for using Artistic Style are included in the *doc* directory.
The file **install.html** contains instructions for compiling and
installing Artistic Style.
The file **astyle.html** contains information on using Artistic Style.
The files **news.html** and **notes.html** contain information on changes
made to the various releases.
+257
View File
@@ -0,0 +1,257 @@
# Make file for GCC compiler on Linux or compatible OS
# list of source files for astyle
SRC = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASLocalizer.cpp \
ASResource.cpp
# list of source files for libraries without ASLocalizer
SRCx = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASResource.cpp
# source directories
vpath %.cpp ../../src
vpath %.h ../../src
# NOTE for java compiles the environment variable $JAVA_HOME must be set
# example: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00
ifndef JAVA_HOME
JAVA_HOME = /usr/lib/jvm/default-java
endif
# set prefix if not defined on the command line
ifndef prefix
prefix=/usr
endif
SYSCONF_PATH=$(prefix)/share/doc/astyle
# define macros
# CXX defaults to g++
ifeq ($(CXX), g++)
CXX = clang++
endif
bindir = bin
objdir = obj
ipath=$(prefix)/bin
CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++17
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
INSTALL=install -o $(USER) -g $(USER)
# Library's major version number -- Increment in case of incompatible API
# change.
MAJORVER = 3
# Library's minor version number -- Increment when functionality is added in a
# backward-compatible manner; reset to 0 when major number changes.
MINORVER = 2
# Library's patch version number -- Increment in case of backward-compatible
# bug fixes or refactoring; reset to 0 when minor number changes.
PATCHVER = 0
# Library's full version number.
SOLIBVER = $(MAJORVER).$(MINORVER).$(PATCHVER)
##################################################
# define compile options for each build
ifdef CFLAGS
CFLAGSr = -DNDEBUG $(CBASEFLAGS) $(CFLAGS)
CFLAGSd = -g $(CBASEFLAGS) $(CFLAGS)
else
CFLAGSr = -DNDEBUG -O3 $(CBASEFLAGS)
CFLAGSd = -g $(CBASEFLAGS)
endif
CFLAGSs = -DASTYLE_LIB -fPIC $(CFLAGSr)
CFLAGSsd = -DASTYLE_LIB -fPIC $(CFLAGSd)
CFLAGSa = -DASTYLE_LIB $(CFLAGSr)
CFLAGSad = -DASTYLE_LIB $(CFLAGSd)
CFLAGSsj = -DASTYLE_JNI -fPIC $(CFLAGSr) $(JAVAINCS)
CFLAGSsjd = -DASTYLE_JNI -fPIC $(CFLAGSd) $(JAVAINCS)
# define link options
ifdef LDFLAGS
LDFLAGSr = $(LDFLAGS)
LDFLAGSd = $(LDFLAGS)
else
LDFLAGSr = -s
LDFLAGSd =
endif
# object files are built from the source list $(SRC)
# a suffix is added for each build
OBJ = $(patsubst %.cpp,$(objdir)/%.o,$(SRC))
OBJd = $(patsubst %.cpp,$(objdir)/%_d.o,$(SRC))
OBJs = $(patsubst %.cpp,$(objdir)/%_s.o,$(SRCx))
OBJsd = $(patsubst %.cpp,$(objdir)/%_sd.o,$(SRCx))
OBJa = $(patsubst %.cpp,$(objdir)/%_a.o,$(SRCx))
OBJad = $(patsubst %.cpp,$(objdir)/%_ad.o,$(SRCx))
OBJsj = $(patsubst %.cpp,$(objdir)/%_sj.o,$(SRCx))
OBJsjd = $(patsubst %.cpp,$(objdir)/%_sjd.o,$(SRCx))
# define object file rule (with the suffix) for each build
# OBJ
$(objdir)/%.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSr) -c $< -o $@
# OBJd
$(objdir)/%_d.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSd) -c $< -o $@
# OBJs
$(objdir)/%_s.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSs) -c $< -o $@
# OBJsd
$(objdir)/%_sd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsd) -c $< -o $@
# OBJa
$(objdir)/%_a.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSa) -c $< -o $@
# OBJad
$(objdir)/%_ad.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSad) -c $< -o $@
# OBJsj
$(objdir)/%_sj.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsj) -c $< -o $@
# OBJsjd
$(objdir)/%_sjd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsjd) -c $< -o $@
##################################################
# define build dependencies for each command
release: astyle
astyle: $(OBJ)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSr) -o $(bindir)/$@ $^
@ echo
debug: astyled
astyled: $(OBJd)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSd) -o $(bindir)/$@ $^
@ echo
shared: libastyle.so
libastyle.so: $(OBJs)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastyle.so.$(MAJORVER) \
-o $(bindir)/libastyle.so.$(SOLIBVER) $^
@ln --symbolic --force libastyle.so.$(SOLIBVER) libastyle.so.$(MAJORVER)
@ln --symbolic --force libastyle.so.$(MAJORVER) libastyle.so
@mv libastyle.so* $(bindir)/
@ echo
shareddebug: libastyled.so
libastyled.so: $(OBJsd)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSd) -Wl,-soname,libastyled.so.$(MAJORVER) \
-o $(bindir)/libastyled.so.$(SOLIBVER) $^
@ln --symbolic --force libastyled.so.$(SOLIBVER) libastyled.so.$(MAJORVER)
@ln --symbolic --force libastyled.so.$(MAJORVER) libastyled.so
@mv libastyled.so* $(bindir)/
@ echo
static: libastyle.a
libastyle.a: $(OBJa)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
staticdebug: libastyled.a
libastyled.a: $(OBJad)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
java: libastylej.so
libastylej.so: $(OBJsj)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastylej.so.$(MAJORVER) \
-o $(bindir)/libastylej.so.$(SOLIBVER) $^
@ln --symbolic --force libastylej.so.$(SOLIBVER) libastylej.so.$(MAJORVER)
@ln --symbolic --force libastylej.so.$(MAJORVER) libastylej.so
@mv libastylej.so* $(bindir)/
@ echo
javadebug: libastylejd.so
libastylejd.so: $(OBJsjd)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastylejd.so.$(MAJORVER) \
-o $(bindir)/libastylejd.so.$(SOLIBVER) $^
@ln --symbolic --force libastylejd.so.$(SOLIBVER) libastylejd.so.$(MAJORVER)
@ln --symbolic --force libastylejd.so.$(MAJORVER) libastylejd.so
@mv libastylejd.so* $(bindir)/
@ echo
all: release debug shared shareddebug static staticdebug
javaall: java javadebug
clean:
rm -f $(objdir)/*.o $(bindir)/*astyle*
cleanobj:
rm -f $(objdir)/*.o
install:
$(INSTALL) -m 755 -d $(ipath)
@$(INSTALL) -m 755 $(bindir)/astyle $(ipath)
@if [ -d $(SYSCONF_PATH)/html ]; then \
rm -rf $(SYSCONF_PATH)/html; \
fi
$(INSTALL) -m 755 -d $(SYSCONF_PATH)
@mkdir -p $(SYSCONF_PATH)/html;
@for files in astyle.html \
install.html \
news.html \
notes.html \
styles.css; \
do \
$(INSTALL) -m 644 ../../doc/$$files $(SYSCONF_PATH)/html; \
done
uninstall:
rm -f $(ipath)/astyle
rm -rf $(SYSCONF_PATH)
# copy release files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibs:
cp -fpP $(bindir)/astyle ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylej.so* ../../../AStyleDev/src-j/
# copy debug files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibsd:
cp -fpP $(bindir)/astyled ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylejd.so* ../../../AStyleDev/src-j/
+254
View File
@@ -0,0 +1,254 @@
# Make file for GCC compiler on Linux or compatible OS
# list of source files for astyle
SRC = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASLocalizer.cpp \
ASResource.cpp
# list of source files for libraries without ASLocalizer
SRCx = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASResource.cpp
# source directories
vpath %.cpp ../../src
vpath %.h ../../src
# NOTE for java compiles the environment variable $JAVA_HOME must be set
# example: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00
ifndef JAVA_HOME
JAVA_HOME = /usr/lib/jvm/default-java
endif
# set prefix if not defined on the command line
ifndef prefix
prefix=/usr
endif
SYSCONF_PATH=$(prefix)/share/doc/astyle
# define macros
# CXX defaults to g++
bindir = bin
objdir = obj
ipath=$(prefix)/bin
CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++17
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
INSTALL=install -o $(USER) -g $(USER)
# Library's major version number -- Increment in case of incompatible API
# change.
MAJORVER = 3
# Library's minor version number -- Increment when functionality is added in a
# backward-compatible manner; reset to 0 when major number changes.
MINORVER = 2
# Library's patch version number -- Increment in case of backward-compatible
# bug fixes or refactoring; reset to 0 when minor number changes.
PATCHVER = 0
# Library's full version number.
SOLIBVER = $(MAJORVER).$(MINORVER).$(PATCHVER)
##################################################
# define compile options for each build
ifdef CFLAGS
CFLAGSr = -DNDEBUG $(CBASEFLAGS) $(CFLAGS)
CFLAGSd = -g $(CBASEFLAGS) $(CFLAGS)
else
CFLAGSr = -DNDEBUG -O3 $(CBASEFLAGS)
CFLAGSd = -g $(CBASEFLAGS)
endif
CFLAGSs = -DASTYLE_LIB -fPIC $(CFLAGSr)
CFLAGSsd = -DASTYLE_LIB -fPIC $(CFLAGSd)
CFLAGSa = -DASTYLE_LIB $(CFLAGSr)
CFLAGSad = -DASTYLE_LIB $(CFLAGSd)
CFLAGSsj = -DASTYLE_JNI -fPIC $(CFLAGSr) $(JAVAINCS)
CFLAGSsjd = -DASTYLE_JNI -fPIC $(CFLAGSd) $(JAVAINCS)
# define link options
ifdef LDFLAGS
LDFLAGSr = $(LDFLAGS)
LDFLAGSd = $(LDFLAGS)
else
LDFLAGSr = -s
LDFLAGSd =
endif
# object files are built from the source list $(SRC)
# a suffix is added for each build
OBJ = $(patsubst %.cpp,$(objdir)/%.o,$(SRC))
OBJd = $(patsubst %.cpp,$(objdir)/%_d.o,$(SRC))
OBJs = $(patsubst %.cpp,$(objdir)/%_s.o,$(SRCx))
OBJsd = $(patsubst %.cpp,$(objdir)/%_sd.o,$(SRCx))
OBJa = $(patsubst %.cpp,$(objdir)/%_a.o,$(SRCx))
OBJad = $(patsubst %.cpp,$(objdir)/%_ad.o,$(SRCx))
OBJsj = $(patsubst %.cpp,$(objdir)/%_sj.o,$(SRCx))
OBJsjd = $(patsubst %.cpp,$(objdir)/%_sjd.o,$(SRCx))
# define object file rule (with the suffix) for each build
# OBJ
$(objdir)/%.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSr) -c $< -o $@
# OBJd
$(objdir)/%_d.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSd) -c $< -o $@
# OBJs
$(objdir)/%_s.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSs) -c $< -o $@
# OBJsd
$(objdir)/%_sd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsd) -c $< -o $@
# OBJa
$(objdir)/%_a.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSa) -c $< -o $@
# OBJad
$(objdir)/%_ad.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSad) -c $< -o $@
# OBJsj
$(objdir)/%_sj.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsj) -c $< -o $@
# OBJsjd
$(objdir)/%_sjd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsjd) -c $< -o $@
##################################################
# define build dependencies for each command
release: astyle
astyle: $(OBJ)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSr) -o $(bindir)/$@ $^
@ echo
debug: astyled
astyled: $(OBJd)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSd) -o $(bindir)/$@ $^
@ echo
shared: libastyle.so
libastyle.so: $(OBJs)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastyle.so.$(MAJORVER) \
-o $(bindir)/libastyle.so.$(SOLIBVER) $^
@ln --symbolic --force libastyle.so.$(SOLIBVER) libastyle.so.$(MAJORVER)
@ln --symbolic --force libastyle.so.$(MAJORVER) libastyle.so
@mv libastyle.so* $(bindir)/
@ echo
shareddebug: libastyled.so
libastyled.so: $(OBJsd)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSd) -Wl,-soname,libastyled.so.$(MAJORVER) \
-o $(bindir)/libastyled.so.$(SOLIBVER) $^
@ln --symbolic --force libastyled.so.$(SOLIBVER) libastyled.so.$(MAJORVER)
@ln --symbolic --force libastyled.so.$(MAJORVER) libastyled.so
@mv libastyled.so* $(bindir)/
@ echo
static: libastyle.a
libastyle.a: $(OBJa)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
staticdebug: libastyled.a
libastyled.a: $(OBJad)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
java: libastylej.so
libastylej.so: $(OBJsj)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastylej.so.$(MAJORVER) \
-o $(bindir)/libastylej.so.$(SOLIBVER) $^
@ln --symbolic --force libastylej.so.$(SOLIBVER) libastylej.so.$(MAJORVER)
@ln --symbolic --force libastylej.so.$(MAJORVER) libastylej.so
@mv libastylej.so* $(bindir)/
@ echo
javadebug: libastylejd.so
libastylejd.so: $(OBJsjd)
@ mkdir -p $(bindir)
$(CXX) -shared $(LDFLAGSr) -Wl,-soname,libastylejd.so.$(MAJORVER) \
-o $(bindir)/libastylejd.so.$(SOLIBVER) $^
@ln --symbolic --force libastylejd.so.$(SOLIBVER) libastylejd.so.$(MAJORVER)
@ln --symbolic --force libastylejd.so.$(MAJORVER) libastylejd.so
@mv libastylejd.so* $(bindir)/
@ echo
all: release debug shared shareddebug static staticdebug
javaall: java javadebug
clean:
rm -f $(objdir)/*.o $(bindir)/*astyle*
cleanobj:
rm -f $(objdir)/*.o
install:
$(INSTALL) -m 755 -d $(ipath)
@$(INSTALL) -m 755 $(bindir)/astyle $(ipath)
@if [ -d $(SYSCONF_PATH)/html ]; then \
rm -rf $(SYSCONF_PATH)/html; \
fi
$(INSTALL) -m 755 -d $(SYSCONF_PATH)
@mkdir -p $(SYSCONF_PATH)/html;
@for files in astyle.html \
install.html \
news.html \
notes.html \
styles.css; \
do \
$(INSTALL) -m 644 ../../doc/$$files $(SYSCONF_PATH)/html; \
done
uninstall:
rm -f $(ipath)/astyle
rm -rf $(SYSCONF_PATH)
# copy release files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibs:
cp -fpP $(bindir)/astyle ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylej.so* ../../../AStyleDev/src-j/
# copy debug files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibsd:
cp -fpP $(bindir)/astyled ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylejd.so* ../../../AStyleDev/src-j/
+268
View File
@@ -0,0 +1,268 @@
# Make file for Intel compiler on Linux or compatible OS
# Before running "make" the COMPILER environment variables must be set.
# To set the environment variables "source" the compiler environment script:
# source /opt/intel/bin/compilervars.sh [ ia32 | intel64 ]
# Refer to the install instructions for details.
# If the environment variables are set, INTEL_LICENSE_FILE will be defined.
# NOTE: This does not work if 'sudo' is used, as in 'install' and 'uninstall'.
#ifndef INTEL_LICENSE_FILE
# $(error The compiler environment variables are not set)
#endif
# list of source files for astyle
SRC = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASLocalizer.cpp \
ASResource.cpp
# list of source files for libraries without ASLocalizer
SRCx = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASResource.cpp
# source directories
vpath %.cpp ../../src
vpath %.h ../../src
# NOTE for java compiles the environment variable $JAVA_HOME must be set
# example: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00
ifndef JAVA_HOME
JAVA_HOME = /usr/lib/jvm/default-java
endif
# set prefix if not defined on the command line
ifndef prefix
prefix=/usr
endif
SYSCONF_PATH=$(prefix)/share/doc/astyle
# define macros
# CXX defaults to g++
ifeq ($(CXX), g++)
CXX = icpc
endif
bindir = bin
objdir = obj
ipath=$(prefix)/bin
CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++17
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
INSTALL=install -o $(USER) -g $(USER)
# Library's major version number -- Increment in case of incompatible API
# change.
MAJORVER = 3
# Library's minor version number -- Increment when functionality is added in a
# backward-compatible manner; reset to 0 when major number changes.
MINORVER = 2
# Library's patch version number -- Increment in case of backward-compatible
# bug fixes or refactoring; reset to 0 when minor number changes.
PATCHVER = 0
# Library's full version number.
SOLIBVER = $(MAJORVER).$(MINORVER).$(PATCHVER)
##################################################
# define compile options for each build
# -wd option is to remove remarks for the release build
ifdef CFLAGS
CFLAGSr = -DNDEBUG $(CBASEFLAGS) -wd11074,11076 $(CFLAGS)
CFLAGSd = -g $(CBASEFLAGS) $(CFLAGS)
else
CFLAGSr = -DNDEBUG -O3 $(CBASEFLAGS) -wd11074,11076
CFLAGSd = -g $(CBASEFLAGS)
endif
CFLAGSs = -DASTYLE_LIB -fPIC $(CFLAGSr)
CFLAGSsd = -DASTYLE_LIB -fPIC $(CFLAGSd)
CFLAGSa = -DASTYLE_LIB $(CFLAGSr)
CFLAGSad = -DASTYLE_LIB $(CFLAGSd)
CFLAGSsj = -DASTYLE_JNI -fPIC $(CFLAGSr) $(JAVAINCS)
CFLAGSsjd = -DASTYLE_JNI -fPIC $(CFLAGSd) $(JAVAINCS)
# define link options
ifdef LDFLAGS
LDFLAGSr = $(LDFLAGS)
LDFLAGSd = $(LDFLAGS)
else
LDFLAGSr = -s
LDFLAGSd =
endif
# object files are built from the source list $(SRC)
# a suffix is added for each build
OBJ = $(patsubst %.cpp,$(objdir)/%.o,$(SRC))
OBJd = $(patsubst %.cpp,$(objdir)/%_d.o,$(SRC))
OBJs = $(patsubst %.cpp,$(objdir)/%_s.o,$(SRCx))
OBJsd = $(patsubst %.cpp,$(objdir)/%_sd.o,$(SRCx))
OBJa = $(patsubst %.cpp,$(objdir)/%_a.o,$(SRCx))
OBJad = $(patsubst %.cpp,$(objdir)/%_ad.o,$(SRCx))
OBJsj = $(patsubst %.cpp,$(objdir)/%_sj.o,$(SRCx))
OBJsjd = $(patsubst %.cpp,$(objdir)/%_sjd.o,$(SRCx))
# define object file rule (with the suffix) for each build
# OBJ
$(objdir)/%.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSr) -c $< -o $@
# OBJd
$(objdir)/%_d.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSd) -c $< -o $@
# OBJs
$(objdir)/%_s.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSs) -c $< -o $@
# OBJsd
$(objdir)/%_sd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsd) -c $< -o $@
# OBJa
$(objdir)/%_a.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSa) -c $< -o $@
# OBJad
$(objdir)/%_ad.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSad) -c $< -o $@
# OBJsj
$(objdir)/%_sj.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsj) -c $< -o $@
# OBJsjd
$(objdir)/%_sjd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsjd) -c $< -o $@
##################################################
# define build dependencies for each command
release: astyle
astyle: $(OBJ)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSr) -o $(bindir)/$@ $^
@ echo
debug: astyled
astyled: $(OBJd)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSd) -o $(bindir)/$@ $^
@ echo
shared: libastyle.so
libastyle.so: $(OBJs)
@ mkdir -p $(bindir)
$(CXX) -shared -static-intel $(LDFLAGSr) -Wl,-soname,libastyle.so.$(MAJORVER) \
-o $(bindir)/libastyle.so.$(SOLIBVER) $^
@ln --symbolic --force libastyle.so.$(SOLIBVER) libastyle.so.$(MAJORVER)
@ln --symbolic --force libastyle.so.$(MAJORVER) libastyle.so
@mv libastyle.so* $(bindir)/
@ echo
shareddebug: libastyled.so
libastyled.so: $(OBJsd)
@ mkdir -p $(bindir)
$(CXX) -shared -static-intel $(LDFLAGSd) -Wl,-soname,libastyled.so.$(MAJORVER) \
-o $(bindir)/libastyled.so.$(SOLIBVER) $^
@ln --symbolic --force libastyled.so.$(SOLIBVER) libastyled.so.$(MAJORVER)
@ln --symbolic --force libastyled.so.$(MAJORVER) libastyled.so
@mv libastyled.so* $(bindir)/
@ echo
static: libastyle.a
libastyle.a: $(OBJa)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
staticdebug: libastyled.a
libastyled.a: $(OBJad)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
java: libastylej.so
libastylej.so: $(OBJsj)
@ mkdir -p $(bindir)
$(CXX) -shared -static-intel $(LDFLAGSr) -Wl,-soname,libastylej.so.$(MAJORVER) \
-o $(bindir)/libastylej.so.$(SOLIBVER) $^
@ln --symbolic --force libastylej.so.$(SOLIBVER) libastylej.so.$(MAJORVER)
@ln --symbolic --force libastylej.so.$(MAJORVER) libastylej.so
@mv libastylej.so* $(bindir)/
@ echo
javadebug: libastylejd.so
libastylejd.so: $(OBJsjd)
@ mkdir -p $(bindir)
$(CXX) -shared -static-intel $(LDFLAGSr) -Wl,-soname,libastylejd.so.$(MAJORVER) \
-o $(bindir)/libastylejd.so.$(SOLIBVER) $^
@ln --symbolic --force libastylejd.so.$(SOLIBVER) libastylejd.so.$(MAJORVER)
@ln --symbolic --force libastylejd.so.$(MAJORVER) libastylejd.so
@mv libastylejd.so* $(bindir)/
@ echo
all: release debug shared shareddebug static staticdebug
javaall: java javadebug
clean:
rm -f $(objdir)/*.o $(bindir)/*astyle*
cleanobj:
rm -f $(objdir)/*.o
install:
$(INSTALL) -m 755 -d $(ipath)
@$(INSTALL) -m 755 $(bindir)/astyle $(ipath)
@if [ -d $(SYSCONF_PATH)/html ]; then \
rm -rf $(SYSCONF_PATH)/html; \
fi
$(INSTALL) -m 755 -d $(SYSCONF_PATH)
@mkdir -p $(SYSCONF_PATH)/html;
@for files in astyle.html \
install.html \
news.html \
notes.html \
styles.css; \
do \
$(INSTALL) -m 644 ../../doc/$$files $(SYSCONF_PATH)/html; \
done
uninstall:
rm -f $(ipath)/astyle
rm -rf $(SYSCONF_PATH)
# copy release files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibs:
cp -fpP $(bindir)/astyle ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyle.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylej.so* ../../../AStyleDev/src-j/
# copy debug files to AStyleDev for testing
# --force, --preserve, --no-dereference (retain links)
testlibsd:
cp -fpP $(bindir)/astyled ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-c/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-o/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-p/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s/
cp -fpP $(bindir)/libastyled.so* ../../../AStyleDev/src-s2/
cp -fpP $(bindir)/libastylejd.so* ../../../AStyleDev/src-j/
+222
View File
@@ -0,0 +1,222 @@
# Make file for Clang compiler on macOS.
# to test on Linux use "make linux=1"
# list of source files for astyle
SRC = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASLocalizer.cpp \
ASResource.cpp
# list of source files for libraries without ASLocalizer
SRCx = astyle_main.cpp \
ASBeautifier.cpp \
ASFormatter.cpp \
ASEnhancer.cpp \
ASResource.cpp
# source directories
vpath %.cpp ../../src
vpath %.h ../../src
# NOTE for java compiles the environment variable $JAVA_HOME must be set
# example: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00
ifndef JAVA_HOME
JAVA_HOME = /usr/lib/jvm/default-java
endif
# set prefix if not defined on the command line
ifndef prefix
prefix=/usr/local
endif
SYSCONF_PATH=$(prefix)/share/doc/astyle
# define macros
dylib = dylib
dynamiclib = -dynamiclib
bindir = bin
objdir = obj
ipath=$(prefix)/bin
CBASEFLAGS = -W -Wall -std=c++17 -stdlib=libc++ -fno-rtti -fno-exceptions \
-mmacosx-version-min=10.9
LDBASEFLAGS =
JAVAINCS = -I/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include \
-I/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include/darwin \
-I/System/Library/Frameworks/JavaVM.framework/Headers
CXX = clang++
INSTALL=install -o $(USER) -g wheel
# INSTALL=install -o 0 -g 0
# for testing on linux
ifdef linux
dylib = so
dynamiclib = -shared
CXX = g++
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
endif
##################################################
# define compile options for each build
ifdef CFLAGS
CFLAGSr = -DNDEBUG $(CBASEFLAGS) $(CFLAGS)
CFLAGSd = -g $(CBASEFLAGS) $(CFLAGS)
else
CFLAGSr = -DNDEBUG -O3 $(CBASEFLAGS)
CFLAGSd = -g $(CBASEFLAGS)
endif
CFLAGSs = -DASTYLE_LIB -fPIC $(CFLAGSr)
CFLAGSsd = -DASTYLE_LIB -fPIC $(CFLAGSd)
CFLAGSa = -DASTYLE_LIB $(CFLAGSr)
CFLAGSad = -DASTYLE_LIB $(CFLAGSd)
CFLAGSsj = -DASTYLE_JNI -fPIC $(CFLAGSr) $(JAVAINCS)
CFLAGSsjd = -DASTYLE_JNI -fPIC $(CFLAGSd) $(JAVAINCS)
# define link options
ifdef LDFLAGS
LDFLAGSr = $(LDBASEFLAGS) $(LDFLAGS)
LDFLAGSd = $(LDBASEFLAGS) $(LDFLAGS)
else
LDFLAGSr = $(LDBASEFLAGS)
LDFLAGSd = $(LDBASEFLAGS)
endif
# object files are built from the source list $(SRC)
# a suffix is added for each build
OBJ = $(patsubst %.cpp,$(objdir)/%.o,$(SRC))
OBJd = $(patsubst %.cpp,$(objdir)/%_d.o,$(SRC))
OBJs = $(patsubst %.cpp,$(objdir)/%_s.o,$(SRCx))
OBJsd = $(patsubst %.cpp,$(objdir)/%_sd.o,$(SRCx))
OBJa = $(patsubst %.cpp,$(objdir)/%_a.o,$(SRCx))
OBJad = $(patsubst %.cpp,$(objdir)/%_ad.o,$(SRCx))
OBJsj = $(patsubst %.cpp,$(objdir)/%_sj.o,$(SRCx))
OBJsjd = $(patsubst %.cpp,$(objdir)/%_sjd.o,$(SRCx))
# define object file rule (with the suffix) for each build
# OBJ
$(objdir)/%.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSr) -c $< -o $@
# OBJd
$(objdir)/%_d.o: %.cpp astyle.h astyle_main.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSd) -c $< -o $@
# OBJs
$(objdir)/%_s.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSs) -c $< -o $@
# OBJsd
$(objdir)/%_sd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsd) -c $< -o $@
# OBJa
$(objdir)/%_a.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSa) -c $< -o $@
# OBJad
$(objdir)/%_ad.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSad) -c $< -o $@
# OBJsj
$(objdir)/%_sj.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsj) -c $< -o $@
# OBJsjd
$(objdir)/%_sjd.o: %.cpp astyle.h
@ mkdir -p $(objdir)
$(CXX) $(CFLAGSsjd) -c $< -o $@
##################################################
# define build dependencies for each command
release: astyle
astyle: $(OBJ)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSr) -dead_strip -o $(bindir)/AStyle $^
strip $(bindir)/AStyle
@ echo
debug: astyled
astyled: $(OBJd)
@ mkdir -p $(bindir)
$(CXX) $(LDFLAGSd) -o $(bindir)/AStyled $^
@ echo
shared: libastyle.$(dylib)
libastyle.$(dylib): $(OBJs)
@ mkdir -p $(bindir)
$(CXX) $(dynamiclib) $(LDFLAGSr) -o $(bindir)/libastyle32.$(dylib) $^
@ echo
shareddebug: libastyled.$(dylib)
libastyled.$(dylib): $(OBJsd)
@ mkdir -p $(bindir)
$(CXX) $(dynamiclib) $(LDFLAGSd) -o $(bindir)/libastyle32d.$(dylib) $^
@ echo
static: libastyle.a
libastyle.a: $(OBJa)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
staticdebug: libastyled.a
libastyled.a: $(OBJad)
@ mkdir -p $(bindir)
ar crs $(bindir)/$@ $^
@ echo
java: libastylej.$(dylib)
libastylej.$(dylib): $(OBJsj)
@ mkdir -p $(bindir)
$(CXX) $(dynamiclib) $(LDFLAGSr) -o $(bindir)/libastyle32j.$(dylib) $^
@ echo
javadebug: libastylejd.$(dylib)
libastylejd.$(dylib): $(OBJsjd)
@ mkdir -p $(bindir)
$(CXX) $(dynamiclib) $(LDFLAGSd) -o $(bindir)/libastyle32jd.$(dylib) $^
@ echo
all: release debug shared shareddebug static staticdebug
javaall: java javadebug
clean:
rm -f $(objdir)/*.o $(bindir)/*astyle*
cleanobj:
rm -f $(objdir)/*.o
install:
$(INSTALL) -m 755 -d $(ipath)
@$(INSTALL) -m 755 $(bindir)/astyle $(ipath)
@if [ -d $(SYSCONF_PATH)/html ]; then \
rm -rf $(SYSCONF_PATH)/html; \
fi
$(INSTALL) -m 755 -d $(SYSCONF_PATH)
@mkdir -p $(SYSCONF_PATH)/html;
@for files in astyle.html \
install.html \
news.html \
notes.html \
styles.css; \
do \
$(INSTALL) -m 644 "../../doc/$$files" $(SYSCONF_PATH)/html; \
done
uninstall:
rm -f $(ipath)/astyle
rm -rf $(SYSCONF_PATH)
+31
View File
@@ -0,0 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28531.58
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleDoc", "AStyleDoc\AStyleDoc.vcxproj", "{691E5300-3918-4BBD-BD58-0AC079A33942}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{691E5300-3918-4BBD-BD58-0AC079A33942}.Debug|x64.ActiveCfg = Debug|x64
{691E5300-3918-4BBD-BD58-0AC079A33942}.Debug|x64.Build.0 = Debug|x64
{691E5300-3918-4BBD-BD58-0AC079A33942}.Debug|x86.ActiveCfg = Debug|Win32
{691E5300-3918-4BBD-BD58-0AC079A33942}.Debug|x86.Build.0 = Debug|Win32
{691E5300-3918-4BBD-BD58-0AC079A33942}.Release|x64.ActiveCfg = Release|x64
{691E5300-3918-4BBD-BD58-0AC079A33942}.Release|x64.Build.0 = Release|x64
{691E5300-3918-4BBD-BD58-0AC079A33942}.Release|x86.ActiveCfg = Release|Win32
{691E5300-3918-4BBD-BD58-0AC079A33942}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BDC19013-4500-46BC-815E-61BDFE4B90DC}
EndGlobalSection
EndGlobal
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{691E5300-3918-4BBD-BD58-0AC079A33942}</ProjectGuid>
<RootNamespace>AStyleDoc</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="..\..\..\doc\astyle.html" />
<None Include="..\..\..\doc\index.html" />
<None Include="..\..\..\doc\install.html" />
<None Include="..\..\..\doc\links.html" />
<None Include="..\..\..\doc\news.html" />
<None Include="..\..\..\doc\newsArchives.html" />
<None Include="..\..\..\doc\notes.html" />
<None Include="..\..\..\doc\notesArchives.html" />
<None Include="..\..\..\doc\scripts.html" />
<None Include="..\..\..\doc\styles.css" />
<None Include="..\..\..\doc\subversion.html" />
<None Include="..\..\..\doc\vsinstall.html" />
<None Include="..\..\..\doc\xtra.html" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Html Files">
<UniqueIdentifier>{b1fa9200-07ec-4101-b482-0d6a13f234d4}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\doc\astyle.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\index.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\install.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\links.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\news.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\newsArchives.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\notes.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\notesArchives.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\scripts.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\styles.css">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\subversion.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\vsinstall.html">
<Filter>Html Files</Filter>
</None>
<None Include="..\..\..\doc\xtra.html">
<Filter>Html Files</Filter>
</None>
</ItemGroup>
</Project>
+31
View File
@@ -0,0 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x64.ActiveCfg = Debug|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x64.Build.0 = Debug|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x86.ActiveCfg = Debug|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x86.Build.0 = Debug|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x64.ActiveCfg = Release|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x64.Build.0 = Release|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x86.ActiveCfg = Release|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D8D73164-CB7F-409C-ADFA-0372BD48E614}
EndGlobalSection
EndGlobal
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{66877a4a-a26e-42f9-b45a-324bcca3d9b0}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>AStyle_WSL</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{2238F9CD-F817-4ECC-BD14-2524D2669B35}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>astyle</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>astyled</TargetName>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASLocalizer.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h" />
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>None</DebugInformationFormat>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASLocalizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{7e5e2995-964c-4257-b6c9-3046fcb76d23}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{5a8ca82a-e286-42ed-8419-023af199799b}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
+31
View File
@@ -0,0 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleA", "AStyleA\AStyleA.vcxproj", "{D482C836-918E-46C9-8579-7E0FB934E94C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x64.ActiveCfg = Debug|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x64.Build.0 = Debug|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x86.ActiveCfg = Debug|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x86.Build.0 = Debug|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x64.ActiveCfg = Release|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x64.Build.0 = Release|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x86.ActiveCfg = Release|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EE9DE0B5-2D17-4946-858D-C42F43C92EC4}
EndGlobalSection
EndGlobal
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{d482c836-918e-46c9-8579-7e0fb934e94c}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>AStyleA_WSL</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{2238F9CD-F817-4ECC-BD14-2524D2669B35}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<ConfigurationType>StaticLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<ConfigurationType>StaticLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>libastyled</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>libastyle</TargetName>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PreprocessorDefinitions>ASTYLE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>ASTYLE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>None</DebugInformationFormat>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{72054bdc-4855-45b7-b76c-18a166f46a60}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{0cd0679f-c702-4eae-bbb0-617d028779e8}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
@@ -0,0 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleJava", "AStyleJava\AStyleJava.vcxproj", "{3C4F87E2-74C0-4B92-B919-A377FD99212D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x64.ActiveCfg = Debug|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x64.Build.0 = Debug|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x86.ActiveCfg = Debug|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x86.Build.0 = Debug|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x64.ActiveCfg = Release|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x64.Build.0 = Release|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x86.ActiveCfg = Release|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6AD6505A-09A8-4343-A9F0-FA1A7E469554}
EndGlobalSection
EndGlobal
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{3c4f87e2-74c0-4b92-b919-a377fd99212d}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>AStyleJava_WSL</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{2238F9CD-F817-4ECC-BD14-2524D2669B35}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>libastylejd</TargetName>
<TargetExt>.so</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>libastylej</TargetName>
<TargetExt>.so</TargetExt>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PreprocessorDefinitions>ASTYLE_JNI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PositionIndependentCode>true</PositionIndependentCode>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<AdditionalIncludeDirectories>/usr/lib/jvm/default-java/include;/usr/lib/jvm/default-java/include/linux;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>ASTYLE_JNI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PositionIndependentCode>true</PositionIndependentCode>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<AdditionalIncludeDirectories>/usr/lib/jvm/default-java/include;/usr/lib/jvm/default-java/include/linux;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat>None</DebugInformationFormat>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{4315d50e-9580-4ab0-a639-4cd3d53ae526}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{e877f8ba-db30-4ba9-9e89-4bdcdadebde1}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
+31
View File
@@ -0,0 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleSo", "AStyleSo\AStyleSo.vcxproj", "{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x64.ActiveCfg = Debug|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x64.Build.0 = Debug|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x86.ActiveCfg = Debug|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x86.Build.0 = Debug|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x64.ActiveCfg = Release|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x64.Build.0 = Release|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x86.ActiveCfg = Release|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {08F18ACF-D866-44DE-A3A5-1A3CBC0EA964}
EndGlobalSection
EndGlobal
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2f7e0ee2-6626-4e5d-a1a9-17ead8ac1ee1}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>AStyleSo_WSL</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{D51BCBC9-82E9-4017-911E-C93873C4EA2B}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<RemoteRootDir>~/Projects</RemoteRootDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>libastyled</TargetName>
<TargetExt>.so</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>libastyle</TargetName>
<TargetExt>.so</TargetExt>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PositionIndependentCode>true</PositionIndependentCode>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<PreprocessorDefinitions>ASTYLE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PositionIndependentCode>true</PositionIndependentCode>
<ExceptionHandling>Disabled</ExceptionHandling>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<PreprocessorDefinitions>ASTYLE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>None</DebugInformationFormat>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{69c99a13-693b-4f27-b509-13002eb566f9}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{2f4f0b88-bc07-4a4e-844a-c457d793ea20}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
@@ -0,0 +1,61 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleA", "AStyleA\AStyleA.vcxproj", "{D482C836-918E-46C9-8579-7E0FB934E94C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleJava", "AStyleJava\AStyleJava.vcxproj", "{3C4F87E2-74C0-4B92-B919-A377FD99212D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyleSo", "AStyleSo\AStyleSo.vcxproj", "{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x64.ActiveCfg = Debug|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x64.Build.0 = Debug|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x86.ActiveCfg = Debug|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Debug|x86.Build.0 = Debug|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x64.ActiveCfg = Release|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x64.Build.0 = Release|x64
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x86.ActiveCfg = Release|x86
{66877A4A-A26E-42F9-B45A-324BCCA3D9B0}.Release|x86.Build.0 = Release|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x64.ActiveCfg = Debug|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x64.Build.0 = Debug|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x86.ActiveCfg = Debug|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Debug|x86.Build.0 = Debug|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x64.ActiveCfg = Release|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x64.Build.0 = Release|x64
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x86.ActiveCfg = Release|x86
{D482C836-918E-46C9-8579-7E0FB934E94C}.Release|x86.Build.0 = Release|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x64.ActiveCfg = Debug|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x64.Build.0 = Debug|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x86.ActiveCfg = Debug|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Debug|x86.Build.0 = Debug|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x64.ActiveCfg = Release|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x64.Build.0 = Release|x64
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x86.ActiveCfg = Release|x86
{3C4F87E2-74C0-4B92-B919-A377FD99212D}.Release|x86.Build.0 = Release|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x64.ActiveCfg = Debug|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x64.Build.0 = Debug|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x86.ActiveCfg = Debug|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Debug|x86.Build.0 = Debug|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x64.ActiveCfg = Release|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x64.Build.0 = Release|x64
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x86.ActiveCfg = Release|x86
{2F7E0EE2-6626-4E5D-A1A9-17EAD8AC1EE1}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5E7FBDA9-F1DC-4B54-84A5-F4D9B2E20045}
EndGlobalSection
EndGlobal
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.ActiveCfg = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.Build.0 = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x86.ActiveCfg = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x86.Build.0 = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.ActiveCfg = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.Build.0 = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x86.ActiveCfg = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x86.Build.0 = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.ActiveCfg = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.Build.0 = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x86.ActiveCfg = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleDll</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{08A9EBC2-F740-4017-9D8B-44028E9E04D8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.ActiveCfg = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.Build.0 = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x86.ActiveCfg = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x86.Build.0 = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.ActiveCfg = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.Build.0 = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x86.ActiveCfg = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x86.Build.0 = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.ActiveCfg = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.Build.0 = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x86.ActiveCfg = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{08A9EBC2-F740-4017-9D8B-44028E9E04D8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleJava</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI;_USING_V110_SDK71_</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.ActiveCfg = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.Build.0 = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x86.ActiveCfg = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x86.Build.0 = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.ActiveCfg = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.Build.0 = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x86.ActiveCfg = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x86.Build.0 = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.ActiveCfg = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.Build.0 = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x86.ActiveCfg = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,265 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleLib</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{2DEFF06F-4D13-4AC6-B733-1E717779BD55}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.ActiveCfg = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.Build.0 = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x86.ActiveCfg = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x86.Build.0 = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.ActiveCfg = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.Build.0 = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x86.ActiveCfg = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x86.Build.0 = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.ActiveCfg = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.Build.0 = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x86.ActiveCfg = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,277 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2DEFF06F-4D13-4AC6-B733-1E717779BD55}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyle</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyled</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyled</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG;_USING_V110_SDK71_</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;_USING_V110_SDK71_</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;_USING_V110_SDK71_</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x86</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;_USING_V110_SDK71_</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;_USING_V110_SDK71_</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<AdditionalIncludeDirectories>$(UniversalCRTSdkDir)Include\10.0.10240.0\ucrt</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(UniversalCRTSdkDir)lib\10.0.10240.0\ucrt\x64</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASLocalizer.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h" />
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASLocalizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+76
View File
@@ -0,0 +1,76 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{2DEFF06F-4D13-4AC6-B733-1E717779BD55}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{08A9EBC2-F740-4017-9D8B-44028E9E04D8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Static|Win32 = Static|Win32
Static|x64 = Static|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|Win32.ActiveCfg = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|Win32.Build.0 = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.ActiveCfg = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.Build.0 = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|Win32.ActiveCfg = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|Win32.Build.0 = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.ActiveCfg = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.Build.0 = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|Win32.ActiveCfg = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|Win32.Build.0 = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.ActiveCfg = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.Build.0 = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|Win32.ActiveCfg = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|Win32.Build.0 = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.ActiveCfg = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.Build.0 = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|Win32.ActiveCfg = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|Win32.Build.0 = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.ActiveCfg = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.Build.0 = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|Win32.ActiveCfg = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|Win32.Build.0 = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.ActiveCfg = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.Build.0 = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|Win32.ActiveCfg = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|Win32.Build.0 = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.ActiveCfg = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.Build.0 = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|Win32.ActiveCfg = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|Win32.Build.0 = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.ActiveCfg = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.Build.0 = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|Win32.ActiveCfg = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|Win32.Build.0 = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.ActiveCfg = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.Build.0 = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|Win32.ActiveCfg = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|Win32.Build.0 = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.ActiveCfg = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.Build.0 = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|Win32.ActiveCfg = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|Win32.Build.0 = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.ActiveCfg = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.Build.0 = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|Win32.ActiveCfg = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|Win32.Build.0 = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.ActiveCfg = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.Build.0 = Static|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.ActiveCfg = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.Build.0 = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x86.ActiveCfg = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x86.Build.0 = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.ActiveCfg = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.Build.0 = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x86.ActiveCfg = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x86.Build.0 = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.ActiveCfg = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.Build.0 = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x86.ActiveCfg = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,272 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleDll</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{08A9EBC2-F740-4017-9D8B-44028E9E04D8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.ActiveCfg = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.Build.0 = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x86.ActiveCfg = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x86.Build.0 = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.ActiveCfg = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.Build.0 = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x86.ActiveCfg = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x86.Build.0 = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.ActiveCfg = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.Build.0 = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x86.ActiveCfg = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,278 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{08A9EBC2-F740-4017-9D8B-44028E9E04D8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleJava</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.ActiveCfg = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.Build.0 = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x86.ActiveCfg = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x86.Build.0 = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.ActiveCfg = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.Build.0 = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x86.ActiveCfg = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x86.Build.0 = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.ActiveCfg = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.Build.0 = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x86.ActiveCfg = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,259 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleLib</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+34
View File
@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{2DEFF06F-4D13-4AC6-B733-1E717779BD55}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.ActiveCfg = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.Build.0 = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x86.ActiveCfg = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x86.Build.0 = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.ActiveCfg = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.Build.0 = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x86.ActiveCfg = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x86.Build.0 = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.ActiveCfg = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.Build.0 = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x86.ActiveCfg = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+284
View File
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2DEFF06F-4D13-4AC6-B733-1E717779BD55}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyle</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASLocalizer.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h" />
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASLocalizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+76
View File
@@ -0,0 +1,76 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{2DEFF06F-4D13-4AC6-B733-1E717779BD55}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{08A9EBC2-F740-4017-9D8B-44028E9E04D8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Static|Win32 = Static|Win32
Static|x64 = Static|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|Win32.ActiveCfg = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|Win32.Build.0 = Debug|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.ActiveCfg = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Debug|x64.Build.0 = Debug|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|Win32.ActiveCfg = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|Win32.Build.0 = Release|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.ActiveCfg = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Release|x64.Build.0 = Release|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|Win32.ActiveCfg = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|Win32.Build.0 = Static|Win32
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.ActiveCfg = Static|x64
{2DEFF06F-4D13-4AC6-B733-1E717779BD55}.Static|x64.Build.0 = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|Win32.ActiveCfg = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|Win32.Build.0 = Debug|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.ActiveCfg = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Debug|x64.Build.0 = Debug|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|Win32.ActiveCfg = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|Win32.Build.0 = Release|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.ActiveCfg = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Release|x64.Build.0 = Release|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|Win32.ActiveCfg = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|Win32.Build.0 = Static|Win32
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.ActiveCfg = Static|x64
{8ECC1E60-2E56-4ACD-96D0-D7F7B11BCEBF}.Static|x64.Build.0 = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|Win32.ActiveCfg = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|Win32.Build.0 = Debug|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.ActiveCfg = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Debug|x64.Build.0 = Debug|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|Win32.ActiveCfg = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|Win32.Build.0 = Release|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.ActiveCfg = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Release|x64.Build.0 = Release|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|Win32.ActiveCfg = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|Win32.Build.0 = Static|Win32
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.ActiveCfg = Static|x64
{08A9EBC2-F740-4017-9D8B-44028E9E04D8}.Static|x64.Build.0 = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|Win32.ActiveCfg = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|Win32.Build.0 = Debug|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.ActiveCfg = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Debug|x64.Build.0 = Debug|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|Win32.ActiveCfg = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|Win32.Build.0 = Release|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.ActiveCfg = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Release|x64.Build.0 = Release|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|Win32.ActiveCfg = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|Win32.Build.0 = Static|Win32
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.ActiveCfg = Static|x64
{3D040C2E-4F0C-4A79-B33D-8336C1ADA037}.Static|x64.Build.0 = Static|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{24189F85-8CB6-4993-8530-855BD6C8B70A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.ActiveCfg = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.Build.0 = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.ActiveCfg = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.Build.0 = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.ActiveCfg = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.Build.0 = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.ActiveCfg = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.Build.0 = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.ActiveCfg = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.Build.0 = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.ActiveCfg = Static|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C49A012F-6AB6-4660-B927-2AAF54D082AA}
EndGlobalSection
EndGlobal
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{07229666-1841-4021-B206-1A8917985A66}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.ActiveCfg = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.Build.0 = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.ActiveCfg = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.Build.0 = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.ActiveCfg = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.Build.0 = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.ActiveCfg = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.Build.0 = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.ActiveCfg = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.Build.0 = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.ActiveCfg = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {71D57643-84DD-4750-89C3-6369BEA22324}
EndGlobalSection
EndGlobal
@@ -0,0 +1,279 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{07229666-1841-4021-B206-1A8917985A66}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleDll</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.ActiveCfg = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.Build.0 = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.ActiveCfg = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.Build.0 = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.ActiveCfg = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.Build.0 = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.ActiveCfg = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.Build.0 = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.ActiveCfg = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.Build.0 = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.ActiveCfg = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A4619C60-3409-478F-B944-70443175BDEB}
EndGlobalSection
EndGlobal
@@ -0,0 +1,285 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleJava</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.ActiveCfg = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.Build.0 = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.ActiveCfg = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.Build.0 = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.ActiveCfg = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.Build.0 = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.ActiveCfg = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.Build.0 = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.ActiveCfg = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.Build.0 = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.ActiveCfg = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9A55493F-97EF-4723-B937-B41EBB84F52B}
EndGlobalSection
EndGlobal
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleLib</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+285
View File
@@ -0,0 +1,285 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{24189F85-8CB6-4993-8530-855BD6C8B70A}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyle</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASLocalizer.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h" />
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASLocalizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+79
View File
@@ -0,0 +1,79 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{24189F85-8CB6-4993-8530-855BD6C8B70A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{07229666-1841-4021-B206-1A8917985A66}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.ActiveCfg = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.Build.0 = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.ActiveCfg = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.Build.0 = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.ActiveCfg = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.Build.0 = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.ActiveCfg = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.Build.0 = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.ActiveCfg = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.Build.0 = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.ActiveCfg = Static|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.Build.0 = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.ActiveCfg = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.Build.0 = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.ActiveCfg = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.Build.0 = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.ActiveCfg = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.Build.0 = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.ActiveCfg = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.Build.0 = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.ActiveCfg = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.Build.0 = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.ActiveCfg = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.Build.0 = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.ActiveCfg = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.Build.0 = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.ActiveCfg = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.Build.0 = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.ActiveCfg = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.Build.0 = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.ActiveCfg = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.Build.0 = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.ActiveCfg = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.Build.0 = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.ActiveCfg = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.Build.0 = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.ActiveCfg = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.Build.0 = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.ActiveCfg = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.Build.0 = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.ActiveCfg = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.Build.0 = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.ActiveCfg = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.Build.0 = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.ActiveCfg = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.Build.0 = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.ActiveCfg = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {33934F68-90BE-4D0F-B5D0-5EEF8F43412D}
EndGlobalSection
EndGlobal
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{24189F85-8CB6-4993-8530-855BD6C8B70A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.ActiveCfg = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.Build.0 = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.ActiveCfg = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.Build.0 = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.ActiveCfg = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.Build.0 = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.ActiveCfg = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.Build.0 = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.ActiveCfg = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.Build.0 = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.ActiveCfg = Static|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C49A012F-6AB6-4660-B927-2AAF54D082AA}
EndGlobalSection
EndGlobal
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{07229666-1841-4021-B206-1A8917985A66}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.ActiveCfg = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.Build.0 = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.ActiveCfg = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.Build.0 = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.ActiveCfg = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.Build.0 = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.ActiveCfg = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.Build.0 = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.ActiveCfg = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.Build.0 = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.ActiveCfg = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {71D57643-84DD-4750-89C3-6369BEA22324}
EndGlobalSection
EndGlobal
@@ -0,0 +1,282 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{07229666-1841-4021-B206-1A8917985A66}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleDll</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.ActiveCfg = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.Build.0 = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.ActiveCfg = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.Build.0 = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.ActiveCfg = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.Build.0 = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.ActiveCfg = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.Build.0 = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.ActiveCfg = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.Build.0 = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.ActiveCfg = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A4619C60-3409-478F-B944-70443175BDEB}
EndGlobalSection
EndGlobal
@@ -0,0 +1,287 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleJava</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyle32jd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle32j</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>/EXPORT:AStyleMain=_AStyleMain@16
/EXPORT:AStyleMainUtf16=_AStyleMainUtf16@16
/EXPORT:AStyleGetVersion=_AStyleGetVersion@0 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_JNI</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32</AdditionalIncludeDirectories>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>No</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+37
View File
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.ActiveCfg = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.Build.0 = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.ActiveCfg = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.Build.0 = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.ActiveCfg = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.Build.0 = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.ActiveCfg = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.Build.0 = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.ActiveCfg = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.Build.0 = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.ActiveCfg = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9A55493F-97EF-4723-B937-B41EBB84F52B}
EndGlobalSection
EndGlobal
@@ -0,0 +1,269 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyleLib</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyleLibd</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyleLib</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0;ASTYLE_LIB;ASTYLE_NO_EXPORT</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
+289
View File
@@ -0,0 +1,289 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{24189F85-8CB6-4993-8530-855BD6C8B70A}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>AStyle</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\debug\</OutDir>
<TargetName>AStyled</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<TargetName>astyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\bin\</OutDir>
<TargetName>astyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Platform)\binstatic\</OutDir>
<TargetName>AStyle</TargetName>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableCppCoreCheck>true</EnableCppCoreCheck>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/utf-8</AdditionalOptions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<EnablePREfast>false</EnablePREfast>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_HAS_EXCEPTIONS=0</PreprocessorDefinitions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/utf-8</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp" />
<ClCompile Include="..\..\..\src\ASEnhancer.cpp" />
<ClCompile Include="..\..\..\src\ASFormatter.cpp" />
<ClCompile Include="..\..\..\src\ASLocalizer.cpp" />
<ClCompile Include="..\..\..\src\ASResource.cpp" />
<ClCompile Include="..\..\..\src\astyle_main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h" />
<ClInclude Include="..\..\..\src\astyle.h" />
<ClInclude Include="..\..\..\src\astyle_main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\ASBeautifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASEnhancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASLocalizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\ASResource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\astyle_main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\ASLocalizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\astyle_main.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
+79
View File
@@ -0,0 +1,79 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28516.95
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle", "AStyle\AStyle.vcxproj", "{24189F85-8CB6-4993-8530-855BD6C8B70A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Dll", "AStyle Dll\AStyle Dll.vcxproj", "{07229666-1841-4021-B206-1A8917985A66}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Java", "AStyle Java\AStyle Java.vcxproj", "{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AStyle Lib", "AStyle Lib\AStyle Lib.vcxproj", "{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Static|x64 = Static|x64
Static|x86 = Static|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.ActiveCfg = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x64.Build.0 = Debug|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.ActiveCfg = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Debug|x86.Build.0 = Debug|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.ActiveCfg = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x64.Build.0 = Release|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.ActiveCfg = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Release|x86.Build.0 = Release|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.ActiveCfg = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x64.Build.0 = Static|x64
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.ActiveCfg = Static|Win32
{24189F85-8CB6-4993-8530-855BD6C8B70A}.Static|x86.Build.0 = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.ActiveCfg = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x64.Build.0 = Debug|x64
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.ActiveCfg = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Debug|x86.Build.0 = Debug|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.ActiveCfg = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x64.Build.0 = Release|x64
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.ActiveCfg = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Release|x86.Build.0 = Release|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.ActiveCfg = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x64.Build.0 = Static|x64
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.ActiveCfg = Static|Win32
{07229666-1841-4021-B206-1A8917985A66}.Static|x86.Build.0 = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.ActiveCfg = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x64.Build.0 = Debug|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.ActiveCfg = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Debug|x86.Build.0 = Debug|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.ActiveCfg = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x64.Build.0 = Release|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.ActiveCfg = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Release|x86.Build.0 = Release|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.ActiveCfg = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x64.Build.0 = Static|x64
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.ActiveCfg = Static|Win32
{4EDD4F9E-2088-4FE1-BDED-9357F05305CB}.Static|x86.Build.0 = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.ActiveCfg = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x64.Build.0 = Debug|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.ActiveCfg = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Debug|x86.Build.0 = Debug|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.ActiveCfg = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x64.Build.0 = Release|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.ActiveCfg = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Release|x86.Build.0 = Release|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.ActiveCfg = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x64.Build.0 = Static|x64
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.ActiveCfg = Static|Win32
{5CBCE435-6123-4FFA-A5C7-B91EA0FAE44E}.Static|x86.Build.0 = Static|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {33934F68-90BE-4D0F-B5D0-5EEF8F43412D}
EndGlobalSection
EndGlobal
@@ -0,0 +1,306 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
BFAB845D188B216E00DFE955 /* ASBeautifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8454188B216E00DFE955 /* ASBeautifier.cpp */; };
BFAB845E188B216E00DFE955 /* ASEnhancer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8455188B216E00DFE955 /* ASEnhancer.cpp */; };
BFAB845F188B216E00DFE955 /* ASFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8456188B216E00DFE955 /* ASFormatter.cpp */; };
BFAB8460188B216E00DFE955 /* ASLocalizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8457188B216E00DFE955 /* ASLocalizer.cpp */; };
BFAB8461188B216E00DFE955 /* ASResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8459188B216E00DFE955 /* ASResource.cpp */; };
BFAB8462188B216E00DFE955 /* astyle_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB845B188B216E00DFE955 /* astyle_main.cpp */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
BF4E3ED3188B1A45005C5AD0 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
BF4E3ED5188B1A45005C5AD0 /* astyle */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = astyle; sourceTree = BUILT_PRODUCTS_DIR; };
BFAB8454188B216E00DFE955 /* ASBeautifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASBeautifier.cpp; sourceTree = "<group>"; };
BFAB8455188B216E00DFE955 /* ASEnhancer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASEnhancer.cpp; sourceTree = "<group>"; };
BFAB8456188B216E00DFE955 /* ASFormatter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASFormatter.cpp; sourceTree = "<group>"; };
BFAB8457188B216E00DFE955 /* ASLocalizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASLocalizer.cpp; sourceTree = "<group>"; };
BFAB8458188B216E00DFE955 /* ASLocalizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASLocalizer.h; sourceTree = "<group>"; };
BFAB8459188B216E00DFE955 /* ASResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASResource.cpp; sourceTree = "<group>"; };
BFAB845A188B216E00DFE955 /* astyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle.h; sourceTree = "<group>"; };
BFAB845B188B216E00DFE955 /* astyle_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = astyle_main.cpp; sourceTree = "<group>"; };
BFAB845C188B216E00DFE955 /* astyle_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle_main.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BF4E3ED2188B1A45005C5AD0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
BF4E3ECC188B1A45005C5AD0 = {
isa = PBXGroup;
children = (
BFAB8453188B216E00DFE955 /* src */,
BF4E3ED6188B1A45005C5AD0 /* Products */,
);
sourceTree = "<group>";
usesTabs = 1;
wrapsLines = 0;
};
BF4E3ED6188B1A45005C5AD0 /* Products */ = {
isa = PBXGroup;
children = (
BF4E3ED5188B1A45005C5AD0 /* astyle */,
);
name = Products;
sourceTree = "<group>";
};
BFAB8453188B216E00DFE955 /* src */ = {
isa = PBXGroup;
children = (
BFAB8454188B216E00DFE955 /* ASBeautifier.cpp */,
BFAB8455188B216E00DFE955 /* ASEnhancer.cpp */,
BFAB8456188B216E00DFE955 /* ASFormatter.cpp */,
BFAB8457188B216E00DFE955 /* ASLocalizer.cpp */,
BFAB8458188B216E00DFE955 /* ASLocalizer.h */,
BFAB8459188B216E00DFE955 /* ASResource.cpp */,
BFAB845A188B216E00DFE955 /* astyle.h */,
BFAB845B188B216E00DFE955 /* astyle_main.cpp */,
BFAB845C188B216E00DFE955 /* astyle_main.h */,
);
name = src;
path = ../../src;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
BF4E3ED4188B1A45005C5AD0 /* AStyle */ = {
isa = PBXNativeTarget;
buildConfigurationList = BF4E3EDE188B1A45005C5AD0 /* Build configuration list for PBXNativeTarget "AStyle" */;
buildPhases = (
BF4E3ED1188B1A45005C5AD0 /* Sources */,
BF4E3ED2188B1A45005C5AD0 /* Frameworks */,
BF4E3ED3188B1A45005C5AD0 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = AStyle;
productName = AStyle;
productReference = BF4E3ED5188B1A45005C5AD0 /* astyle */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BF4E3ECD188B1A45005C5AD0 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1010;
};
buildConfigurationList = BF4E3ED0188B1A45005C5AD0 /* Build configuration list for PBXProject "AStyle" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = BF4E3ECC188B1A45005C5AD0;
productRefGroup = BF4E3ED6188B1A45005C5AD0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
BF4E3ED4188B1A45005C5AD0 /* AStyle */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
BF4E3ED1188B1A45005C5AD0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB8462188B216E00DFE955 /* astyle_main.cpp in Sources */,
BFAB8460188B216E00DFE955 /* ASLocalizer.cpp in Sources */,
BFAB845F188B216E00DFE955 /* ASFormatter.cpp in Sources */,
BFAB8461188B216E00DFE955 /* ASResource.cpp in Sources */,
BFAB845D188B216E00DFE955 /* ASBeautifier.cpp in Sources */,
BFAB845E188B216E00DFE955 /* ASEnhancer.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
BF4E3EDC188B1A45005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
BF4E3EDD188B1A45005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
};
name = Release;
};
BF4E3EDF188B1A45005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
DSTROOT = /;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = Build/Products;
};
name = Debug;
};
BF4E3EE0188B1A45005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DSTROOT = /;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1";
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle;
SYMROOT = Build/Products;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
BF4E3ED0188B1A45005C5AD0 /* Build configuration list for PBXProject "AStyle" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EDC188B1A45005C5AD0 /* Debug */,
BF4E3EDD188B1A45005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BF4E3EDE188B1A45005C5AD0 /* Build configuration list for PBXNativeTarget "AStyle" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EDF188B1A45005C5AD0 /* Debug */,
BF4E3EE0188B1A45005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = BF4E3ECD188B1A45005C5AD0 /* Project object */;
}
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:AStyle.xcodeproj">
</FileRef>
<FileRef
location = "group:AStyleA.xcodeproj">
</FileRef>
<FileRef
location = "group:AStyleDylib.xcodeproj">
</FileRef>
<FileRef
location = "group:AStyleJava.xcodeproj">
</FileRef>
</Workspace>
@@ -0,0 +1,310 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
BFAB844A188B1FC700DFE955 /* ASBeautifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8441188B1FC700DFE955 /* ASBeautifier.cpp */; };
BFAB844B188B1FC700DFE955 /* ASEnhancer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8442188B1FC700DFE955 /* ASEnhancer.cpp */; };
BFAB844C188B1FC700DFE955 /* ASFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8443188B1FC700DFE955 /* ASFormatter.cpp */; };
BFAB844F188B1FC700DFE955 /* ASResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8446188B1FC700DFE955 /* ASResource.cpp */; };
BFAB8450188B1FC700DFE955 /* astyle.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8447188B1FC700DFE955 /* astyle.h */; };
BFAB8451188B1FC700DFE955 /* astyle_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8448188B1FC700DFE955 /* astyle_main.cpp */; };
BFAB8452188B1FC700DFE955 /* astyle_main.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8449188B1FC700DFE955 /* astyle_main.h */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
BF4E3EC5188B1A21005C5AD0 /* libastyle.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libastyle.a; sourceTree = BUILT_PRODUCTS_DIR; };
BFAB8441188B1FC700DFE955 /* ASBeautifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASBeautifier.cpp; sourceTree = "<group>"; };
BFAB8442188B1FC700DFE955 /* ASEnhancer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASEnhancer.cpp; sourceTree = "<group>"; };
BFAB8443188B1FC700DFE955 /* ASFormatter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASFormatter.cpp; sourceTree = "<group>"; };
BFAB8446188B1FC700DFE955 /* ASResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASResource.cpp; sourceTree = "<group>"; };
BFAB8447188B1FC700DFE955 /* astyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle.h; sourceTree = "<group>"; };
BFAB8448188B1FC700DFE955 /* astyle_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = astyle_main.cpp; sourceTree = "<group>"; };
BFAB8449188B1FC700DFE955 /* astyle_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle_main.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BF4E3EC2188B1A21005C5AD0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
BF4E3EBC188B1A21005C5AD0 = {
isa = PBXGroup;
children = (
BFAB8440188B1FC700DFE955 /* src */,
BF4E3EC6188B1A21005C5AD0 /* Products */,
);
sourceTree = "<group>";
usesTabs = 1;
wrapsLines = 0;
};
BF4E3EC6188B1A21005C5AD0 /* Products */ = {
isa = PBXGroup;
children = (
BF4E3EC5188B1A21005C5AD0 /* libastyle.a */,
);
name = Products;
sourceTree = "<group>";
};
BFAB8440188B1FC700DFE955 /* src */ = {
isa = PBXGroup;
children = (
BFAB8441188B1FC700DFE955 /* ASBeautifier.cpp */,
BFAB8442188B1FC700DFE955 /* ASEnhancer.cpp */,
BFAB8443188B1FC700DFE955 /* ASFormatter.cpp */,
BFAB8446188B1FC700DFE955 /* ASResource.cpp */,
BFAB8447188B1FC700DFE955 /* astyle.h */,
BFAB8448188B1FC700DFE955 /* astyle_main.cpp */,
BFAB8449188B1FC700DFE955 /* astyle_main.h */,
);
name = src;
path = ../../src;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
BF4E3EC3188B1A21005C5AD0 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB8450188B1FC700DFE955 /* astyle.h in Headers */,
BFAB8452188B1FC700DFE955 /* astyle_main.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
BF4E3EC4188B1A21005C5AD0 /* AStyleA */ = {
isa = PBXNativeTarget;
buildConfigurationList = BF4E3EC9188B1A21005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleA" */;
buildPhases = (
BF4E3EC1188B1A21005C5AD0 /* Sources */,
BF4E3EC2188B1A21005C5AD0 /* Frameworks */,
BF4E3EC3188B1A21005C5AD0 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = AStyleA;
productName = AStyleA;
productReference = BF4E3EC5188B1A21005C5AD0 /* libastyle.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BF4E3EBD188B1A21005C5AD0 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1010;
};
buildConfigurationList = BF4E3EC0188B1A21005C5AD0 /* Build configuration list for PBXProject "AStyleA" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = BF4E3EBC188B1A21005C5AD0;
productRefGroup = BF4E3EC6188B1A21005C5AD0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
BF4E3EC4188B1A21005C5AD0 /* AStyleA */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
BF4E3EC1188B1A21005C5AD0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB8451188B1FC700DFE955 /* astyle_main.cpp in Sources */,
BFAB844A188B1FC700DFE955 /* ASBeautifier.cpp in Sources */,
BFAB844F188B1FC700DFE955 /* ASResource.cpp in Sources */,
BFAB844C188B1FC700DFE955 /* ASFormatter.cpp in Sources */,
BFAB844B188B1FC700DFE955 /* ASEnhancer.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
BF4E3EC7188B1A21005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
BF4E3EC8188B1A21005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
};
name = Release;
};
BF4E3ECA188B1A21005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"ASTYLE_LIB=1",
);
MACOSX_DEPLOYMENT_TARGET = "";
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle;
SKIP_INSTALL = YES;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = Build/Products;
};
name = Debug;
};
BF4E3ECB188B1A21005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
"NDEBUG=1",
"ASTYLE_LIB=1",
);
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = "";
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle;
SKIP_INSTALL = YES;
SYMROOT = Build/Products;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
BF4E3EC0188B1A21005C5AD0 /* Build configuration list for PBXProject "AStyleA" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EC7188B1A21005C5AD0 /* Debug */,
BF4E3EC8188B1A21005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BF4E3EC9188B1A21005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleA" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3ECA188B1A21005C5AD0 /* Debug */,
BF4E3ECB188B1A21005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = BF4E3EBD188B1A21005C5AD0 /* Project object */;
}
@@ -0,0 +1,316 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
BFAB8424188B1ACD00DFE955 /* ASBeautifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB841B188B1ACD00DFE955 /* ASBeautifier.cpp */; };
BFAB8425188B1ACD00DFE955 /* ASEnhancer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB841C188B1ACD00DFE955 /* ASEnhancer.cpp */; };
BFAB8426188B1ACD00DFE955 /* ASFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB841D188B1ACD00DFE955 /* ASFormatter.cpp */; };
BFAB8429188B1ACD00DFE955 /* ASResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8420188B1ACD00DFE955 /* ASResource.cpp */; };
BFAB842A188B1ACD00DFE955 /* astyle.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8421188B1ACD00DFE955 /* astyle.h */; };
BFAB842B188B1ACD00DFE955 /* astyle_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8422188B1ACD00DFE955 /* astyle_main.cpp */; };
BFAB842C188B1ACD00DFE955 /* astyle_main.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8423188B1ACD00DFE955 /* astyle_main.h */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
BF4E3EA5188B19C8005C5AD0 /* libastyle32.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libastyle32.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
BFAB841B188B1ACD00DFE955 /* ASBeautifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASBeautifier.cpp; sourceTree = "<group>"; };
BFAB841C188B1ACD00DFE955 /* ASEnhancer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASEnhancer.cpp; sourceTree = "<group>"; };
BFAB841D188B1ACD00DFE955 /* ASFormatter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASFormatter.cpp; sourceTree = "<group>"; };
BFAB8420188B1ACD00DFE955 /* ASResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASResource.cpp; sourceTree = "<group>"; };
BFAB8421188B1ACD00DFE955 /* astyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle.h; sourceTree = "<group>"; };
BFAB8422188B1ACD00DFE955 /* astyle_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = astyle_main.cpp; sourceTree = "<group>"; };
BFAB8423188B1ACD00DFE955 /* astyle_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle_main.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BF4E3EA2188B19C8005C5AD0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
BF4E3E9C188B19C8005C5AD0 = {
isa = PBXGroup;
children = (
BFAB841A188B1ACD00DFE955 /* src */,
BF4E3EA6188B19C8005C5AD0 /* Products */,
);
sourceTree = "<group>";
usesTabs = 1;
wrapsLines = 0;
};
BF4E3EA6188B19C8005C5AD0 /* Products */ = {
isa = PBXGroup;
children = (
BF4E3EA5188B19C8005C5AD0 /* libastyle32.dylib */,
);
name = Products;
sourceTree = "<group>";
};
BFAB841A188B1ACD00DFE955 /* src */ = {
isa = PBXGroup;
children = (
BFAB841B188B1ACD00DFE955 /* ASBeautifier.cpp */,
BFAB841C188B1ACD00DFE955 /* ASEnhancer.cpp */,
BFAB841D188B1ACD00DFE955 /* ASFormatter.cpp */,
BFAB8420188B1ACD00DFE955 /* ASResource.cpp */,
BFAB8421188B1ACD00DFE955 /* astyle.h */,
BFAB8422188B1ACD00DFE955 /* astyle_main.cpp */,
BFAB8423188B1ACD00DFE955 /* astyle_main.h */,
);
name = src;
path = ../../src;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
BF4E3EA3188B19C8005C5AD0 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB842A188B1ACD00DFE955 /* astyle.h in Headers */,
BFAB842C188B1ACD00DFE955 /* astyle_main.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
BF4E3EA4188B19C8005C5AD0 /* AStyleDylib */ = {
isa = PBXNativeTarget;
buildConfigurationList = BF4E3EA9188B19C8005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleDylib" */;
buildPhases = (
BF4E3EA1188B19C8005C5AD0 /* Sources */,
BF4E3EA2188B19C8005C5AD0 /* Frameworks */,
BF4E3EA3188B19C8005C5AD0 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = AStyleDylib;
productName = AStyleDylib;
productReference = BF4E3EA5188B19C8005C5AD0 /* libastyle32.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BF4E3E9D188B19C8005C5AD0 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = Jim;
};
buildConfigurationList = BF4E3EA0188B19C8005C5AD0 /* Build configuration list for PBXProject "AStyleDylib" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = BF4E3E9C188B19C8005C5AD0;
productRefGroup = BF4E3EA6188B19C8005C5AD0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
BF4E3EA4188B19C8005C5AD0 /* AStyleDylib */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
BF4E3EA1188B19C8005C5AD0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB842B188B1ACD00DFE955 /* astyle_main.cpp in Sources */,
BFAB8424188B1ACD00DFE955 /* ASBeautifier.cpp in Sources */,
BFAB8429188B1ACD00DFE955 /* ASResource.cpp in Sources */,
BFAB8426188B1ACD00DFE955 /* ASFormatter.cpp in Sources */,
BFAB8425188B1ACD00DFE955 /* ASEnhancer.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
BF4E3EA7188B19C8005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
BF4E3EA8188B19C8005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
};
name = Release;
};
BF4E3EAA188B19C8005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"ASTYLE_LIB=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
LIBRARY_SEARCH_PATHS = "";
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle32;
SKIP_INSTALL = YES;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = Build/Products;
};
name = Debug;
};
BF4E3EAB188B19C8005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
"NDEBUG=1",
"ASTYLE_LIB=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
LIBRARY_SEARCH_PATHS = "";
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle32;
SKIP_INSTALL = YES;
SYMROOT = Build/Products;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
BF4E3EA0188B19C8005C5AD0 /* Build configuration list for PBXProject "AStyleDylib" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EA7188B19C8005C5AD0 /* Debug */,
BF4E3EA8188B19C8005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BF4E3EA9188B19C8005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleDylib" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EAA188B19C8005C5AD0 /* Debug */,
BF4E3EAB188B19C8005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = BF4E3E9D188B19C8005C5AD0 /* Project object */;
}
@@ -0,0 +1,327 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
BFAB8437188B1C4A00DFE955 /* ASBeautifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB842E188B1C4A00DFE955 /* ASBeautifier.cpp */; };
BFAB8438188B1C4A00DFE955 /* ASEnhancer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB842F188B1C4A00DFE955 /* ASEnhancer.cpp */; };
BFAB8439188B1C4A00DFE955 /* ASFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8430188B1C4A00DFE955 /* ASFormatter.cpp */; };
BFAB843C188B1C4A00DFE955 /* ASResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8433188B1C4A00DFE955 /* ASResource.cpp */; };
BFAB843D188B1C4A00DFE955 /* astyle.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8434188B1C4A00DFE955 /* astyle.h */; };
BFAB843E188B1C4A00DFE955 /* astyle_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFAB8435188B1C4A00DFE955 /* astyle_main.cpp */; };
BFAB843F188B1C4A00DFE955 /* astyle_main.h in Headers */ = {isa = PBXBuildFile; fileRef = BFAB8436188B1C4A00DFE955 /* astyle_main.h */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
BF4E3EB5188B19F4005C5AD0 /* libastyle32j.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libastyle32j.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
BFAB842E188B1C4A00DFE955 /* ASBeautifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASBeautifier.cpp; sourceTree = "<group>"; };
BFAB842F188B1C4A00DFE955 /* ASEnhancer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASEnhancer.cpp; sourceTree = "<group>"; };
BFAB8430188B1C4A00DFE955 /* ASFormatter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASFormatter.cpp; sourceTree = "<group>"; };
BFAB8433188B1C4A00DFE955 /* ASResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASResource.cpp; sourceTree = "<group>"; };
BFAB8434188B1C4A00DFE955 /* astyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle.h; sourceTree = "<group>"; };
BFAB8435188B1C4A00DFE955 /* astyle_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = astyle_main.cpp; sourceTree = "<group>"; };
BFAB8436188B1C4A00DFE955 /* astyle_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = astyle_main.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BF4E3EB2188B19F4005C5AD0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
BF4E3EAC188B19F4005C5AD0 = {
isa = PBXGroup;
children = (
BFAB842D188B1C4A00DFE955 /* src */,
BF4E3EB6188B19F4005C5AD0 /* Products */,
);
sourceTree = "<group>";
usesTabs = 1;
wrapsLines = 0;
};
BF4E3EB6188B19F4005C5AD0 /* Products */ = {
isa = PBXGroup;
children = (
BF4E3EB5188B19F4005C5AD0 /* libastyle32j.dylib */,
);
name = Products;
sourceTree = "<group>";
};
BFAB842D188B1C4A00DFE955 /* src */ = {
isa = PBXGroup;
children = (
BFAB842E188B1C4A00DFE955 /* ASBeautifier.cpp */,
BFAB842F188B1C4A00DFE955 /* ASEnhancer.cpp */,
BFAB8430188B1C4A00DFE955 /* ASFormatter.cpp */,
BFAB8433188B1C4A00DFE955 /* ASResource.cpp */,
BFAB8434188B1C4A00DFE955 /* astyle.h */,
BFAB8435188B1C4A00DFE955 /* astyle_main.cpp */,
BFAB8436188B1C4A00DFE955 /* astyle_main.h */,
);
name = src;
path = ../../src;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
BF4E3EB3188B19F4005C5AD0 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB843D188B1C4A00DFE955 /* astyle.h in Headers */,
BFAB843F188B1C4A00DFE955 /* astyle_main.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
BF4E3EB4188B19F4005C5AD0 /* AStyleJava */ = {
isa = PBXNativeTarget;
buildConfigurationList = BF4E3EB9188B19F4005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleJava" */;
buildPhases = (
BF4E3EB1188B19F4005C5AD0 /* Sources */,
BF4E3EB2188B19F4005C5AD0 /* Frameworks */,
BF4E3EB3188B19F4005C5AD0 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = AStyleJava;
productName = AStyleJava;
productReference = BF4E3EB5188B19F4005C5AD0 /* libastyle32j.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BF4E3EAD188B19F4005C5AD0 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1010;
};
buildConfigurationList = BF4E3EB0188B19F4005C5AD0 /* Build configuration list for PBXProject "AStyleJava" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = BF4E3EAC188B19F4005C5AD0;
productRefGroup = BF4E3EB6188B19F4005C5AD0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
BF4E3EB4188B19F4005C5AD0 /* AStyleJava */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
BF4E3EB1188B19F4005C5AD0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BFAB843E188B1C4A00DFE955 /* astyle_main.cpp in Sources */,
BFAB8437188B1C4A00DFE955 /* ASBeautifier.cpp in Sources */,
BFAB843C188B1C4A00DFE955 /* ASResource.cpp in Sources */,
BFAB8439188B1C4A00DFE955 /* ASFormatter.cpp in Sources */,
BFAB8438188B1C4A00DFE955 /* ASEnhancer.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
BF4E3EB7188B19F4005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
BF4E3EB8188B19F4005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
};
name = Release;
};
BF4E3EBA188B19F4005C5AD0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"ASTYLE_JNI=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include",
"/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include/darwin",
/System/Library/Frameworks/JavaVM.framework/Headers,
);
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle32j;
SKIP_INSTALL = YES;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = Build/Products;
};
name = Debug;
};
BF4E3EBB188B19F4005C5AD0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
EXECUTABLE_PREFIX = lib;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_CPP_RTTI = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
"NDEBUG=1",
"ASTYLE_JNI=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include",
"/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/include/darwin",
/System/Library/Frameworks/JavaVM.framework/Headers,
);
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = Build/Intermediates;
PRODUCT_NAME = astyle32j;
SKIP_INSTALL = YES;
SYMROOT = Build/Products;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
BF4E3EB0188B19F4005C5AD0 /* Build configuration list for PBXProject "AStyleJava" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EB7188B19F4005C5AD0 /* Debug */,
BF4E3EB8188B19F4005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BF4E3EB9188B19F4005C5AD0 /* Build configuration list for PBXNativeTarget "AStyleJava" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BF4E3EBA188B19F4005C5AD0 /* Debug */,
BF4E3EBB188B19F4005C5AD0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = BF4E3EAD188B19F4005C5AD0 /* Project object */;
}
+96
View File
@@ -0,0 +1,96 @@
#!/bin/bash
# Install the AStyle documentation.
# For testing change the "prefix" variable and "sudo" is not needed.
# NOTE: Use ~, not $HOME. HOME is not defined in SciTE.
# prefix may be changed for testing
prefix=/usr/local
#prefix=/private/tmp/AStyle.dst/usr
NORMAL=""
# CYAN, BOLD: information
CYAN=""
# YELLOW; system message
YELLOW=""
# WHITE, BOLD; error message
WHITE=""
# RED, BOLD: failure message
RED=""
ipath=$prefix/bin
SYSCONF_PATH=$prefix/share/doc/astyle
# the path was changed in release 2.01
# SYSCONF_PATH_OLD may be removed at the appropriate time
SYSCONF_PATH_OLD=$prefix/share/astyle
# $USER will be root when sudo is used
INSTALL="install -o $USER -g wheel"
# define $result variable here
result=:
unset result
# error handler function
check_error () {
if [ $result -ne 0 ] ; then
echo -n $WHITE
echo "Error $result returned from function"
echo "Did you use 'sudo'?"
echo $RED
echo "** INSTALL FAILED **"
echo $NORMAL
exit 1
fi
unset result
}
# must install from this path
if [ ! -f install.sh ]; then
echo -n $WHITE
echo "Cannot install from this path"
echo "Change to the directory containing install.sh"
echo; echo -n $NORMAL
exit 1
fi
# remove previous documentation
echo $CYAN
echo "Installing documentation to $SYSCONF_PATH"
echo -n $YELLOW
if [ -d $SYSCONF_PATH/html ]; then
rm -rf $SYSCONF_PATH/html
result=$?; check_error
fi
# create documentation install directory
if [ ! -d $SYSCONF_PATH/html ]; then
$INSTALL -m 755 -d $SYSCONF_PATH/html
result=$?; check_error
fi
# copy documentation
for files in astyle.html \
install.html \
news.html \
notes.html \
styles.css
do
$INSTALL -m 644 "../../doc/$files" $SYSCONF_PATH/html
result=$?; check_error
done
# remove old documentation
if [ -d $SYSCONF_PATH_OLD ]; then
rm -rf $SYSCONF_PATH_OLD
result=$?; check_error
fi
echo $WHITE
echo "** INSTALL SUCCEEDED **"
# has astyle been installed?
if [ ! -f $ipath/astyle ]; then
echo $WHITE
echo "The astyle executable has not been installed"
echo "Use xcodebuild to install astyle"
fi
echo; echo -n $NORMAL
+79
View File
@@ -0,0 +1,79 @@
#!/bin/bash
# Unnstall the astyle file and documentation.
# For testing change the "prefix" variable and "sudo" is not needed.
# NOTE: Use ~, not $HOME. HOME is not defined in SciTE.
# prefix may be changed for testing
prefix=/usr/local
#prefix=/private/tmp/AStyle.dst/usr
NORMAL=""
# CYAN, BOLD: information
CYAN=""
# YELLOW; system message
YELLOW=""
# WHITE, BOLD; error message
WHITE=""
# RED, BOLD: failure message
RED=""
ipath=$prefix/bin
SYSCONF_PATH=$prefix/share/doc/astyle
# the path was changed in release 2.01
# SYSCONF_PATH_OLD may be removed at the appropriate time
SYSCONF_PATH_OLD=$prefix/share/astyle
# define $result variable here
result=:
unset result
# error handler function
check_error () {
if [ $result -ne 0 ] ; then
echo -n $WHITE
echo "Error $result returned from function"
echo "Did you use 'sudo'?"
echo $RED
echo "** INSTALL FAILED **"
echo $NORMAL
exit 1
fi
unset result
}
# must uninstall from this path
if [ ! -f uninstall.sh ]; then
echo -n $WHITE
echo "Cannot uninstall from this path"
echo "Change to the directory containing uninstall.sh"
#read -sn1 -p "Press any key to end . . ."
echo; echo -n $NORMAL
exit 1
fi
# uninstall astyle
echo $CYAN
echo "Unnstalling astyle from $ipath"
echo -n $YELLOW
rm -f $ipath/astyle
result=$?; check_error
# uninstall documentation
echo -n $CYAN
echo "Unnstalling documentation from $SYSCONF_PATH"
echo -n $YELLOW
if [ -d $SYSCONF_PATH ]; then
rm -rf $SYSCONF_PATH
result=$?; check_error
fi
#remove old documentation
if [ -d $SYSCONF_PATH_OLD ]; then
rm -rf $SYSCONF_PATH_OLD
result=$?; check_error
fi
echo $WHITE
echo "** INSTALL SUCCEEDED **"
echo; echo -n $NORMAL
File diff suppressed because it is too large Load Diff
+157
View File
@@ -0,0 +1,157 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Artistic Style Developer</title>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<link href="../favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- body text -->
<h1>Artistic Style Developer Information</h1>
<p class="noindent">
Artistic Style has compile options for creating a shared library (DLL) or static library for use with a Graphical
User Interface (GUI). The shared library can be called from a C++, <span style="white-space: nowrap;">Objective-C</span>, C#, or Python program. There
are also compile options for a Java Native Interface (JNI) that allows it to be called from a Java program. Information
on compiling the various configurations of Artistic Style is in the Install Information.</p>
<p class="noindent">
The following Examples show how to call the Artistic Style shared library using the various programming languages.
They are command line programs and do NOT contain a Graphical User Interface for the Artistic Style options.
</p>
<p class="noindent">
Source code, documentation, and test files for all examples can be downloaded below or obtained from the <a href="subversion.html">source code repositories</a>.
These projects also require the source from Artistic Style in addition to the development examples.
</p>
<h3>Examples</h3>
<p>
Source code from the following examples can be copied and pasted into an editor or development environment for
compiling and running. Or the source code can be downloaded from the "Source Code Downloads" section below. The
code highlighting for the example html pages was done with <a href="http://www.andre-simon.de/"
target="_blank" title="open new window">Highlight</a>.
The examples were formatted with Artistic Style using the Horstmann style.</p>
<p>
<a href="https://astyle.sourceforge.net/develop/cpp.html">Calling Artistic Style from a C++ Program</a> contains information on calling Artistic Style
as a shared or static library from a C++ program. It includes a C++ sample program that can be used to test the
Artistic Style libraries.</p>
<p>
<a href="https://astyle.sourceforge.net/develop/objc.html">Calling Artistic Style from an <span style="white-space: nowrap;">Objective-C</span> Program</a> contains information on calling Artistic
Style as a shared or static library from an <span style="white-space: nowrap;">Objective-C</span> program. It includes an <span style="white-space: nowrap;">Objective-C</span> sample program that
can be used to test the Artistic Style shared libraries.</p>
<p style="margin-left: 0.5in;">
<a href="https://astyle.sourceforge.net/develop/gnustep.html"><span style="white-space: nowrap;">Objective-C</span> on Windows and Linux</a> contains information on compiling and running
<span style="white-space: nowrap;">Objective-C</span> programs using GNUstep. It has instructions for compiling the Example program on Windows or
Linux.</p>
<p>
<a href="https://astyle.sourceforge.net/develop/jni.html">Calling Artistic Style as a Java Native Interface</a> contains information on calling Artistic
Style as a shared library from a Java program using the Java Native Interface (JNI). It includes a Java sample
program that can be used to test the shared library. The Java Development Kit (JDK) must be installed to compile
Artistic Style.</p>
<p>
<a href="https://astyle.sourceforge.net/develop/sharp.html">Calling Artistic Style from a C# Program</a> contains information on calling Artistic Style
as a shared library from a C# program. It includes a C# sample program that can be used to test the shared
library.</p>
<p style="margin-left: 0.5in;">
<a href="https://astyle.sourceforge.net/develop/sharp2.html">Calling Artistic Style from a C# Program Using Explicit Linking</a> contains information
on calling Artistic Style as a shared library from a C# program. It uses explicit linking to do a dynamic load
of the shared library. It includes a C# sample program that can be used to test the shared library.</p>
<p style="margin-left: 0.5in;">
With explicit linking the shared library name can be changed at runtime, allowing the C# program to load
either an x86 or x64 bit shared library. This provides the capability to make the program run on &quot;Any
CPU&quot;. The shared object can also be loaded from any directory, not just the directories searched by the
system.</p>
<p>
<a href="https://astyle.sourceforge.net/develop/python.html">Calling Artistic Style from a Python Script</a> contains information on calling Artistic
Style as a shared library from a Python script. It includes a sample Python script that can be used to test the
shared library.</p>
<h3>Source Code Downloads (old examples)</h3>
<p>
The downloads contain the above example source files and the test data. The test data is the same for all
downloads.</p>
<h4>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-cpp.zip" target="_blank"
title="open new window">C++ Example</a>
</h4>
<p>
The example for C++ contains the methods to call Artistic Style from a static or shared library using a C++ program.
Compile Artistic Style as a static or shared library using the macro ASTYLE_LIB. Copy the shared library to the
same folder as the C++ Example executable. Compile Example.cpp as an executable and link it to the library. It
will format files in the test&#8209;data directory included in the download.</p>
<h4>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-objc.zip" target="_blank"
title="open new window"><span style="white-space: nowrap;">Objective-C</span> Example</a>
</h4>
<p>
The example for <span style="white-space: nowrap;">Objective-C</span> contains the methods to call Artistic Style from a static or shared library
using an <span style="white-space: nowrap;">Objective-C</span> program. Compile Artistic Style as a static or shared library using the macro ASTYLE_LIB.
Copy the shared library to the same folder as the <span style="white-space: nowrap;">Objective-C</span> Example executable. It will format files in
the test&#8209;data directory included in the download.</p>
<h4>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-java.zip" target="_blank"
title="open new window">Java Example</a>
</h4>
<p>
The example for Java includes an AStyleInterface class that calls the shared library using the Java Native Interface
(JNI). Artistic Style must be compiled as a shared library using the macro ASTYLE_JNI. Copy the shared library
to the same folder as the Java class files (it is loaded from the classpath directory). It will format files in
the test&#8209;data directory included in the download.</p>
<h4>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-sharp.zip" target="_blank"
title="open new window">C# Example</a>
</h4>
<p>
This example for C# includes an AStyleInterface class that calls the shared library using a C# program. Compile
Artistic Style as a shared library using the macro ASTYLE_LIB. Copy the shared library to the same folder as the
C# class files (C# does a Windows type search for the shared library, looking first in the startup program's directory).
It will format files in the test&#8209;data directory included in the download.</p>
<h4 style="margin-left: 0.5in;">
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-sharp2.zip" target="_blank"
title="open new window">C# Example Using Explicit Linking</a>
</h4>
<p style="margin-left: 0.5in;">
This example for C# includes an AStyleInterface class that calls the shared library using a C# program.
It uses explicit linking to do a dynamic load of the shared library. Compile Artistic Style as a shared library
using the macro ASTYLE_LIB. Copy the shared library to the same folder as the C# class files. It will format files
in the test&#8209;data directory included in the download.</p>
<h4>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/examples/example-python.zip" target="_blank"
title="open new window">Python Examples</a>
</h4>
<p>
This download contains three Python scripts. The script ExampleExe.py calls an Artistic Style executable to format
C++ source code. The scripts ExampleByte.py and ExampleUnicode.py call the Artistic Style shared library. The
executable and shared library must be compiled using the macro ASTYLE_LIB. Copy the executable and shared library
to the same folder as the Python scripts. They will format files in the test&#8209;data directory included in
the download.</p>
<p style="margin-left: -0.4in; text-align: center;">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" />
</a></p>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

+260
View File
@@ -0,0 +1,260 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>Artistic Style - Index</title>
<script type="text/javascript">
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
if (document.body.scrollTop > 400 || document.documentElement.scrollTop > 400) {
document.getElementById("topBtn").style.display = "block";
} else {
document.getElementById("topBtn").style.display = "none";
}
}
function topFunction() {
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}
</script>
</head>
<body id="Contents">
<div id="slogan">Artistic Style</div>
<button onclick="topFunction()" id="topBtn" title="Go to top"><span class="menu-arrow">&#9650;</span> <b>Top</b></button>
<label for="responsive-button" class="responsive-button">Artistic Style Menu</label>
<input type="checkbox" id="responsive-button" role="button">
<nav class="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="astyle.html">Documentation</a></li>
<li><a href="">Release Info <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="news.html">News</a></li>
<li><a href="notes.html">Release Notes</a></li>
</ul>
</li>
<li><a href="">Installation <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="install.html">Install</a></li>
<li><a href="subversion.html">Source Repos</a></li>
<li><a href="http://sourceforge.net/projects/astyle/files/">Download</a></li>
</ul>
</li>
<li><a href="">Resources <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="scripts.html">Scripts</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="development.html">Developer Info</a></li>
</ul>
</li>
</ul>
</nav>
<main>
<header>
<h1>Artistic Style</h1>
<h2>
A Free, Fast, and Small Automatic Formatter<br />
for C, C++, C++/CLI, <span style="white-space: nowrap;">Objective-C</span>, C#, JS, GSC, and Java Source Code
</h2>
</header>
<section class="project-links">
<table class="responsive-table">
<tbody>
<tr>
<td><img src="favicon.ico" alt="" /></td>
<td>Project Page:</td>
<td><a href="http://astyle.sourceforge.net/">http://astyle.sourceforge.net/</a></td>
</tr>
<tr>
<td>
<img src="https://a.fsdn.com/con/img/sftheme/favicon.ico" alt="" /></td>
<td>SourceForge:</td>
<td><a href="http://sourceforge.net/projects/astyle/">http://sourceforge.net/projects/astyle/</a></td>
</tr>
<tr>
<td>
<img src="folder-green-git.ico" alt="" /></td>
<td>Source code:</td>
<td><a href="https://gitlab.com/saalen/astyle">https://gitlab.com/saalen/astyle</a></td>
</tr>
</tbody>
</table>
</section>
<section class="intro">
<p class="noindent">
Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, <span style="white-space: nowrap;">Objective-C</span>,
C# and Java programming languages. Written in C++, it can be used from the command line or incorporated as
a library in another program. Options can be entered from the command line or from an option file. The library
version can be called from programs written in languages other that C++.
</p>
</section>
<section class="content">
<article>
<h3><a href="astyle.html">Documentation</a></h3>
<p>
There is complete documentation for using Artistic Style. The documentation needed to install and run Artistic
Style is included in the distribution package.
</p>
</article>
<article>
<h3><a href="news.html">News</a> and <a href="notes.html">Release Notes</a></h3>
<p>
These contain information on the changes in the current release. The News contains information on major changes
and how they might affect the use of Artistic Style. The Release Notes contain a list of all changes made to
the program. Information on old releases is also listed.
</p>
</article>
<article>
<h3><a href="http://sourceforge.net/projects/astyle/files/">Download</a></h3>
<p>
The latest release can be downloaded from the SourceForge file releases page. A link to the "latest version" near
the top of the page will download the correct package for your platform. Or you can select the appropriate
package from the "astyle" release folders. The Windows package contains a compiled binary. Other platforms
will need to compile the source code. Makefiles are included for the most popular compilers. Follow the install
instructions for the appropriate platform as described in the "Install" documentation.
</p>
</article>
<article>
<h3><a href="install.html">Install</a></h3>
<p>
This contains information on compiling and installing Artistic Style. The Windows platform comes with a precompiled
executable. Other platforms must compile the project. Follow the instructions for the appropriate platform (Linux,
Mac, or Windows).
</p>
</article>
<article>
<h3><a href="subversion.html">Source Repositories</a></h3>
<p>
The latest development files can be checked out from the Artistic Style repository using Subversion or Git.
</p>
</article>
<article>
<h3><a href="http://opensource.org/licenses/MIT">License</a></h3>
<p>
Artistic Style may be used and distributed under the
MIT license. The MIT is a permissive license with a minimum of restrictions on software use. It is compatible
with the GNU General Public License (GPL) and most other licenses.
</p>
<p>
The main points of the terms of the license are:
</p>
<ul>
<li>The source code and executables can be used in free or commercial applications.</li>
<li>The source code can be modified to create derivative works.</li>
<li>The source code does NOT have to be made available in the derivative works.</li>
<li>No guarantee or warranty is provided, the software is provided "as-is".</li>
</ul>
<p>
In addition to the license, the documentation accompanying Artistic Style may be distributed or republished
without the author's consent.
</p>
</article>
<article>
<h3><a href="scripts.html">Scripts</a></h3>
<p>
This page contains scripts to support the Artistic Style program. They are in various script languages and work
on different platforms. It includes scripts to clean the directories of backup files created by Artistic
Style.
</p>
</article>
<article>
<h3><a href="links.html">Links</a></h3>
<p>
There are several applications that use Artistic Style as contributed software. It is either embedded in the application
or called as a command line program. The applications include Graphical User Interfaces to view the effect of
formatting of the source code, development environments for various platforms, and other software. There
are also links to style information and various style guides.
</p>
</article>
<article>
<h3><a href="development.html">Developer Information</a></h3>
<p>
Artistic Style has compile options for creating a shared library (DLL) or static library for use with a Graphical
User Interface (GUI). With the Java Development Kit (JDK) installed it can be compiled as a Java Native Interface
(JNI) and called from a Java program. The Developer Information documents the calling procedure and has example
programs for C++, C++/CLI, <span style="white-space: nowrap;">Objective-C</span>, Java, C#, and Python.
</p>
</article>
<article>
<h3>Bug Reports, Change Requests, Update Notifications</h3>
<p>
Bug reports and change requests should be submitted to the <a href="https://sourceforge.net/p/astyle/bugs/">
Sourceforge</a> or <a href="https://gitlab.com/saalen/astyle/-/issues">Gitlab</a> bug trackers. Include an example that shows
the problem, reduced to the minimum that still has the problem. It does not need to be functional code.
</p>
<p><strong>Sourceforge notes:</strong><br>
The bug report <strong>will not be indented</strong>
after the data is submitted. You may indicate the indentation when you submit the request (e.g. replace leading
spaces with periods). Or, you can use the &quot;Formatting Help&quot; button to the left of the ticket form. To
submit preformatted text, make a code block using 3 or more tildes (~~~) or back-ticks (```) on a line before and
after the text.
</p>
<p>
You can subscribe to file change notifications using an RSS feed. There is an RSS symbol on the Artistic Style
<a href="https://sourceforge.net/projects/astyle/files/">files page</a>. You can also subscribe after downloading
a file. To the right of the &quot;Me&quot; option in the SourceForge header, there will be a button containing
a number (it may be 0). Click on this to get your &quot;Download History&quot;. Beside the download will be an
option to subscribe. You should receive an email of the file changes.
</p>
</article>
<article>
<h3>Maintainers</h3>
<p>
Artistic Style is maintained and updated by <a href="mailto:as@andre-simon.de">Andre Simon</a>.
Previous maintainer: Jim Pattee. The original author was Tal Davidson, Israel.
</p>
</article>
<article>
<h3>Acknowledgments</h3>
<p>
Thanks to Jim&nbsp;Watson, Fred&nbsp;Shwartz, W.&nbsp;Nathaniel&nbsp;Mills&nbsp;III, Danny&nbsp;Deschenes, Andre&nbsp;Houde,
Richard&nbsp;Bullington, Paul-Michael&nbsp;Agapow, Daryn&nbsp;Adler, Dieter&nbsp;Bayer, Sam&nbsp;Cooler, Jim&nbsp;Duff,
Emilio&nbsp;Guijarro, Jens&nbsp;Krinke, Eran&nbsp;Ifrah, Travis&nbsp;Robinson, Max&nbsp;Horn, Ettl&nbsp;Martin,
Mario&nbsp;Gleichmann, J&nbsp;P&nbsp;Nurmi, Colin&nbsp;D&nbsp;Bennett, Christian&nbsp;Stimming, MrTact, Wim&nbsp;Rosseel,
Matthew&nbsp;Woehlke, Chris&nbsp;Schwarz, Chang&nbsp;Jiang, Arseny&nbsp;Solokha, Milian&nbsp;Wolff, Johannes&nbsp;Martin,
Arne&nbsp;F?rlie, Marvin&nbsp;Humphrey, J, Christopher&nbsp;Sean&nbsp;Morrison, Keith&nbsp;OHara, louis6g, Evmenov&nbsp;Georgiy,
beta100100, Ruzzz, Peter&nbsp;A.&nbsp;Bigot, HyungKi&nbsp;Jeong, David&nbsp;Faure, Carl&nbsp;Moore, Mofi, Travis&nbsp;Vitek,
Bunel&nbsp;Nicolas, Juan&nbsp;Alday, Rian&nbsp;Quinn, David&nbsp;Haney, Tam&aacute;s Kurucsai
for their patches and contributions to Artistic Style.
</p>
<p>
Thanks to all the dedicated beta-testers and bug notifiers!
</p>
</article>
</section>
<footer>
<p class="sourceforge-logo">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="SourceForge Logo" />
</a>
</p>
</footer>
</main>
</body>
</html>
+632
View File
@@ -0,0 +1,632 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>Artistic Style - Installation</title>
<script type="text/javascript">
// the <button> is described in the <body> section
window.onscroll = function () { scrollFunction() };
// When the user scrolls down 400px from the top of the document, show the button
function scrollFunction() {
if (document.body.scrollTop > 400 || document.documentElement.scrollTop > 400) {
document.getElementById("topBtn").style.display = "block";
} else {
document.getElementById("topBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
// Changed to scroll to "Contents" instead of "Top".
function topFunction() {
//document.body.scrollTop = 0;
//document.documentElement.scrollTop = 0;
var scroll_element = document.getElementById("Contents");
scroll_element.scrollIntoView();
}
</script>
</head>
<body id="Contents">
<div id="slogan">Artistic Style Installation</div>
<button onclick="topFunction()" id="topBtn" title="Go to Contents"><span class="menu-arrow">&#9650;</span>
<b>Top</b></button>
<label for="responsive-button" class="responsive-button">Artistic Style Installation</label>
<input type="checkbox" id="responsive-button" role="button">
<nav class="menu">
<ul>
<li><a href="#_Artistic_Style_Versions">Packages</a>
<ul>
</ul>
</li>
<li><a href="#_Linux_Version">Linux <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="#_CMake_Linux">CMake</a></li>
<li><a href="#_GCC_Makefile">GCC Makefile</a></li>
<li><a href="#_Clang_Makefile">Clang Makefile</a></li>
<li><a href="#_Intel_Makefile">Intel Makefile</a></li>
</ul>
</li>
<li><a href="#_MacOS_Version">MacOS <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="#_CMake_MacOS">CMake</a></li>
<li><a href="#_MacOS_Makefile">Makefile</a></li>
<li><a href="#_Xcode">XCode</a></li>
</ul>
</li>
<li><a href="#_Windows_Version">Windows <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="#_Precompiled_Executable">Precompiled</a></li>
<li><a href="#_CMake_Windows">CMake</a></li>
<li><a href="#_Visual_Studio">Visual Studio</a></li>
</ul>
</li>
<li><a href="">Other <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="#_Other_Makefile_Targets">Makefile Targets</a></li>
<li><a href="#_Other_Development_Environments">Other Development Environments</a></li>
</ul>
</li>
<li><a href="#_Compiler_Options">Compiler Options</a>
<ul>
</ul>
</li>
<li><a href="#_PIP">Python PIP</a>
<ul>
</ul>
</li>
</nav>
<div style="margin-left: 2em;margin-top: 1em;">
<h3 id="_Artistic_Style_Versions" style="margin-top: 1em;">Available Packages</h3>
<p>
<strong>Linux</strong> (astyle_x.x.tar.bz2): Source code, documentation, and makefiles for compiling.<br>
<strong>Windows</strong> (astyle_x.x.zip): Source code, documentation, and pre-built executable.<br>
<strong>Windows 64-bit</strong> (astyle_x.x_x64.zip): Source code, documentation, and pre-built executable for 64-bit systems.
</p>
<h3 id="_Linux_Version">Linux Version</h3>
<h4 id="_CMake_Linux">CMake Linux</h4>
<p>
Artistic Style has CMake support for GCC, Clang, and Intel compilers. Other compilers will probably work if
the necessary options are set. Refer to the section on <a href="#_Compiler_Options">Compiler Options</a> for
more information.</p>
<p>
Since the different builds use the same source files an &quot;out of source&quot; build should be used. The
default build is a release version. A debug version must be specifically requested. The following options
are available for building the various configurations.
</p>
<ul>
<li>The default builds the Artistic Style command line executable (astyle). </li>
<li>BUILD_SHARED_LIBS=ON builds the Artistic Style program as a shared object (libastyle.so). </li>
<li>BUILD_JAVA_LIBS=ON builds the Artistic Style program as a shared object (libastylej.so) that can be
called
from a Java program. The Java Development Kit (JDK) must be installed for the project to compile. CMake
will
look for the JDK in the Java default folder or in a system path. If the files cannot be found, use the
variable
JAVA_HOME=&lt;Java Directory&gt; with the path into the top level Java folder.</li>
<li>BUILD_STATIC_LIBS=ON builds the Artistic Style program as a Static Library (libastyle.a) that can be
statically linked to a user program.</li>
</ul>
<h5>EXAMPLES</h5>
<p>
The following examples are assumed to be run from the astyle directory that contains
CMakeLists.txt. They show out of source builds that generate makefiles.</p>
<p>
To build the console release version:</p>
<pre>mkdir as-gcc-exe
cd as-gcc-exe
cmake ../
make
</pre>
<p>
To build the shared debug version:</p>
<pre>mkdir --parents as-gcc-so
cd as-gcc-so
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug ../
make
</pre>
<p>
To build the Java release version using the Clang compiler and the JAVA_HOME variable:</p>
<pre>mkdir as-clang-java
cd as-clang-java
CXX=clang++ cmake -DBUILD_JAVA_LIBS=ON -DJAVA_HOME=&quot;C:/Programs/Java&quot; ../
make
</pre>
<h5>INSTALL</h5>
<p>
The makefile install option installs the astyle executable and documentation files. The option installs from
the generated makefile, not CMake. You must have the appropriate permissions to use install. </p>
<p>
To install astyle:</p>
<pre>make install</pre>
<p>
The default install directory is /usr/local/bin for the executable and /usr/local/share/doc/astyle for the
documentation. To change the default install directory from /usr/local the CMake must be run with the option
CMAKE_INSTALL_PREFIX. </p>
<p>
To run CMake and change the install directory:</p>
<pre>cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make install</pre>
<h5>UNINSTALL</h5>
<p>
There is no uninstall. The easiest way to uninstall is to use the install_manifest.txt file, for example
&quot;<strong>xargs rm &lt; install_manifest.txt</strong>&quot;.
</p>
<h4 id="_GCC_Makefile">GCC Makefile</h4>
<p>
To compile using the GCC compiler you must have GCC (3.1 or better) installed.
</p>
<p>
The build has no autoconf dependency. To build the Artistic Style configurations, use the makefile located
in the astyle/build/gcc directory. The executables will be in the astyle/build/gcc/bin directory. To build the
command line configuration, enter the following:
</p>
<pre>cd astyle/build/gcc<br />make
</pre>
<p>
To build the other astyle configurations, you can enter the file name or a symbolic name. Entering "make
astyle" or "make release" will build the command line configuration. Following are the symbolic names and file names
(in parens) of the various configurations:</p>
<ul>
<li><strong>release</strong> or <strong>astyle</strong> builds the Artistic Style command line program. This
is the
default option. </li>
<li><strong>shared</strong> or <strong>libastyle.so</strong> builds the Artistic Style program as a shared
library. </li>
<li><strong>static</strong> or <strong>libastyle.a</strong> builds the Artistic Style program as a static
library. </li>
<li><strong>debug</strong> or <strong>astyled</strong> builds the Artistic Style command line program with
debugging
information </li>
<li><strong>shareddebug</strong> or <strong>libastyled.so</strong> builds the Artistic Style program as a
shared library
with debugging information. </li>
<li><strong>staticdebug</strong> or <strong>libastyled.a</strong> builds the Artistic Style program as a
static library
with debugging information. </li>
<li><strong>all</strong> builds all the above configurations.
<p>
The following Java shared library builds are separate from the above. They include a Java Native
Interface (JNI)
and require that the Java Development Kit (JDK) be installed. The environment variable JAVA_HOME
should be defined.
It defines the install directory for the JDK. If the compile cannot find the file jni.h, either set
the JAVA_HOME variable or change the value in the makefile.</p>
</li>
<li><strong>java </strong>builds the Artistic Style program as a shared library which includes the JNI
(libastylej.so).
</li>
<li><strong>javadebug </strong>builds the Artistic Style program as a shared library which includes the JNI
and debugging
information
(libastylejd.so).</li>
<li><strong>javaall </strong>builds all the above java configurations.</li>
</ul>
<p>
More than one configuration can be built at the same time. For example, to build all the release
configurations enter:</p>
<pre>cd astyle/build/gcc<br />make release shared static</pre>
<p>
The <a href="#_Other_Makefile_Targets">Other Makefile Targets</a> section contains additional target
options.</p>
<h4 id="_Clang_Makefile">Clang Makefile</h4>
<p>
Clang has a static analyzer that finds potential bugs in C/C++ and <span style="white-space: nowrap;">
Objective-C</span> programs. It can be run as a standalone tool from the command-line and runs in tandem with
a build. There is a script file, analyze.sh, that will run the analysis on Artistic Style.</p>
<p>
The build has no autoconf dependency. To build the Artistic Style configurations use the makefile located in the
astyle/build/clang directory. The executables will be in the astyle/build/clang/bin directory. To build the
command line configuration, enter the following:</p>
<pre>cd astyle/build/clang<br />make
</pre>
<p>
To build the other astyle configurations, you can enter the file name or a symbolic name. The configurations for
Clang are the same as for the <a href="#_GCC_Makefile">GCC Makefile</a>. More than one configuration can be
built at the same time. For example, to build all the release configurations enter:</p>
<pre>cd astyle/build/clang<br />make release shared static
</pre>
<p>
The <a href="#_Other_Makefile_Targets">Other Makefile Targets</a> section contains additional target
options.</p>
<h4 id="_Intel_Makefile">Intel Makefile</h4>
<p>
These procedures and the makefile are for recent versions of the compiler. They may not work for earlier
versions. Instructions for your compiler are in the compiler documentation file "get_started_lc.htm".</p>
<p>
To compile with Intel there are environment variables that must be set by running the compiler environment
script compilervars.sh (or compilervars.csh) with an argument that specifies the target architecture. This
should be done before running the make. If it is not done, &quot;make&quot; will display an error message
stating that the compiler environment variables are not set.</p>
<p>
The build has no autoconf dependency. To build the Artistic Style configurations use the makefile located in
the astyle/build/intel directory. The output executables will be in the astyle/build/intel/bin directory. To
build the command line configuration, enter the following:</p>
<pre>cd astyle/build/intel<br />make</pre>
<p>
To build the other astyle configurations, you can enter the file name or a symbolic name. The configuration
names for Intel are the same as for the <a href="#_GCC_Makefile">GCC Makefile</a>. More than one configuration can
be built at the same time. For example, to build the entire debug configurations enter:</p>
<pre>cd astyle/build/intel<br />make debug shareddebug staticdebug</pre>
<p>
The <a href="#_Other_Makefile_Targets">Other Makefile Targets</a> section contains additional target
options.</p>
<p>
For other Linux development environments, follow the instructions in <a
href="#_Other_Development_Environments">Other
Development Environments</a>.</p>
<h3 id="_MacOS_Version">MacOS Version</h3>
<h4 id="_CMake_MacOS">CMake MacOS</h4>
<p>
Artistic Style has CMake support for MacOS. It is used the same as <a href="#_CMake_Linux">CMake Linux</a>
except the supported compilers are only GCC and Clang. The macOS default installs will be to /usr/local
instead of /usr.</p>
<h4 id="_MacOS_Makefile">MacOS Makefile</h4>
<p>
The Artistic Style makefile compile uses the Mac OS &quot;Command Line Tools&quot;. If you have Xcode 4.3 or
newer the command line tools, such as &quot;make&quot;, are NOT installed by default. They must be downloaded and
installed separately. Once everything is successfully installed, you should see &quot;make&quot; and other command
line developer tools in /usr/bin.</p>
<p>
The build has no autoconf dependency. To build the Artistic Style configurations use the makefile located in the
astyle/build/mac directory. The executables will be in the astyle/build/mac/bin directory. To build the
command line configuration, enter the following:</p>
<pre>cd astyle/build/mac<br />make
</pre>
<p>
To build the other astyle configurations, you can enter the file name or a symbolic name. The configurations
for
Mac are the same as for the <a href="#_GCC_Makefile">GCC Makefile</a>. More than one configuration can be
built at the same time. For example, to build all the release configurations enter:</p>
<pre>cd astyle/build/mac<br />make release shared static
</pre>
<p>
The <a href="#_Other_Makefile_Targets">Other Makefile Targets</a> section contains additional target
options.
The macOS default installs will be to /usr/local instead of /usr.</p>
<h4 id="_Xcode">Xcode</h4>
<p>
Artistic Style workspace and project files for the Xcode development environment are available in the
&quot;build/xcode&quot;
directory. A workspace can be used to build a single project or all the projects. The project files have
Debug
and Release configurations. The following projects are available.</p>
<ul>
<li><strong>AStyle</strong> builds the Artistic Style command line program (astyle). </li>
<li><strong>AStyleA</strong> builds the Artistic Style program as a Static Library (libastyle.a). This can
be statically
linked with an executable.</li>
<li><strong>AStyleDylib</strong> builds the Artistic Style program as a Dynamic Library (libastyle.dylib).
It can
be used with C/C++, <span style="white-space: nowrap;">Objective-C</span>, C#, and Python programs.</li>
<li><strong>AStyleJava</strong> builds the Artistic Style program as a Dynamic Library (libastylej.dylib)
that can be called from a Java program. The Java Development (JDK) is required for the project to compile. The
Project Properties must have an include path to the JDK include directory. The output dylib can also be called
from a C++ or C# program.</li>
</ul>
<h5>INSTALL</h5>
<p>
Only the astyle executable is installed. The library project installs are sent to UninstalledProjects in
the Build directory. The following instructions are for the astyle executable and documentation files. The
default
install directory is /usr/local/bin for the executable and /usr/local/share/doc/astyle for the
documentation.
You must have the appropriate permissions to use install. If sudo is not used for the install, an error will
occur during the build.</p>
<p>
To install the astyle executable in the default directory:</p>
<pre>cd astyle/build/xcode
sudo xcodebuild install -project AStyle.xcodeproj
</pre>
<p>A script is used to install the documentation from the same directory.</p>
<pre>sudo bash install.sh
</pre>
<h5>UNINSTALL</h5>
<p>
Uninstalls the executable and documentation. You must have the appropriate permissions to use uninstall.</p>
<p> A script is used to uninstall astyle and the documentation:</p>
<pre>sudo bash uninstall.sh
</pre>
<p>
NOTE: The uninstall option will NOT remove the .astylerc files from the users' home directories. The files
must
be removed individually for each user.</p>
<h3 id="_Windows_Version">Windows Version</h3>
<h4 id="_Precompiled_Executable">Precompiled Executable</h4>
<p>
In addition to the source files, the Windows distribution package contains an Artistic Style Win32
executable
(AStyle.exe). If you prefer to compile the executable yourself, use the following instructions.</p>
<h4 id="_CMake_Windows">CMake Windows</h4>
<p>
Artistic Style has CMake support for Borland, and MinGW compilers. Other compilers will probably work if
the necessary options are set. Refer to the section on <a href="#_Compiler_Options">Compiler Options</a> for
more information.</p>
<p>
The console executable will run for both of the supported compilers. The DLL builds may not. CMake does not
fully support all Windows compilers. To build the DLLs it would be best to generate an IDE project file and
compile the DLLs with the IDE. The &quot;build&quot; folder contains project files for CodeBlocks and Visual
Studio.
</p>
<p>
Since the different builds use the same source files an &quot;out of source&quot; build should be used. The
default build for MinGW is a release version. A debug version must be specifically requested. For
Borland, a release build may need to be specifically requested, depending on the CMake release used. Borland
has been tested with the bcc32c free compiler. It may or may not work with other Borland compilers. The
following
options are available for building the various configurations.</p>
<ul>
<li>The default builds the Artistic Style command line executable (AStyle.exe). </li>
<li>BUILD_SHARED_LIBS=ON builds the Artistic Style program as a DLL (AStylexx.dll, where xx is the astyle
release
number). </li>
<li>BUILD_JAVA_LIBS=ON builds the Artistic Style program as a DLL (AStylexxj.dll, where xx is the astyle
release
number) that can be called from a Java program. The Java Development Kit (JDK) must be installed for the
project
to compile. CMake will look for the JDK in the Java default folder or in a system path. If the files
cannot be
found, use the variable JAVA_HOME=&lt;Java Directory&gt; with the path into the top level Java folder.
</li>
<li>BUILD_STATIC_LIBS=ON builds the Artistic Style program as a Static Library (AStyleLib.lib) that can be
statically linked to a user program.</li>
</ul>
<h5>EXAMPLES</h5>
<p>
The following examples are assumed to be run from the astyle directory that contains
CMakeLists.txt. They show out of source builds that generate makefiles. </p>
<p>
A path to the compiler executable
may need to be declared before compiling. And the Borland free compiler will need the compiler name.
To set the variables before compiling (replace the path names with the paths on your computer):</p>
<pre>set PATH=C:\Program Files\CMake\bin;%PATH%
set PATH=C:\Program Files (x86)\Embarcadero\BCC101\bin;%PATH%
set CXX=bcc32c
</pre>
<p>
To build the Borland console release version (the release build may need to be specified):</p>
<pre>md as-bcc32c-exe
cd as-bcc32c-exe
cmake -G "Borland Makefiles" -DCMAKE_BUILD_TYPE=Release ../
make
</pre>
<p>
To build the MinGW Java release version using the JAVA_HOME variable:</p>
<pre>md as-mingw-exe
cd as-mingw-exe
cmake -G "MinGW Makefiles" -DBUILD_JAVA_LIBS=ON -DJAVA_HOME="C:/Programs/Java" ../
mingw32-make</pre>
<p>As stated previously, the DLL builds may not work with the CMake generated makefiles.</p>
<h5>INSTALL</h5>
<p>
The makefile install option installs the astyle executable and documentation files. The default is
&quot;C:\Program
Files\AStyle&quot; for the executable and &quot;C:\Program Files\AStyle\doc&quot; for the documentation.
You may need to run as an administrator to install. </p>
<h5>UNINSTALL</h5>
<p>
There is no uninstall. The uninstall must be done manually. Just remove the
AStyle folder indicated in the
Install. </p>
<h4 id="_Visual_Studio">Visual Studio</h4>
<p>
There are solution and project files for several versions of Microsoft Visual Studio. Open an Artistic Style
solution
file in the appropriate &quot;build&quot; directory. All projects have Debug, Release and Static
configurations.
Debug file output will be in the &quot;debug&quot; directory. Release file output will be in the
&quot;bin&quot;
directory. Static file output will be in the "binstatic" directory. The following solution files are
available.</p>
<ul>
<li><strong>All AStyle </strong>builds the release and the debug configurations for all the following.
</li>
<li><strong>AStyle </strong>builds the Artistic Style command line program (AStyle.exe). This project has an
extra
&quot;Static&quot;" option. It is the same as the &quot;Release&quot; build except that it is linked
with a static
runtime library. This is needed if the executable is to be run on a system without Visual Studio
installed. The
builds for this configuration are placed in a separate &quot;binstatic&quot; directory. </li>
<li><strong>AStyle Dll </strong>builds the Artistic Style program as a Dynamic Link Library (AStyle.dll).
This will
also build an export library and a static library for linking the dll. </li>
<li><strong>AStyle Java </strong>builds the Artistic Style program as a Dynamic Link Library (AStylej.dll)
that can
be called from a Java program. The Java Development (JDK) is required for the project to compile. The
Project
Properties must have an include path to the JDK include and include/win32 directories. This is set in
&quot;Project
&gt; Properties &gt; C/C++ &gt; General &gt; Additional&nbsp;Include&nbsp;Directories&quot;. The default
setting
is for the JDK to be installed in the default directory, but it may not be the most current release. The
output
DLL can also be called from a C++ or C# program.</li>
<li><strong>AStyle Lib </strong>builds the Artistic Style program as a Static Library (libAStyle.lib). This
can be
statically linked to a calling program.</li>
</ul>
<p>
For other Windows development environments, follow the instructions in <a
href="#_Other_Development_Environments">
Other Development Environments</a>.</p>
<h3 id="_Other_Makefile_Targets">Other Makefile Targets</h3>
<p>
The following makefile targets are available for GCC, Clang, Intel, and Mac.</p>
<h5>CLEAN</h5>
<p>
Removes the object and executable files for all configurations.</p>
<p>
To remove the files for all configurations:</p>
<pre>make clean
</pre>
<h5>CLEANOBJ</h5>
<p>
Removes the object files for all configurations. The executables will not be removed.</p>
<p>
To remove only the object files for all configurations:</p>
<pre>make cleanobj
</pre>
<h5>INSTALL</h5>
<p>
Installs the astyle executable and documentation files. The default is /usr/bin for the executable and
/usr/share/doc/astyle
for the documentation. You must have the appropriate permissions to use install.</p>
<p>
To install the astyle to the default directories:</p>
<pre>sudo make install
</pre>
<p>
To install astyle to a different bin directory set a value for the macro $(prefix). For example, to install
the
executable to a user's home directory (/home/<i>user</i>/bin):</p>
<pre>sudo make prefix=$HOME install
</pre>
<h5>UNINSTALL</h5>
<p> Uninstalls the executable and documentation. You must have the appropriate permissions to use uninstall.</p>
<p> To uninstall astyle from the default directories:</p>
<pre>sudo make uninstall
</pre>
<p>
To uninstall the files from a different directory set a value for the macro $(prefix). For example, to
uninstall
the files from a user's home directory (/home/<i>user</i>):</p>
<pre> sudo make prefix=$HOME uninstall
</pre>
<p>
NOTE: The uninstall option will NOT remove the .astylerc files from the users' home directories. The files
must
be removed individually for each user.</p>
<h3 id="_Other_Development_Environments">Other Development Environments</h3>
<p>
To use other development environments project files usually must be built. CMake can be used if the
development
environment is supported. Otherwise, use the development environment to create files.</p>
<ul>
<li>Create a project using the development environment.</li>
<li>Add to the project all the .cpp and .h files in the "src" directory.</li>
<li>The Compiler Options section discusses the compiler options to use.</li>
<li>Compile.</li>
</ul>
<h3 id="_Compiler_Options">Compiler Options</h3>
<p>
No macro definitions are required to compile the executable. To compile as a static or shared (dynamic)
library
define the macro ASTYLE_LIB. To compile a Java shared (dynamic) library define the macro ASTYLE_JNI. The
option ASTYLE_NO_EXPORTS is sometimes needed for static libraries to prevent compiler error and warning
messages. Use the appropriate compiler and linker options to compile the static or shared library. Add debug
options to compile the debug versions.</p>
<p>
Artistic Style is a small program and it is best to optimize for speed. The debug configurations are not
usually
optimized. To optimize for speed in the release configurations, use the macro NDEBUG to remove asserts. If
necessary, use an option to activate the C++17 standards (-std=c++17 on most compilers). Use an
option that allows inline function expansion. Runtime Type Information (RTTI) is NOT needed and exceptions
are NOT used. Use whole program optimization if your compiler supports it. </p>
<h3 id="_PIP">Python PIP</h3>
<p>
There are two projects which enable astyle installation using PIP: <a
href="https://github.com/Freed-Wu/astyle-wheel/">astyle-wheel</a> and <a
href="https://github.com/igrr/astyle_py">astyle_py (using WASM)</a>.<br>
These are useful to be included in git pre-commit hooks.
</p>
<p style="margin-left: -0.4in; text-align: center;">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" />
</a>
</p>
</div>
</div>
</body>
</html>
+228
View File
@@ -0,0 +1,228 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>Artistic Style - Links</title>
</head>
<body>
<h1>Artistic Style Links</h1>
<h3>Programs Using Artistic Style</h3>
<p>
The following development environments use Artistic Style as a contributed add-on. It is either embedded in the
application or called as a command line program. </p>
<p>
Some of the programs are using old versions of Artistic
Style. Be sure to check the AStyle version before using.</p>
<p>
<a href="https://atom.io/" target="_blank" title="open new window"><strong>Atom</strong></a> is a free and open-source
text and source code editor for OS X, Linux, and Windows. Artistic Style can be added as a plug-in. Search for
formatter-astyle and follow the <a href="https://atom.io/packages/formatter-astyle"
target="_blank" title="open new window">instructions</a>.</p>
<p>
<a href="http://sourceforge.net/projects/orwelldevcpp/" target="_blank" title="open new window"><strong>Dev-Cpp</strong></a>
is a new and improved fork of the original Bloodshed Dev-C++. It is a free IDE for programming in C and C++. It
is bundled with, and uses, the MinGW or TDM-GCC port of the GCC as its compiler. It is currently Windows only.
The Artistic Style interface includes a live Preview window.</p>
<p>
<a href="http://www.codeblocks.org/" target="_blank" title="open new window"><strong>CodeBlocks</strong></a> is
a multi-platform, open source, C++ development environment based on <a href="http://www.wxwidgets.org/" target="_blank"
title="open new window">wxWidgets</a>. It has support for multiple compilers and plug-ins for wxWidgets
development.</p>
<p>
<a href="http://www.codelite.org/" target="_blank" title="open new window"><strong>CodeLite</strong></a> is an
open source, free, cross platform IDE specialized in C, C++, PHP and JavaScript. It supports all major
compilers. There is support for wxWidgets and includes a class
generator and a unit test program generator. Code completion is based on <a href="http://ctags.sourceforge.net/"
target="_blank" title="open new window">Ctags</a>. Also available at this site is <a href="https://wxcrafter.codelite.org/"
target="_blank" title="open new window">wxCrafter</a>, a RAD tool for development of wxWidgets based applications.
</p>
<p>
<a href="http://www.jedit.org/" target="_blank" title="open new window"><strong>jEdit</strong></a> is a programmer's
text editor written in <a href="http://www.oracle.com/technetwork/java/" target="_blank" title="open new window">Java</a>
that runs on any operating system with Java support. A large collection of plug-ins is maintained by a world-wide
developer team. <a href="http://plugins.jedit.org/list.php?category=13" target="_blank" title="open new window">AStyle</a>
is available as a formatter plug-in.</p>
<p>
<a href="http://www.kdevelop.org/" target="_blank" title="open new window"><strong>KDevelop</strong></a> is a
multi-platform, integrated development environment for building <a href="http://www.kde.org/" target="_blank" title="open new window">
KDE</a> applications. It supports many programming languages and can be used to develop applications other
than KDE.</p>
<p>
<a href="http://monkeystudio.pasnox.com" target="_blank" title="open new window"><strong>Monkey Studio</strong></a>
is a cross platform IDE written in C++/Qt. Its primary goal was to be a <a href="https://www.qt.io/" target="_blank"
title="open new window">Qt</a> only IDE, but it evolved into a way to support Qt development and any kind
of project.</p>
<p>
<a href="https://www.qt.io/ide/" target="_blank" title="open new window"><strong>Qt Creator</strong></a> is a
cross-platform integrated development environment tailored to the needs of <a href="https://www.qt.io/"
target="_blank" title="open new window">Qt</a> developers. Artistic Style is available as a
<a href="https://doc.qt.io/qtcreator/creator-beautifier.html" target="_blank" title="open new window">beautifier plug-in</a>.
It can format source code within the editor or format an entire project. There is a help display available to
show the effect of each option.</p>
<p>
<a href="http://www.scintilla.org/SciTE.html" target="_blank" title="open new window"><strong>SciTE</strong></a>
is a Scintilla based source code editor. Originally built to demonstrate <a href="http://www.scintilla.org/"
target="_blank" title="open new window">Scintilla</a>, it has grown to be a generally useful editor with facilities
for building and running programs. It is currently available for Windows, Linux, and Mac OS operating systems.
The Linux and Mac versions are based on <a href="https://www.gtk.org/" target="_blank"
title="open new window">GTK+</a>.</p>
<p>
<a href="http://www.sublimetext.com/" target="_blank" title="open new window"><strong>Sublime Text</strong></a>
is a is a sophisticated text editor for code, markup and prose that includes Artistic Style as a plug-in. Nearly
everything in Sublime Text is customizable with simple JSON files. The plug-ins are Python based.
Sublime Text is available for Mac OS, Windows and Linux.</p>
<p>
<a href="https://sourceforge.net/projects/tide/" target="_blank" title="open new window"><strong>tIDE</strong></a>
is a full featured open source <a href="http://www.oracle.com/technetwork/java/" target="_blank" title="open new window">
Java</a> based integrated development environment. It is a small, powerful, quick, efficient, easy and open
framework to create 100% Java applications.</p>
<p>
<a href="http://www.ultraedit.com/" target="_blank" title="open new window"><strong>UltraEdit</strong></a> is
a commercial programmer&#39;s text editor for Microsoft Windows, Linux and Mac OS. It can be evaluated for free
for 30 days. Artistic Style is included in the Tools Toolbar. It includes an options dialog. The number of indent
spaces is passed to Artistic Style is based on the Indent Spaces value defined under Word Wrap/Tab Settings in
Configuration based on the file extension of the active file.</p>
<p>
<a href="http://www.visualstudio.com/" target="_blank" title="open new window"><strong>Visual Studio</strong></a><strong>,
AVR Studio and Atmel Studio</strong> are integrated development environments that use
<a href="http://visualstudiogallery.msdn.microsoft.com/2f3f04cd-2866-4e47-a671-d1cc9cc3fb02" target="_blank"
title="open new window">AStyle Extension</a>. This is an extension written in C# that formats
C/C++ and C# source code using Artistic Style. It can be installed in Visual Studio using the &quot;Tools&quot;
&gt; &quot;Extensions and Updates&quot; menu. Search the &quot;Online&quot; entry for &quot;astyle&quot;. The
source code is available on <a href=" https://github.com/Lukamicoder/astyle-extension" target="_blank" title="open new window">
GitHub</a>.</p>
<p>
<a href="https://code.visualstudio.com/" target="_blank" title="open new window"><strong>Visual Studio Code</strong></a>
is a programmer's code editor from Microsoft. It has an <a href="https://marketplace.visualstudio.com/items?itemName=chiehyu.vscode-astyle"
target="_blank" title="open new window">AStyle Extension</a> that will format source code using Artistic Style.
It can be installed from the Extensions panel in VS Code by searching for &quot;astyle&quot;. Or it can be downloaded
and installed from the <a href="https://marketplace.visualstudio.com/" target="_blank" title="open new window">Visual
Studio Marketplace</a>. Select the &quot;Visual Studio Code&quot; tab and search for &quot;astyle&quot;. It
adds entries to the default settings file which must be updated in the user settings file.
</p>
<p>
<a href="https://bitbucket.org/jtuc/winmerge2011/" target="_blank" title="open new window">
<strong>WinMerge 2011</strong></a> is a fork of the original WinMerge application published on SourceForge
by Thingamahoochie Software. It is a free software tool for data comparison and merging of files. It is useful
for determining what has changed between files and merging changes between versions. The ATL/MFC
dependencies have been removed&nbsp; and some useful features have been added. It uses Artistic Style to format
the source code. </p>
<h3>Graphical User Interfaces</h3>
<p>
Artistic Style is a command line program and, as such, does not give you a chance to review the effect of different
options before formatting the source code. The following Graphical User Interface program will allow you to review
the changes before the code is updated. They allow you to select the options you want without actually updating
the source.</p>
<p>
<a href="https://sourceforge.net/projects/astylewx.astyle.p/" target="_blank" title="open new window"><strong>Artistic
Style Wx</strong></a> is a GUI test program using wxWidgets. It uses an unmodified Artistic Style program
in a multi-platform environment. Everything done in the editor is undo-able, including formatting of the entire
document. Documents can be reviewed and reformatted using different options. A preview window shows the effect
of each option. The downloads contain source code, documentation, and an executable for the Windows version.
</p>
<h3>Other Programs</h3>
<p>
These programs were mentioned in previous versions of the News
or other documentation. They are included here for reference.</p>
<p>
<a href="https://github.com/google/googletest" target="_blank" title="open new window"><strong>Google Test</strong></a>
and <strong>Google Mock</strong> are frameworks for writing C++ tests on a variety of platforms. Based on the
xUnit architecture, it supports automatic test discovery, a rich set of assertions, user-defined assertions, death
tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests,
and XML test report generation. Google Mock is a library for writing and using C++ mock methods.</p>
<p>
<a href="https://gitlab.com/saalen/highlight/" target="_blank" title="open new window"><strong>Highlight</strong></a>
converts source code to formatted text with syntax highlighting. Output is in several formats including HTML.
It supports over 200 programming languages and includes various color themes. Highlight is used for the examples in
the "Developer Information" section.</p>
<p>
<a href="https://microsoft.github.io/PTVS/" target="_blank" title="open new window"><strong>Python Tools for Visual
Studio</strong></a> is a free, open source plug-in that turns Visual Studio into a Python IDE. It can be switched
between Python versions or different Python interpreters. It uses the Visual Studio integrated debugger that enables
you to set break points, step through functions, change the current statement, inspect local variables, and perform
other operations while debugging.</p>
<p>
<a href="https://github.com/mikr/whatstyle" target="_blank" title="open new window"><strong>whatstyle</strong></a>
finds a code format style that fits given source files. The program looks at your source code and generates a
style definition that fits its original formatting as closely as possible. Several formatters and several programming
languages are supported. </p>
<h3>Information</h3>
<p>The following links contain general information on coding and coding styles.</p>
<p>
<a href="http://en.wikipedia.org/wiki/Indent_style" target="_blank" title="open new window"><strong>Indent Style</strong></a>
at Wikipedia discusses the common indent styles used in programming. The basic criteria for most Artistic Style
predefined styles were taken from this discussion.</p>
<p>
<a href="http://en.wikipedia.org/wiki/Programming_style" target="_blank" title="open new window"><strong>Programming
style</strong></a> at Wikipedia is a set of rules or guidelines used when writing the source code for a computer
program. It is often claimed that following a particular programming style will help programmers to read and understand
source code conforming to the style, and help to avoid introducing errors.</p>
<h3>Style Guides</h3>
<p>
<a href="http://www.chromium.org/developers/coding-style" target="_blank" title="open new window"><strong>Chromium
style guide</strong></a> generally follows the Google Style Guide but has extensions beyond the Google style
guide. There is interesting information on common C++ Do's and Don'ts.</p>
<p>
<a href="https://code.google.com/p/google-styleguide/" target="_blank" title="open new window"><strong>Google style
guides</strong></a> have Google's standards for several programming languages along with a python program
to verify the style and an Emacs script for using the style.</p>
<p>
<a href="https://community.kde.org/Policies/Kdelibs_Coding_Style" target="_blank" title="open new window"><strong>
Kdelibs Coding Style</strong></a> describes the recommended coding style for kdelibs. It follows the Qt 4
coding style, with one main difference.</p>
<p>
<a href="http://llvm.org/docs/CodingStandards.html" target="_blank" title="open new window"><strong>LLVM coding standards</strong></a>
describe a few coding standards that are being used in the LLVM source tree.</p>
<p>
<a href="https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style" target="_blank" title="open new window">
<strong>Mozilla&#8217;s style guide</strong></a> explains the basic styles and patterns that are used in the
Mozilla codebase.</p>
<p>
<a href="http://qt-project.org/wiki/Qt_Coding_Style" target="_blank" title="open new window"><strong>Qt Coding Style</strong></a>
is an overview of the coding conventions used when writing Qt code.</p>
<h3>Other Links</h3>
<p>
These links were mentioned in previous versions of the News. They are included here for reference.</p>
<p>
<a href="vsinstall.html" target="_blank" title="open new window"><strong>Install Instructions for .NET Framework SDK</strong></a>
are instructions for adding x64 platforms to Visual Studio Express 2010. Express editions after 2010 have the
x64 platforms already installed. Visual Studio 2010 is the last edition that will work on Windows XP (platform
toolset v100). Visual Studio 2012 (platform toolset v110) and higher contains dependencies on Windows API functions
that exist only on Windows Vista, Windows 7, and Windows 8. This means that applications built with Visual Studio
2012 and higher would fail to load and execute on Windows XP.</p>
<p style="margin-left: -0.4in; text-align: center;">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a></p>
</body>
</html>
+607
View File
@@ -0,0 +1,607 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>Artistic Style - News</title>
</head>
<body>
<h1>Artistic Style News</h1>
<h3>Artistic Style 3.6 (August 2024)</h3>
<div class="container-fluid">
<p>
A new option &quot;--pad-include&quot; / &quot;--pad-include=none&quot; was added to add or remove space padding after include directives.
</p>
<p>
Some C++ related formatting issues were fixed, e.g. apply &quot;align-pointer=type&quot; only if type is not a multiplication operand.
</p>
<p>
Build files were updated to apply c++17 compilation flags.
</p>
</div>
<h3>Artistic Style 3.5 (June 2024)</h3>
<div class="container-fluid">
<p>
A new option &quot;--pad-negation&quot; / &quot;--pad-negation=before&quot; was added to add space padding around ! operators.
</p>
<p>
Some C++ related formatting issues were fixed, e.g. apply &quot;align-pointer=type&quot; only if type is present.
</p>
<p>
On Windows, the file endings are no longer automatically converted to <code>\r\n</code> when using piped streams.
</p>
</div>
<h3>Artistic Style 3.4 (June 2023)</h3>
<p>
A new option &quot;--indent-lambda&quot; was added to apply the lambda recognition only if applicable.
Currently complex lambda functions are not indented properly.
</p>
<p>
Some C# and C++ related formatting issues were fixed.
</p>
<p>
A new option to enable padding of empty pairs of parentheses was added: &quot;pad-empty-paren&quot;.
It can be combined with other parentheses padding options.<br>
The bracket padding options were enhanced by &quot;pad-brackets-in&quot; and &quot;pad-brackets-out&quot;.
</p>
<p>
Ignores files ending with backup suffix from input file names list.
</p>
<h3>Artistic Style 3.3 (May 2023)</h3>
<p>
The source code has been refactored to no longer use the std namespace globally.
</p>
<p>
Some features of &quot;modern C++&quot; are now supported, ie. lambda function arguments and array initializers
with braces.
</p>
<p>
Two new options to remove superfluous whitespace and empty lines were added: &quot;squeeze-ws&quot; and
&quot;squeeze-lines=#&quot; (parameter value is the number of empty lines to keep).
</p>
<p>
Two new options to add or remove whitespace around square brackets were added: &quot;pad-brackets&quot; and &quot;unpad-brackets&quot;.
</p>
<h3>Artistic Style 3.2 (March 2023)</h3>
<p>
The Artistic Style source code has been updated to use C++11 features. It will need Visual Studio 2015 or GCC
5 or higher to compile.</p>
<p>
A new option, &quot;style=webkit&quot;, has been added. It is similar to the Stroustrup brace style except the
'else' keyword is attached to the previous closing bracket.</p>
<p>
Various bugs were fixed, especially causing reformatting the code in repeated runs.
</p>
<p>
Deprecated options have been removed.
</p>
<p>
Maintainer list was updated.
</p>
<h3>Artistic Style 3.1 (January 2018)</h3>
<p>
The Windows default option file location has been changed from USERPROFILE to APPDATA. This
moves the file from the User directory and to the user's hidden AppData<strong>\</strong>Roaming directory. The
USERPROFILE location has been depreciated and will be removed in a future release. You will need to relocate the
options file manually, Artistic Style will not change it. If the options file is in both locations, the new APPDATA
location will be used.</p>
<p>
The console build now accepts option file input encoded in UTF-16, or UTF-8 with a Byte Order Mark (BOM or signature).
</p>
<p>
New options, &quot;break-return-type&quot; and &quot;break-return-type-decl&quot;, will break the return type
from function definitions and function declarations. Additional new options, &quot;attach-return-type&quot; and
&quot;attach-return-type-decl&quot;, will attach the broken return types to function definitions and function
declarations. There is more information in the &quot;Formatting Options&quot; section of the documentation.
</p>
<p>
A new option, &quot;style=ratliff&quot;, has been added as an alternate for banner style.</p>
<p>
Several changes have been made to <span style="white-space: nowrap;">Objective-C</span> which will improve formatting in certain cases.</p>
<p>
CMake can now be used to compile the AStyle builds. It is run from the top level folder instead of the
&quot;build&quot; folder, and builds a Release configuration by default. The &quot;Install Information&quot;
contains additional information. </p>
<p>
When formatting files from the command line, multiple file extensions may now be used. The file
extensions should be separated by commas or semicolons. For example, to format C++ files, use
&quot;astyle /home/project/*.cpp,*.h&quot;. This will change the processing sequence to format all requested files
in a directory rather than formatting a directory once for each file extension. There is additional information
in the &quot;Usage&quot; section of the documentation.
</p>
<p>
New options &quot;project&quot;, &quot;project=####&quot;, and &quot;project=none&quot;will allow the use of an
optional project option file. This may be used to supplement or replace the command line options and the default
option file. The file is identified by a file name only and resides in the top level folder of a project. The
default file names are .astylerc or _astylerc. A specific file name may also be specified. Instead of an
option, the environment variable ARTISTIC_STYLE_PROJECT_OPTION may be used. Using the environment variable
will make the project file the default for all projects. When formatting files in a project, the project option
file will be obtained from the files directory or a parent directory. The documentation has the details
in the &quot;Option Files&quot; section. The &quot;project&quot; option is described in the
&quot;Command Line Only&quot; section.</p>
<p>
Allowing both option files enables them to be used for different purposes. For example, the default
options could contain the file formatting options and the project options could contain the excludes for the
given project. The order of precedence, highest to lowest, is command line options, project options, and default
options. Options with a value (e.g. style=kr, indent=spaces) may be replaced by an option with a higher precedence.
The binary options (indent-classes, pad-oper) cannot be changed. Once they are set they stay set. Both the
default and project option files may be disabled if they are present and not required. When testing the
option files, the options &quot;verbose&quot; and &quot;dry-run&quot; may be used. The option files used
will be displayed by the "verbose" option.</p>
<p>
When making changes to more than one file in a project, it may be desirable to format an entire folder. Wildcards
may be used in a single folder without recursive. The current directory is used if a path is not given. So,
for example, to format all changed files in the current directory using the project options, use the command:
&quot;astyle --project -A9s *.cpp,*.h&quot;. This example uses the project option file .astylerc
or _astylerc and overrides the project options with the command line -A9s options.</p>
<p>
Language translations have been added for the new project option file. A few of the other messages were changed
as well. If there is a better translation available report the change as a bug report. Be sure to include the
new translation. Translations are in the ASLocalizer.cpp file.</p>
<p>
A new virtual method, getPeekStart(), has been added to the pure virtual class ASSourceIterator. If you have
inherited this class to access the formatter, you will need to add a method similar to getPeekStart() in the
ASStreamIterator class in astyle_main.h.</p>
<p>
The Artistic Style source code has been fuzz tested with American Fuzzy Lop (AFL) and libFuzzer from Clang. This
will help prevent crashes caused by invalid input. There were about 30 corrections made to the source code. Most
of the crashes were caused by asserts which would not be present in a release version. There were a couple of
corrections that required logic changes. The changes should not affect the way the code is formatted.</p>
<p>
The documentation file, astyle.html, now has a sticky button in the lower right corner. It appears after you
have scrolled past the Contents section. It is labeled &quot;Top&quot; but actually takes you back to the Contents.
The purpose is to improve speed in navigating the document. </p>
<p>
If you are using Windows XP, there is a download file available that has an XP compatible executable. Artistic
Style will still compile with Visual Studio 2010.</p>
<p>
Thanks to Rian Quinn, David Haney, and Tam&aacute;s Kurucsai for their contributions.</p>
<h3>Artistic Style 3.0 (April 2017)</h3>
<p>
Release 3.0.1 (May 2017) is a maintenance release and no new features were added. A list of changes is in
the Release Notes. The following information is for the original 3.0 release. Thanks to Juan Alday for his
contribution. </p>
<p>
In the Artistic Style documentation, in General Information, Other Considerations, there is a list of
terminology used for special characters used in programming. The terms used by Artistic Style have been
different than is used by Visual Studio, Clang, and others. In this release the terms used by Artistic Style
have been changed to the ones most commonly used in programming documentation. The following chart indicates
the changes.</p>
<center>
<table>
<thead>
<tr>
<td><strong>NEW</strong></td>
<td></td>
<td><strong>OLD</strong></td>
</tr>
</thead>
<tbody>
<tr>
<td>braces or curly braces</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;{ }&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>brackets</td>
</tr>
<tr>
<td>parens or round brackets</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;( )&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>parens</td>
</tr>
<tr>
<td>square brackets</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;[ ]&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>block parens</td>
</tr>
<tr>
<td>angle brackets</td>
<td>&nbsp;&nbsp;&nbsp;< >&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>angle brackets</td>
</tr>
</tbody>
</table>
</center>
<p>
Parens and angle brackets do not change. Brackets has been changed to braces. Block parens has been changed to
square brackets. Brackets can now collectively refer to the group containing round brackets (parens), square brackets,
and angle brackets. The documentation has been updated and the variable names in the source code have been
changed. </p>
<p>
There are four options affected by the change, &quot;break-closing-brackets&quot;, &quot;add-brackets&quot;, &quot;add-one-line-brackets&quot;,
and &quot;remove-brackets&quot;. These have been changed to the corresponding &quot;break-closing-braces&quot;,
&quot;add-braces&quot;, &quot;add-one-line-braces&quot;, and &quot;remove-braces&quot;. Also, the option &quot;max-instatement-indent&quot;
has been changed to &quot;max-continuation-indent&quot;. The old options and method names have been depreciated,
but will continue to be accepted for the next several releases. </p>
<p>
The source code now uses the C++11 standard. Compilers that need a standard declared should use C++11. Visual
Studio 2010 is currently still currently supported. The classes were made independent of the containing
source code files (the source files contain multiple classes). The dependency on global variables in the console
build was removed. </p>
<p>
A new option, &quot;indent-after-parens&quot;, will indent continuation lines following lines that contain an
opening paren &#39;(&#39; or an assignment &#39;=&#39;. This includes function definitions and declarations
and return statements. This option may be preferred for editors displaying proportional fonts.</p>
<p>
A new option, &quot;attach-closing-while&quot;, will attach the closing &quot;while&quot; of a
&quot;do-while&quot; statement to the closing brace. It has precedence over both the brace style and the break
closing braces option. </p>
<p>
The option &quot;break-closing-braces&quot; has been included in &quot;style=stroustrup&quot;. This is the
correct style according to <a href="https://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup" target="_blank"
title="open new window">Wikipedia</a>. The new option &quot;attach-closing-while&quot; is not included in
the style but can be used if you want. If there is a problem with the new format, change to the K&amp;R style
using the same options as for Stroustrup.</p>
<p>
If you are using Windows XP, there is a download file available that has an XP compatible executable. Artistic
Style will still compile with Visual Studio 2010.</p>
<p>
Thanks to Jochen Tucht and Matthew Woehlke for their contributions.</p>
<p>
The following are additional topics.</p>
<h4>Version 3</h4>
<p>
Artistic Style was written in the 1990&#39;s when personal computers were much slower and compilers were not as
sophisticated as today. It used a lot of global variables instead of class members. In previous releases, classes
were created for the astyle_main.h source code. With this release, the classes have been made independent
of the source file containing them and the shared and global data has been eliminated. The classes could now be
separated into separate source files. They have not been actually separated because it seems more convenient
to leave them combined.
</p>
<h4>Library File Names</h4>
<p>
The shared library object (DLL) compile was originally intended to be a local library used by a single program.
Users could update the library at their convenience. Recently, it has started being distributed as a system library
for some distributions. In the past was not maintained for doing this. Since it is already being offered as
a distribution, the library soname on Linux has been standardized. </p>
<p>
It can still be used as a local or a static library if you want to control the changes. Or the system library
can be used. The system library version, of course, may change at any time. With this release the system
library will be available on Debian based systems, as well as possibly others.</p>
<p>
The Windows library name has been changed also. This Windows version is AStyle30.dll. The &quot;30&quot; refers
to the Artistic Style release number &quot;3.0&quot;. The Linux library name is a soname version number, not the
Artistic Style release number.</p>
<h4>Artistic Style Wx</h4>
<p>
There is a new GUI test program AStyleWx that uses wxWidgets. This replaces the old AStyleWin program. AStyleWx
is multi-platform and has more features simply because they are easier to implement with wxWidgets.</p>
<p>
It has download files and a website in a new sub-project directory of Artistic Style. The downloads contain
source code, documentation, and scripts. The Windows download contains an executable. The needed Artistic Style
source files are included. </p>
<p>
It is licensed under the MIT license. The source code may be used and modified for any purpose you
choose. Developers using Artistic Style in another project may use any part of AStyleWx in their project. The
modified source code does NOT need to be made available to others.</p>
<h3>Artistic Style 2.06 (December 2016)</h3>
<p>
A new bracket style option, &quot;style=mozilla&quot;, has been added. It uses linux brackets with
opening brackets broken from classes, structs, enums, and function definitions. Brackets are attached to everything
else, including namespaces, arrays, and statements within a function.</p>
<p>
A new option, &quot;break-one-line-headers&quot; will break a header (if, while, else, etc...) from a following
statement on the same line. There is more information in the &quot;Formatting Options&quot; section
of the documentation.
</p>
<p>
A new option, &quot;pad-comma&quot;, will add a space following a comma. The option &quot;pad-oper&quot;
has not been changed and will also add a space following a comma.</p>
<p>
A new option, &quot;indent-continuation&quot;, will add extra indents to continuation lines following a line that
ends with an opening paren '(' or an assignment '='. This includes function definitions and declarations.
There is more information in the &quot;Indentation Options&quot; section of the documentation.</p>
<p>
All spaces before a comma are now removed. Use the &quot;disable formatting&quot; comment tags if there are arrays
with vertical alignment where this is not wanted.</p>
<p>
A correction has been made to the Pico style indentation of one line blocks. And there is a fix to always compute
the indentation of a one line block. If you use Pico style with an indentation greater than 2, you may have a
lot of changes made to the code.</p>
<p>
New <span style="white-space: nowrap;">Objective-C</span> options "pad-return-type" and &quot;unpad-return-type&quot; will add or remove space padding after
the <span style="white-space: nowrap;">Objective-C</span> return type in a method definition. They are described in the "<span style="white-space: nowrap;">Objective-C</span>" section of the
documentation.</p>
<p>
New <span style="white-space: nowrap;">Objective-C</span> options "pad-param-type" and &quot;unpad-param-type&quot; will add or remove space padding after
the <span style="white-space: nowrap;">Objective-C</span> parameter type in a method definition. They are described in the "<span style="white-space: nowrap;">Objective-C</span>" section of the
documentation.</p>
<p>
The <span style="white-space: nowrap;">Objective-C</span> &quot;align-method-colon&quot; option is now applied to <span style="white-space: nowrap;">Objective-C</span> method calls in
addition to method declarations and definitions. The method call colons will be aligned, if possible. If this
option is not declared, the method calls will align on the first keyword. See the astyle documentation for an
example.</p>
<p>
The <span style="white-space: nowrap;">Objective-C</span> &quot;align-method-colon&quot; has been changed for long keywords.
For multi-line arguments when the first keyword is shorter than the others the colons are aligned on the
longest line instead of the first line. The alignment includes room for the indentation. This aligns all colons
after the first line for a better appearance. Arguments that do not have a short keyword in the first line will
remain the same. This style conforms to the Google <span style="white-space: nowrap;">Objective-C</span> style.</p>
<p>
Processing for C++14 single-quote digit separators has been added.</p>
<p>
Translations have been added for Bulgarian, Estonian, Greek, Hungarian, Norwegian, and Romanian. The translations
were done with an automated translation program, Google Translate, so they may not be the best translation possible.
The translations are at the end of ASLocalizer.cpp in the form of an English-Translation pair. If you correct
a translation, send the source as a bug report and it will be included in the next release. To add a language,
see &quot;Internationalization&quot; in the &quot;General Information&quot; section of the documentation.</p>
<p>
The C# example, in the Developer Information has been updated. Objects for the AStyle callback functions are no
longer required. These have been removed and the delegates used instead.</p>
<p>
There is a new C# example in the Developer Information, that loads the AStyle shared library using explicit linking.
This allows the shared library name to be dynamically changed so that a program compiled with &quot;Any CPU&quot;
can load
either a 32-bit or 64-bit shared library at run-time. It runs on both Windows and Linux.</p>
<p>
Visual Studio Code, the text editor from Microsoft, has an Artistic Style extension. The extension runs from the
Visual Studio Code menu and is controlled by entries in the User Settings file. It can be installed from Visual
Studio Code. There are links to the websites on the Artistic Style Links page. </p>
<p>
Thanks to David Faure for his contribution.</p>
<p>
The following are additional topics.</p>
<h4>New Software License</h4>
<p>
The Artistic Style software license has changed. It is now under the MIT license. This is a permissive license
which can be used in proprietary software and does NOT require modified Artistic Style source code be made available.
It is compatible with the GNU General Public License (GPL) and most other software licenses. The change was made
to remove restrictions on using the software and to make it available for any project that wants to
use it.</p>
<h4>Visual Studio 2015, 2017, and 2019 UTF-8 Files</h4>
<p>
In order to be used on both Linux and Windows, the ASLocalizer.cpp UTF-8 file in Artistic Style does not
contain a Byte Order Mark (BOM). With Visual Studio 2015 there has been a change in how UTF-8 files
without a BOM are processed. The new procedure is described
<a href="https://blogs.msdn.microsoft.com/vcblog/2016/02/22/new-options-for-managing-character-sets-in-the-microsoft-cc-compiler/"
target="_blank" title="open new window">here</a>. It affects only the language translations in the &quot;.exe&quot;
file. The shared libraries and static libraries are not affected. It is necessary only if you are using a translation
other than English.</p>
<p>
In addition to the &quot;auto detect&quot; option in Tools &gt; Options... &gt; Text Editor &gt; General, an
additional compiler option is required. The option &quot;/source&#8209;charset:utf&#8209;8&quot; must be added
to the project properties at C++ &gt; Command Line &gt; Additional Options. Since the non&#8209;unicode files
in Artistic
Style are ASCII, the option can be applied to the entire project instead of just one file. This option has been
added in the files distributed with Artistic Style. There is also a new &quot;/validate&#8209;charset&quot; option,
which gets turned on automatically with the above option. This switch enables the validation of the UTF-8 input
files.</p>
<p>
This compiler option was not available until Update 2 of Visual Studio. If you are using an earlier version of
2015, a BOM should be added to the file using File &gt; &quot;Advanced Save Options&quot;. Change the encoding
to &quot;Unicode (UTF-8 with signature) - Codepage 65001&quot;. </p>
<p>
In the above &quot;Visual C++ Team Blog&quot; Microsoft mentions that in a future major release of the compiler,
they would like to change the default handling of BOM-less files to assume UTF-8.</p>
<h4>Assignment Operator Alignment</h4>
<p>
Visual Studio 2013 and 2015 have an Edit option &quot;Align Assignments&quot; that will align assignment operators
across multiple lines. There is also an extension named &quot;Code alignment&quot; that will align the code on
other items as well. Other development environments may have something similar. These will selectively align the
data and allow for customization of the format.</p>
<p>
These options and extensions can be used with Artistic Style. If you choose to do this, the space padding will
be maintained and the alignment will be preserved.</p>
<h4>Coding Styles</h4>
<p>
Coding style, or programming style, is a set of rules or guidelines used when writing the source code. It is
often claimed that following a particular programming style will help in reading and understanding source code
conforming to the style, and help to avoid introducing errors.</p>
<p>
This Artistic Style distribution has a new &quot;file&quot; folder containing AStyle options files for various
coding styles. Using the option files will give approximately the indicated coding style. The files can be used
as they are, or modified as desired.</p>
<h4>Artistic Style Wx</h4>
<p>
There is a new GUI test program AStyleWx that uses wxWidgets. This replaces the old AStyleWin program. AStyleWx
is multi-platform and has more features simply because they are easier to implement with wxWidgets.</p>
<p>
It has download files and a website in a new sub-project directory of Artistic Style. The downloads contain
source code, documentation, and scripts. The Windows download contains an executable. The needed Artistic Style
source files are included. </p>
<p>
It is licensed under the MIT license. The source code may be used and modified for any purpose you
choose. Developers using Artistic Style in another project may use any part of AStyleWx in their project. The
modified source code does NOT need to be made available to others.</p>
<h4>Windows XP</h4>
<p>
The executable in the Windows distribution package is now compiled with a Visual Studio version that will no
longer work on Windows XP. Beginning with Visual Studio 2012, auto-vectorization tries to make loops run
faster by automatically vectorizing the code. Auto-vectorization is on by default, and there are no compiler
switches, #pragmas, or hints to disable it. It uses SSE instructions not available in Windows XP. Microsoft ended
support and updates for XP on April 8, 2014, and the usage share percentage continues to decrease.</p>
<p>
To compile on a non-XP machine for use on XP, using a compiler other than Visual Studio should always
produce an XP executable. Using Visual Studio 2010 or earlier should always produce an XP executable. If
you are using Visual Studio 2012, 2013, or 2015 on a non-XP machine, do the following for the Artistic Style
configuration you want to use:</p>
<ul>
<li>&quot;Windows XP Support for C++&quot; must be installed. It is available as an option in the Visual Studio install
and can be installed as a modification to the current install.</li>
<li>In the Artistic Style Properties, change General &gt; Platform Toolset, to &quot;Windows XP&quot; for your Visual
Studio version.</li>
<li>In the Artistic Style Properties, change C/C++ &gt; Preprocessor &gt; Preprocessor Definitions to include
_USING_V110_SDK71_.</li>
<li>Change other Properties if you want, such as Output Directory or Target Name.</li>
<li>Compile. The output should be executable on Windows XP. It will also execute on the later versions of Windows.
</li>
</ul>
<p>
In newer releases of Visual Studio 2015, the &quot;Universal CRT&quot; files have been moved. There is a
notification <a href="https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/">here</a>.
To compile using XP there may need to be additional include and library directories added. If the compile gets
errors add the appropriate directories to the project properties.</p>
<h3>Artistic Style 2.05 (November 2014)</h3>
<p>
Release 2.05.1 (December 2014) is a maintenance release and no new features were added. A list of changes is in
the Release Notes. The following information is for the original 2.05 release.</p>
<p>
A new bracket style option, &quot;style=vtk&quot;, has been added. It uses indented brackets, like Whitesmith,
except opening brackets for classes, functions, and methods are not indented. A complete description of the VTK
style is available at the &quot;Visualization Toolkit&quot; website (http://www.vtk.org/).</p>
<p>
A new preprocessor indent option "indent-preproc-block" will indent preprocessor block statements one additional
indent. The block must be top-level, or included within a namespace, and there are restrictions on what can be
indented.
The option is described in the "Indentation Options" section of the documentation.</p>
<p>
A new option, "dry-run", will run Artistic Style without updating the files. The report will be output as
usual.</p>
<p>
Formatting of source code may now be disabled for portions of a program by embedding special comment tags in the
program. These are described in a new &quot;Disable Formatting&quot; section of the documentation. They work the
same as in other formatters. There are tags to disable formatting for a block of code, and a tag to disable formatting
of a single line. This should allow any custom formatting to be retained.</p>
<p>
The product version number has been added to the filename of shared library (DLL) compiles. This will allow multiple
versions of a shared library on the same system without conflicts.</p>
<p>
An attribute &#39;__attribute__ ((visibility (&quot;default&quot;)))&#39; has been added to exported functions
on Linux shared libraries. This allows the option &quot;-fvisibility=hidden&quot; to be used on dynamic library
compiles. According to the GNU documentation, &quot;Using this feature can very substantially improve linking
and load times of shared object libraries, produce more optimized code, provide near-perfect API export and prevent
symbol clashes. It is strongly recommended that you use this in any shared objects you distribute.&quot;</p>
<p>
Improvements have been made in the formatting of C++11 uniform initializers (enclosed by brackets). The opening
bracket will not be space padded unless it is padded initially. The closing bracket will not be broken from the
final line unless it is broken initially. And the known problems with uniform initializers in class constructors
have been fixed.</p>
<p>
The Windows compiler definition ASTYLE_NO_VCX (no Visual Studio exports) has been changed to ASTYLE_NO_EXPORTS.
It is sometimes needed for static libraries on other compilers to prevent error and warning messages.</p>
<p>
Qt and Boost macros foreach, forever, Q_FOREACH, and Q_FOREVER will now be recognized as headers.</p>
<p>
The main documentation for Artistic Style is in HTML format. Until now there has not been a way to display it
from the astyle console program. A new option, "html" or "-!" will display the help documentation in the default
browser. This documentation is more complete than the astyle "help" option. It includes examples, and has an index
for easier navigation. Since astyle is typically run from a script this should allow an easy way to access the
documentation. The option is available only from the command line.</p>
<p>
The new "html" option assumes the documentation is installed in the standard install path. This is /usr/share/doc/astyle/html
for Linux and the path %programfiles%\AStyle\doc for Windows. If it is installed to a different directory, use
the variation "html=&lt;actual_install_path&gt;astyle.html. This option can also be used to open other HTML files.
More information is in the "Command Line Only" section of the documentation.</p>
<p>
The "html" option on Linux uses the script "xdg-open" from the install package "xdg-utils" to find the default
browser. This should be available on most systems. If it is not available on your system you can file a
bug report requesting a change. It would be helpful if you could determine how it is done before filing the report.
You can also file a bug report if the documentation is not installed to the above "default" directories. The HTML
documentation takes quite a bit of effort to maintain and I would like to make it easily available.</p>
<p>
The "help" option has been changed to send the output to stdout instead of stderr. This will allow piping and
redirection of the output. A common way to use the option on Linux is "astyle --help | less", which
will page the display. The "version" option has also been changed to stdout.</p>
<p>
A shared library error handler argument has been changed from &quot;char*&quot; to &quot;const char*&quot;. In
some cases this may cause compile errors in a user program until the references have been changed.</p>
<p>
The "Indent Style" topic on Wikipedia states that the "ANSI" style refers to K&amp;R style brackets
and not Allman style as used by Artistic Style. The option "style=ansi" is therefore being deprecated and will
be removed in a future release. Use one of the other long options instead (style=allman, style=bsd, or
style=break).</p>
<p>
Some of the documentation has been removed from the distribution package. It still contains all files needed to
install and run Artistic Style. The included files can be used without an Internet connection.</p>
<p>
There are now build files available for Xcode on Mac. The makefile is still available for those who want it. Both
now use the LLVM Clang compiler. There has been a
change to the makefile debug locations to make them similar to Xcode. The &quot;Install Instructions&quot; have
been updated for both.</p>
<p>
The Python Example in the Developer Information now supports Iron Python. The
programming instructions are sometimes different since the ctypes module works differently. The example script
documents the differences. If you use Python Tools for Visual Studio, it now installs in the Express editions
(beginning with release 2.1). Node.js can also be installed in Visual Studio Express.</p>
<p>
The executable in the Windows distribution package is now compiled with Visual Studio 2013 and will no longer
work on XP. If you are using XP, Artistic Style will need to be recompiled on the XP machine.</p>
<p>
A new <a href="http://www.visualstudio.com/news/vs2013-community-vs" target="_blank" title="open new window">Visual
Studio Community Edition</a> has been released. It is free, combines all of the Express editions into a single
development environment, and allows the addition of Visual Studio extensions. There is an
<a href="https://visualstudiogallery.msdn.microsoft.com/2f3f04cd-2866-4e47-a671-d1cc9cc3fb02" target="_blank"
title="open new window">AStyle Extension</a> available for installation. It has a graphic interface, adds
menu entries, and can be used from within Visual Studio. To install it search the &quot;Extensions and Updates&quot;,
&quot;Online&quot; entry for &quot;astyle&quot;.</p>
<p>
Thanks to Peter A. Bigot, HyungKi Jeong, David Faure, and Carl Moore for their contributions.</p>
<p>
<strong>Previous releases are available in the
<a href="http://astyle.sourceforge.net/newsArchives.html">News Archives</a>.</strong>
</p>
<p style="margin-left: -0.4in; text-align: center;">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a>
</p>
</body>
</html>
File diff suppressed because it is too large Load Diff
+478
View File
@@ -0,0 +1,478 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>Artistic Style - Release Notes</title>
<script type="text/javascript">
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
if (document.body.scrollTop > 400 || document.documentElement.scrollTop > 400) {
document.getElementById("topBtn").style.display = "block";
} else {
document.getElementById("topBtn").style.display = "none";
}
}
function topFunction() {
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}
</script>
</head>
<body id="Contents">
<div id="slogan">Artistic Style</div>
<button onclick="topFunction()" id="topBtn" title="Go to top"><span class="menu-arrow">&#9650;</span> <b>Top</b></button>
<label for="responsive-button" class="responsive-button">Artistic Style Menu</label>
<input type="checkbox" id="responsive-button" role="button">
<nav class="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="astyle.html">Documentation</a></li>
<li><a href="">Release Info <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="news.html">News</a></li>
<li><a href="notes.html">Release Notes</a></li>
</ul>
</li>
<li><a href="">Installation <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="install.html">Install</a></li>
<li><a href="subversion.html">Source Repos</a></li>
<li><a href="http://sourceforge.net/projects/astyle/files/">Download</a></li>
</ul>
</li>
<li><a href="">Resources <span class="menu-arrow">&#9660;</span></a>
<ul>
<li><a href="scripts.html">Scripts</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="development.html">Developer Info</a></li>
</ul>
</li>
</ul>
</nav>
<main>
<header>
<h1>Artistic Style Release Notes</h1>
</header>
<section class="release-notes">
<article class="release">
<h3>Artistic Style 3.6.10 (July 2025)</h3>
<ul>
<li>Fix comment recognition after macro definition (https://sourceforge.net/p/astyle/bugs/600/ )</li>
<li>Fix indent of switch statements within structs (https://gitlab.com/saalen/astyle/-/issues/91)</li>
<li>Fix Win32 build</li>
<li>Improved lambda body indentation</li>
<li>Ignore lines with git conflict markers (https://gitlab.com/saalen/astyle/-/issues/88)</li>
<li>Replaced platform file functions by C++ filesystem library</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.9 (April 2025)</h3>
<ul>
<li>Fix --mode parameter in generation script</li>
<li>disable old isInTemplate flag only within structs (https://gitlab.com/saalen/astyle/-/issues/85)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.8 (March 2025)</h3>
<ul>
<li>Adjust --break-blocks to break structs and functions only with <i>all</i> option (https://gitlab.com/saalen/astyle/-/issues/83)</li>
<li>Fix space between pointer references with --align-pointer=type (https://sourceforge.net/p/astyle/bugs/594/)</li>
<li>Define &lt;&lt;&lt; and &gt;&gt;&gt; operators for Java only (https://sourceforge.net/p/astyle/bugs/595/)</li>
<li>Fix indentation of class modifiers within structs (https://sourceforge.net/p/astyle/bugs/585/)</li>
<li>Fix parsing of nested structs (https://sourceforge.net/p/astyle/bugs/586/)</li>
<li>Another approach to fix interpretation of closing nested templates as operator (https://gitlab.com/saalen/astyle/-/issues/69)</li>
<li>Fix indent of multiline strings with macros (https://gitlab.com/saalen/astyle/-/issues/82)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.7 (February 2025)</h3>
<ul>
<li>Add --error-on-changes option (https://gitlab.com/saalen/astyle/-/issues/68)</li>
<li>Add c++17 flags in VS2022 project files; avoid VS2022 compilation warnings</li>
<li>Prevent --squeeze-ws of removing whitespace before comments (https://gitlab.com/saalen/astyle/-/issues/74)</li>
<li>Adjust --pad-include to ignore macros in include directives (https://gitlab.com/saalen/astyle/-/issues/73)</li>
<li>Adjust --pad-include section in the docs (https://gitlab.com/saalen/astyle/-/issues/78)</li>
<li>Fix interpretation of closing nested templates as operator (https://gitlab.com/saalen/astyle/-/issues/69)</li>
<li>Use standard filesystem API to retrieve absolute file paths (https://gitlab.com/saalen/astyle/-/issues/79)</li>
<li>Add operator --preserve-ws (https://gitlab.com/saalen/astyle/-/issues/78)</li>
<li>Disable --unpad-paren in structs for leading whitespace (https://gitlab.com/saalen/astyle/-/issues/80)</li>
<li>Do not remove space after opening parens and align-pointer=type (https://sourceforge.net/p/astyle/bugs/584)</li>
<li>Fix issue with --pad-oper and *= operand (https://gitlab.com/saalen/astyle/-/issues/81)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.6 (December 2024)</h3>
<ul>
<li>Fix indent after assignment operators (correct cause) (https://gitlab.com/saalen/astyle/-/issues/61)</li>
<li>Adjust delete-empty-lines feature description (https://sourceforge.net/p/astyle/bugs/517/)</li>
<li>Support non-English versions of VS2022 in CMakeLists</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.5 (November 2024)</h3>
<ul>
<li>Add option --accept-empty-list (https://sourceforge.net/p/astyle/tickets/70/)</li>
<li>Fix indent regression due to method extraction (https://gitlab.com/saalen/astyle/-/issues/63)</li>
<li>Fix indent in blocks after assignment operators (https://gitlab.com/saalen/astyle/-/issues/62)</li>
<li>Fix indent of multi line strings after preprocessor or comment sections (https://gitlab.com/saalen/astyle/-/issues/65)</li>
<li>Fix indent after assignment operators (https://gitlab.com/saalen/astyle/-/issues/61)</li>
<li>Fix --align-pointer=middle with existing whitespace (https://sourceforge.net/p/astyle/tickets/124/)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.4 (October 2024)</h3>
<ul>
<li>Fix indent of brace initializers within constructor init list (https://sourceforge.net/p/astyle/bugs/467/)</li>
<li>Improve indent of continued string literals (https://sourceforge.net/p/astyle/bugs/172/)</li>
<li>Fix space after opening paren for GSC (https://gitlab.com/saalen/astyle/-/issues/55)</li>
<li>Update astyle.html layout</li>
<li>Add deprecation hint for --html</li>
<li>Update install docs</li>
<li>Delete old IDE project files</li>
<li>Move build/cmake scripts content into main CMakeLists.txt</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.3 (October 2024)</h3>
<ul>
<li>Fix indent after single open parenthse (https://gitlab.com/saalen/astyle/-/issues/45)</li>
<li>Fix padding of operator char * methods (https://sourceforge.net/p/astyle/bugs/273/)</li>
<li>Fix padding of user defined type cast (https://sourceforge.net/p/astyle/bugs/250/)</li>
<li>Fix bitfield line break with macros (https://sourceforge.net/p/astyle/bugs/148/ )</li>
<li>Fix GSC modulo padding (https://gitlab.com/saalen/astyle/-/issues/55)</li>
<li>Removed flawed option --add-braces=nested (https://gitlab.com/saalen/astyle/-/issues/27)</li>
</ul>
</article>
<!-- Continue with more releases... -->
<!-- I've truncated this for brevity, but in the actual implementation, I'd include all releases -->
<article class="release">
<h3>Artistic Style 3.6.2 (September 2024)</h3>
<ul>
<li>Reverted alignment of user defined types using --align-pointer (https://gitlab.com/saalen/astyle/-/issues/35)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6.1 (September 2024)</h3>
<ul>
<li>Fix setting of --pad-negation and --pad-include options (https://sourceforge.net/p/astyle/bugs/580/)</li>
<li>Fix --pad-include with UTF-8 BOM (https://sourceforge.net/p/astyle/bugs/580/)</li>
<li>Improve multiplication recognition with --align-pointer=type (https://sourceforge.net/p/astyle/bugs/572/)</li>
<li>Improve --align-pointer=type after parens and brackets (https://sourceforge.net/p/astyle/bugs/578/)</li>
<li>Removed VMS compilation options</li>
<li>Updated JNI interface to use Arduino IDE conventions</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.6 (August 2024)</h3>
<ul>
<li>Add option --pad-include (https://sourceforge.net/p/astyle/tickets/117/)</li>
<li>Combined GHC and GSC style options</li>
<li>Improve combination of --align-pointer=type and --pad-oper (https://sourceforge.net/p/astyle/bugs/578/)</li>
<li>Improve multiplication recognition with --align-pointer=type (https://sourceforge.net/p/astyle/bugs/572/)</li>
<li>Update compiler options in build files</li>
<li>Fix indent of assignments within macros ( https://gitlab.com/saalen/astyle/-/issues/47)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.5.2 (July 2024)</h3>
<ul>
<li>Fix library compilation errors (https://gitlab.com/saalen/astyle/-/issues/48)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.5.1 (June 2024)</h3>
<ul>
<li>Fix crash concerning macro continuation (https://sourceforge.net/p/astyle/bugs/574)</li>
<li>Fix EOL handling for Windows builds (https://gitlab.com/saalen/astyle/-/issues/43)</li>
<li>Fix GSC comment recognition (https://gitlab.com/saalen/astyle/-/issues/46)</li>
<li>Fix MSVC compiler warnings (https://sourceforge.net/p/astyle/bugs/575)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.5 (June 2024)</h3>
<ul>
<li>Add option --pad-negation (https://sourceforge.net/p/astyle/bugs/571)</li>
<li>Apply align-pointer=type only if type is present (https://sourceforge.net/p/astyle/bugs/573)</li>
<li>Avoid deletion of empty lines after continuation (https://sourceforge.net/p/astyle/bugs/574)</li>
<li>Fix alignment of logical AND operators (https://sourceforge.net/p/astyle/bugs/572)</li>
<li>Fix recognition of Java/C# multi line strings (https://gitlab.com/saalen/astyle/-/issues/42)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.16 (May 2024)</h3>
<ul>
<li>Fix padding of scientific notation literals (#570)</li>
<li>Fix of reference args alignment (https://gitlab.com/saalen/astyle/-/issues/35)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.15 (May 2024)</h3>
<ul>
<li>Fix parsing of floating point literals (#566)</li>
<li>Fix "--break-block" handling of class and function blocks (#569)</li>
<li>Fix "--align-pointer=type" option for all types in lambda parameter lists (https://gitlab.com/saalen/astyle/-/issues/35)</li>
<li>Fix padding of lambda capture with align-pointer option</li>
<li>Exclude files ending with backup suffix from input file names list (#560)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.14 (April 2024)</h3>
<ul>
<li>Fix split references with "-k1" option (#565)</li>
<li>Fix "--align-pointer=type" option for fundamental types in lambda parameter lists (https://gitlab.com/saalen/astyle/-/issues/35)</li>
<li>Fix "--indent-after-parens" indent count (https://gitlab.com/saalen/astyle/-/issues/29)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.13 (March 2024)</h3>
<ul>
<li>Fix comment indent after string macro with R suffix (https://gitlab.com/saalen/astyle/-/issues/39)</li>
<li>Do not break single line block after enum in mozilla mode (https://gitlab.com/saalen/astyle/-/issues/38)</li>
<li>Adjust cmake policy for new versions only (https://gitlab.com/saalen/astyle/-/issues/40)</li>
<li>Update man page path</li>
<li>Add support for scikit-build-core</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.12 (February 2024)</h3>
<ul>
<li>Add "--pad-brackets-in" and "--pad-brackets-out" options (https://gitlab.com/saalen/astyle/-/issues/33)</li>
<li>Fix indentation of initializer lists (https://gitlab.com/saalen/astyle/-/issues/28)</li>
<li>Fix crash with "--add-braces=nested" applied to if-else blocks (https://gitlab.com/saalen/astyle/-/issues/36)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.11 (January 2024)</h3>
<ul>
<li>Add new option "--add-braces=nested" to add braces in nested single line statements (https://gitlab.com/saalen/astyle/-/issues/27)</li>
<li>Fix indent after double template brackets (https://gitlab.com/saalen/astyle/-/issues/28)</li>
<li>Fix indent after dot (https://gitlab.com/saalen/astyle/-/issues/28)</li>
<li>Option "--squeeze-lines=1" is no longer default with Linux builds (#559)</li>
<li>Add experimental GHC mode (https://gitlab.com/saalen/astyle/-/issues/31)</li>
<li>Fix indent after raw string (https://gitlab.com/saalen/astyle/-/issues/32)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.10 (October 2023)</h3>
<ul>
<li>Fix missing indent in function parameter list (https://gitlab.com/saalen/astyle/-/issues/16)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.9 (October 2023)</h3>
<ul>
<li>Apply one wording for <span style="white-space: nowrap;">Objective-C</span> in the docs</li>
<li>Fix more CS regressions (https://gitlab.com/saalen/astyle/-/issues/16)</li>
<li>Fix inserting space with combined "--pad-oper" and "--align-pointer" options (#557)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.8 (September 2023)</h3>
<ul>
<li>Fix lambda broken brace after auto keyword (#554)</li>
<li>Fix line break after comment in asm block (#226)</li>
<li>Fix padding of multiply operator (#126)</li>
<li>Fix indentation of method calls (#434)</li>
<li>Fix empty line after closing while block (https://gitlab.com/saalen/astyle/-/issues/18)</li>
<li>Add outer padding for empty parens pairs (https://gitlab.com/saalen/astyle/-/issues/19) </li>
<li>Fix more CS regressions (https://gitlab.com/saalen/astyle/-/issues/16)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.6 (August 2023)</h3>
<ul>
<li>Add VS2022 project files (https://gitlab.com/saalen/astyle/-/merge_requests/3)</li>
<li>Fix CS regressions (https://gitlab.com/saalen/astyle/-/issues/16)</li>
<li>Add CS coalesce assignment operator (https://gitlab.com/saalen/astyle/-/issues/17)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4.1 (August 2023)</h3>
<ul>
<li>Fix padding of &amp; following a comma (#552)</li>
<li>Fix indent of function declarations following access modifiers (#504)</li>
<li>Fix indent of C# allocation blocks (#464)</li>
<li>Fix indentation of comments after CS interpolation quotes (https://gitlab.com/saalen/astyle/-/issues/16)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.4 (June 2023)</h3>
<ul>
<li>Fix formatting of CS interpolation literals (https://gitlab.com/saalen/astyle/-/issues/8).</li>
<li>Fix false lambda recognition (https://gitlab.com/saalen/astyle/-/issues/11)</li>
<li>Fix indentation of member declarations (https://gitlab.com/saalen/astyle/-/issues/10)</li>
<li>Fix indentation of struct assignments (https://gitlab.com/saalen/astyle/-/issues/12)</li>
<li>Add new option "--indent-lambda" to enable new lambda recognition (https://gitlab.com/saalen/astyle/-/issues/7)</li>
<li>Add link to astyle Python distribution projects (https://gitlab.com/saalen/astyle/-/issues/6)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.3 (May 2023)</h3>
<ul>
<li>Add new option "--squeeze-ws" to remove superfluous whitespace (experimental)</li>
<li>Add new option "--squeeze-lines" to remove superfluous empty lines (experimental, #19, #22, #43, #72, #84, #93, #105, #517)</li>
<li>Add new options "--pad-brackets" and "--unpad-brackets" to add or remove whitespace around square brackets (experimental)</li>
<li>Fix indent of lambda bodies in fct calls (#121)</li>
<li>Fix indent of struct names including &quot;struct&quot; (#526)</li>
<li>Fix indent of C++11 initializer lists (#516)</li>
<li>Fix padding of pointers separated by comma (#537)</li>
<li>Refactor namespace std usage</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.2.1 (March 2023)</h3>
<ul>
<li>Fix struct recognition related to SF #534 (https://gitlab.com/saalen/astyle/-/issues/1)</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.2 (March 2023)</h3>
<ul>
<li>Add new option "style=webkit" for the WebKit brace style.</li>
<li>Improve recognition of pointer variable types.</li>
<li>Change CMake files to the &quot;modern&quot; format.</li>
<li>Fix formatting of raw string literals with the opening &#39;(&#39; at the end of line (#519).</li>
<li>Fix indentation of comments in a preprocessor define indented with tabs (#506).</li>
<li>Fix vector limit segfault with g++-8, recursive, and -D_GLIBCXX_ASSERTIONS (#503).</li>
<li>Refactoring:
<ul>
<li>Extract new method for options in ASOptions class to avoid compiler limits.</li>
<li>Change vector push_back to emplace_back except for vector&lt;bool&gt;.</li>
<li>Changes from clang-tidy to modernize code.</li>
</ul>
</li>
<li>added man page</li>
<li>removed deprecated options</li>
<li>added shell completion scripts</li>
<li>added &quot;--mode=js&quot; option</li>
<li>added INVALID_TYPE constant</li>
<li>removed upper limit of &quot;max-continuation-indent&quot;</li>
<li>fixed raw string parsing (#535)</li>
<li>fixed recognition of rvalue operator as reference (#543)</li>
<li>fixed reverting effect of AttachReturnType option (#527)</li>
<li>fixed padding of dereference operator (#544)</li>
<li>added C++ spaceship operator (#538)</li>
<li>fixed case indent after enum return value (#550)</li>
<li>fixed space deletion when aligning ref value name (#546)</li>
<li>fixed reverting effect of maxCodeLength and AttachReturnType options (#545)</li>
<li>fixed break of continued preprocessor strings with colon (#533)</li>
<li>fixed struct bitfield indentation (#534)</li>
<li>replace PATH_MAX by realpath (#549)</li>
<li>fixed negative integer literal breaks initializer list (#485)</li>
<li>fixed documentation of --delete-empty-lines short option (#508)</li>
<li>fixed project file search (#541)</li>
<li>fixed indent of ObjectiveC statements (#525)</li>
<li>fixed parsing of C# interpolation strings (#483)</li>
<li>fixed break-blocks format after struct (#518)</li>
<li>fixed project file search with wildcard input paths (https://gitlab.com/saalen/astyle/-/issues/1)</li>
<li>https://sourceforge.net/p/astyle/tickets/130/ better description for stat errors</li>
<li>https://sourceforge.net/p/astyle/tickets/129/ applied IT localization patch</li>
<li>improved DE localization</li>
</ul>
</article>
<article class="release">
<h3>Artistic Style 3.1 (January 2018)</h3>
<ul>
<li>Add new options "project", "project=####", and "project=none" (#11).</li>
<li>Add new options, &quot;break-return-type&quot; and &quot;break-return-type-decl&quot; (#358, 286, 205, 16).</li>
<li>Add new options, &quot;attach-return-type&quot; and &quot;attach-return-type-decl&quot; (#358, 286, 205, 16).</li>
<li>Add new option "style=ratliff", as an alternate name for banner style.</li>
<li>Add new environment variable ARTISTIC_STYLE_PROJECT_OPTIONS (#11).</li>
<li>Add multiple extensions to the command line file paths option.</li>
<li>Improve recognition of unary + and - when using pad-oper.</li>
<li>Change the Windows default options file location from USERPROFILE to APPDATA.</li>
<li>Change options file input to accept UTF-16, or UTF-8 with a BOM (or signature).</li>
<li>Change &quot;unsigned short&quot; data type to c++11 &quot;char16_t&quot;.</li>
<li>Change translations for new project options file.</li>
<li>Fix utf8LengthFromUtf16() calculation being less than the actual length.</li>
<li>Fix multiply followed by a dereference for &quot;align-pointer=type&quot;.</li>
<li>Fix recognition of a uniform class initializer in a base class initialization (#441).</li>
<li>Fix indentation of "volatile" keyword not used in a method definition (#450).</li>
<li>Fix indentation of "final" keyword not used in a method definition (#450).</li>
<li>Fix indentation of compound literals in an argument list (#456).</li>
<li>Fix indentation of trailing return type method following a constructor (#463).</li>
<li>Fix space padding of closing brace before a dot (#468).</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> to allow for &quot;Extern C&quot; statements in the source files (#443, 444, 446).</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> to allow for method definitions without a specified return type (#447).</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> to allow for method definitions with multiple param types.</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> to replace tabbed padding with a space.</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> formatting of line-end comments with &quot;unpad-return-type&quot;.</li>
<li>Fix <span style="white-space: nowrap;">Objective-C</span> &quot;align-method-colon&quot; to ignore ternary (?) operators.</li>
<li>Fix C# base class constructor indentation (#459).</li>
<li>Fix C# indentation of method declaration containing a colon (#465)</li>
<li>Fix C/C++ to allow &quot;interface&quot; as a non-keyword (#445).</li>
<li>Fix Java to allow &quot;default&quot; as a non-switch keyword.</li>
<li>Fix line ends initialization if no line end has been read.</li>
<li>Fix Java build from including ASLocalizer in the shared library.</li>
<li>Fix to check for AStyleWx line tags after C style comments.</li>
<li>Fix boundary conditions and other errors discovered by fuzzing.</li>
<li>Refactoring:
<ul>
<li>Extract method isNumericVariable() in ASFormatter class.</li>
<li>Extract method isTopLevel() in ASBeautifier class.</li>
<li>Extract method fileExists() in Console class.</li>
<li>Rename ASEncoding variable from &quot;utf8_16&quot; to &quot;encode&quot;.</li>
<li>Rename ASBeautifier vector from squareBracketDepthStack to parenDepthStack.</li>
<li>Combine style options in ASOptions class to avoid compiler limits.</li>
</ul>
</li>
</ul>
</article>
<p class="archive-link">
<strong>Previous releases are available in the <a href="notesArchives.html">Release Notes Archives</a>.</strong>
</p>
</section>
<footer>
<p class="sourceforge-logo">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="SourceForge Logo" />
</a>
</p>
</footer>
</main>
</body>
</html>
File diff suppressed because it is too large Load Diff
+82
View File
@@ -0,0 +1,82 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Artistic Style - Scripts</title>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Artistic Style Scripts</h1>
<p>
The following are scripts to support the Artistic Style program. They are in various computer languages for multiple
platforms.</p>
<h3>Scripts</h3>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/astyle-clean.py.zip" target="_blank" title="open new window">
<strong>astyle-clean.py</strong></a>&nbsp; is a <strong>Python script</strong> to clean a directory tree by
moving Artistic Style backup files to a separate directory. This allows Artistic Style to create backup files
without cluttering your source directories. There are four variables at the start of the script that need to be
set for each application. The script will move or copy backup files to a backup directory maintaining the original
directory structure. New backup files will be copied over the old so you will always have the most current
backup.</p>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/astyle-clean.sh.zip" target="_blank" title="open new window">
<strong>astyle-clean.sh</strong></a>&nbsp; is a <strong>Linux shell script</strong> to clean a directory tree
by moving Artistic Style backup files to a separate directory. This allows Artistic Style to create backup files
without cluttering your source directories. There are four variables at the start of the script that need to be
set for each application. The script will move or copy backup files to a backup directory maintaining the original
directory structure. New backup files will be copied over the old so you will always have the most current
backup.</p>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/astyle-clean.bat.zip" target="_blank" title="open new window">
<strong>astyle-clean.bat</strong></a>&nbsp; is a <strong>Windows batch file</strong> to clean a directory
tree by moving Artistic Style backup files to a separate directory. This allows Artistic Style to create backup
files without cluttering your source directories. There are four variables at the start of the script that need
to be set for each application. The script will move or copy backup files to a backup directory maintaining the
original directory structure. New backup files will be copied over the old so you will always have the most current
backup.</p>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/astyle.pl.zip" target="_blank" title="open new window">
<strong>astyle.pl</strong></a>&nbsp; is a <strong>Mac Perl script</strong> to indent source files in TextWrangler
and BBEdit using Artistic Style. Selected text from the editor can be passed to Artistic Style and replaced with
the reformatted text. Save the script in the "Unix Filters" directory (you need to restart TextWrangler to see
new scripts). Then simply highlight the text you would like to indent, choose the script from the Shebang (<code>#!</code>)
menu, and the text will be immaculately formatted. You can add Artistic Style options to the "my $astyle" line
in the script.</p>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/indent-commit.pl.zip" target="_blank" title="open new window">
<strong>indent-commit.pl</strong></a>&nbsp; is a <strong>Perl script</strong> to integrate Artistic Style
with a CVS repository check-in. Before code is checked in, Artistic Style is automatically called so that the
repository files have a consistent style. This script was posted on the web site several years ago and probably
needs to be updated.</p>
<p>
<a href="https://sourceforge.net/projects/astyle/files/OldFiles/scripts/astyle-hooks.el.zip" target="_blank" title="open new window">
<strong>astyle-hooks.el</strong></a>&nbsp; is an <strong>Emacs Lisp script</strong> containing hooks to convert
Emacs default styles to Artistic Style default styles. There are hooks for C++, Java, and C# files. The C# hook
requires the csharp-mode.el file from <a href="https://code.google.com/p/csharpmode/" target="_blank" title="open new window">
csharpmode</a> on Google Project Hosting. For best results Artistic Style should use the options &#8209;&#8209;min&#8209;conditional&#8209;indent=0
(&#8209;m0) and &#8209;&#8209;max&#8209;continuation&#8209;indent=50 (&#8209;M50). Emacs does not seem to have
an option equivalent to these. The formatting for Emacs and Artistic Style will not be identical, but should be
reasonably close.</p>
<p>
&nbsp;</p>
<p style="margin-left: -0.4in; text-align: center;">
<a href="http://sourceforge.net/projects/astyle">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a></p>
<p>
&nbsp;</p>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More