Changeset 13 in pacpussensors for trunk/NewComponent.bat
- Timestamp:
- Jul 1, 2013, 1:20:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NewComponent.bat
r12 r13 2 2 setlocal ENABLEDELAYEDEXPANSION 3 3 4 set DebugOutput= 14 set DebugOutput=0 5 5 set ExampleComponent=ExampleComponent 6 6 … … 83 83 ) 84 84 85 ::cmake-manual-changes 86 echo NOTE: 87 echo You have to add line: 88 echo add_subdirectory(%_componentDir%) 89 echo to the root CMakeLists.txt. 90 85 91 goto:EOF 86 92 … … 94 100 :: Note: Use variable NAMES in the CALL, not values (pass "by reference") 95 101 96 SET _UCase=A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 97 SET _LCase=a b c d e f g h i j k l m n o p q r s t u v w x y z 98 SET _Lib_UCase_Tmp=!%1! 99 IF /I "%0"==":UCase" SET _Abet=%_UCase% 100 IF /I "%0"==":LCase" SET _Abet=%_LCase% 101 FOR %%Z IN (%_Abet%) DO ( 102 SET _Lib_UCase_Tmp=!_Lib_UCase_Tmp:%%Z=%%Z! 102 set _UCase=A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 103 set _LCase=a b c d e f g h i j k l m n o p q r s t u v w x y z 104 set _Lib_UCase_Tmp=!%1! 105 if /I "%0"==":UCase" ( 106 set _Abet=%_UCase% 103 107 ) 104 SET %2=%_Lib_UCase_Tmp% 105 GOTO:EOF 108 if /I "%0"==":LCase" ( 109 set _Abet=%_LCase% 110 ) 111 for %%Z in (%_Abet%) do ( 112 set _Lib_UCase_Tmp=!_Lib_UCase_Tmp:%%Z=%%Z! 113 ) 114 set %2=%_Lib_UCase_Tmp% 115 goto:EOF
Note:
See TracChangeset
for help on using the changeset viewer.