Skip to content

Commit 8eb4566

Browse files
committed
2 parents b6736ad + 057bfdd commit 8eb4566

14 files changed

Lines changed: 113 additions & 3 deletions

File tree

CB-Template/autoinstall/autoinstall.iss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,16 @@ Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
5252
Name: "arabic"; MessagesFile: "compiler:Languages\Arabic.isl"
5353
Name: "korea"; MessagesFile: "compiler:Languages\Korean.isl"
5454

55+
[CustomMessages]
56+
CbOverwriteDescription = Overwrite C::B template configuration (v.17.12)
57+
ru.CbOverwriteDescription = Перезаписать конфигурацию шаблонов C::B (v.17.12)
58+
59+
[Tasks]
60+
Name: "installcbconfig"; Description: {cm:CbOverwriteDescription}; Flags: unchecked
61+
5562
[Files]
56-
Source: "..\CodeBlocks\*"; Check: GetCodeblocksTemplateDestination; DestDir: "{code:TemplateDestination}"; Flags: ignoreversion recursesubdirs createallsubdirs
63+
Source: "src\CodeBlocks\*"; Check: GetCodeblocksTemplateDestination; DestDir: "{code:TemplateDestination}"; Flags: ignoreversion recursesubdirs createallsubdirs
64+
Source: "src\CodeBlocks.config\*"; Check: GetCodeblocksTemplateDestination; DestDir: "{code:TemplateDestination}"; Tasks: installcbconfig; Flags: ignoreversion recursesubdirs createallsubdirs
5765

5866
[Code]
5967
254 Bytes
Binary file not shown.
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/*
2+
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3+
* http://www.gnu.org/licenses/gpl-3.0.html
4+
*
5+
* $Revision: 10722 $
6+
* $Id: config.script 10722 2016-01-28 14:39:15Z mortenmacfly $
7+
* $HeadURL: svn+ssh://killerbot@svn.code.sf.net/p/codeblocks/code/branches/release-17.xx/src/plugins/scriptedwizard/resources/config.script $
8+
*/
9+
10+
//
11+
// Main wizards configuration script.
12+
// Here, we register all the available wizards.
13+
//
14+
15+
function RegisterWizards()
16+
{
17+
//
18+
// project wizards
19+
//
20+
RegisterWizard(wizProject, _T("empty"), _T("Empty project"), _T("Console"));
21+
RegisterWizard(wizProject, _T("fortran/app"), _T("Fortran application"), _T("Fortran"));
22+
RegisterWizard(wizProject, _T("fortran/lib"), _T("Fortran library"), _T("Fortran"));
23+
RegisterWizard(wizProject, _T("fortran/dll"), _T("Fortran DLL"), _T("Fortran"));
24+
RegisterWizard(wizProject, _T("console"), _T("Console application"), _T("Console"));
25+
RegisterWizard(wizProject, _T("d"), _T("D application"), _T("D language"));
26+
if (PLATFORM == PLATFORM_MSW)
27+
{
28+
RegisterWizard(wizProject, _T("directx"), _T("Direct/X project"), _T("2D/3D Graphics"));
29+
RegisterWizard(wizProject, _T("dll"), _T("Dynamic Link Library"), _T("Console"));
30+
RegisterWizard(wizProject, _T("sys"), _T("Kernel Mode Driver"), _T("Native"));
31+
}
32+
RegisterWizard(wizProject, _T("ndk_android"), _T("NDK Android"), _T("Native"));
33+
RegisterWizard(wizProject, _T("fltk"), _T("FLTK project"), _T("GUI"));
34+
RegisterWizard(wizProject, _T("glfw"), _T("GLFW project"), _T("2D/3D Graphics"));
35+
RegisterWizard(wizProject, _T("glut"), _T("GLUT project"), _T("2D/3D Graphics"));
36+
RegisterWizard(wizProject, _T("gtk"), _T("GTK+ project"), _T("GUI"));
37+
RegisterWizard(wizProject, _T("irrlicht"), _T("Irrlicht project"), _T("2D/3D Graphics"));
38+
RegisterWizard(wizProject, _T("java"), _T("Java application"), _T("Java"));
39+
RegisterWizard(wizProject, _T("lf"), _T("Lightfeather project"), _T("2D/3D Graphics"));
40+
RegisterWizard(wizProject, _T("matlab_csf"), _T("Matlab project"), _T("Console"));
41+
RegisterWizard(wizProject, _T("opencv"), _T("OpenCV project"), _T("Console"));
42+
RegisterWizard(wizProject, _T("opengl"), _T("OpenGL project"), _T("2D/3D Graphics"));
43+
RegisterWizard(wizProject, _T("ogre"), _T("Ogre project"), _T("2D/3D Graphics"));
44+
RegisterWizard(wizProject, _T("plugins"), _T("Code::Blocks plugin"), _T("Code::Blocks"));
45+
RegisterWizard(wizProject, _T("qt4"), _T("QT4 project"), _T("GUI"));
46+
RegisterWizard(wizProject, _T("qt4dll"), _T("QT4 (shared) project"), _T("GUI"));
47+
RegisterWizard(wizProject, _T("qt5"), _T("QT5 project"), _T("GUI"));
48+
RegisterWizard(wizProject, _T("sdl"), _T("SDL project"), _T("2D/3D Graphics"));
49+
RegisterWizard(wizProject, _T("sdl2"), _T("SDL2 project"), _T("2D/3D Graphics"));
50+
RegisterWizard(wizProject, _T("sfml"), _T("SFML project"), _T("2D/3D Graphics"));
51+
if (PLATFORM == PLATFORM_MSW)
52+
RegisterWizard(wizProject, _T("smartwin"), _T("SmartWin project"), _T("GUI"));
53+
RegisterWizard(wizProject, _T("staticlib"), _T("Static library"), _T("Console"));
54+
if (PLATFORM == PLATFORM_MSW)
55+
RegisterWizard(wizProject, _T("stlport"), _T("STL port application"), _T("Console"));
56+
RegisterWizard(wizProject, _T("sharedlib"), _T("Shared library"), _T("Console"));
57+
if (PLATFORM == PLATFORM_MSW)
58+
RegisterWizard(wizProject, _T("win32gui"), _T("Win32 GUI project"), _T("GUI"));
59+
RegisterWizard(wizProject, _T("wxwidgets"), _T("wxWidgets project"), _T("GUI"));
60+
61+
//
62+
// build target wizards
63+
//
64+
RegisterWizard(wizTarget, _T("console"), _T("Console"), _T("Console"));
65+
RegisterWizard(wizTarget, _T("staticlib"), _T("Static library"), _T("Console"));
66+
if (PLATFORM == PLATFORM_MSW)
67+
RegisterWizard(wizTarget, _T("dll"), _T("Dynamic Link Library"), _T("Console"));
68+
RegisterWizard(wizTarget, _T("wxwidgets"), _T("wxWidgets"), _T("GUI"));
69+
70+
RegisterWizard(wizProject, _T("arduino"), _T("Arduino Project"), _T("Embedded Systems"));
71+
RegisterWizard(wizProject, _T("arm"), _T("ARM Project"), _T("Embedded Systems"));
72+
RegisterWizard(wizProject, _T("avr"), _T("AVR Project"), _T("Embedded Systems"));
73+
RegisterWizard(wizProject, _T("msp430"), _T("MSP430 Project"), _T("Embedded Systems"));
74+
RegisterWizard(wizProject, _T("tricore"), _T("TriCore Project"), _T("Embedded Systems"));
75+
RegisterWizard(wizProject, _T("ppc"), _T("PowerPC Project"), _T("Embedded Systems"));
76+
RegisterWizard(wizProject, _T("mcs51"), _T("MCS51 Project"), _T("Embedded Systems"));
77+
//
78+
// file wizards
79+
//
80+
RegisterWizard(wizFiles, _T("empty_file"), _T("Empty file"), _T("C/C++"));
81+
RegisterWizard(wizFiles, _T("c_file"), _T("C/C++ source"), _T("C/C++"));
82+
RegisterWizard(wizFiles, _T("d_source"), _T("D source"), _T("D language"));
83+
RegisterWizard(wizFiles, _T("h_file"), _T("C/C++ header"), _T("C/C++"));
84+
RegisterWizard(wizFiles, _T("fortran/file"), _T("Fortran source"), _T("Fortran"));
85+
RegisterWizard(wizFiles, _T("java/file"), _T("Java source"), _T("Java"));
86+
}
87+
88+
function RegisterWizard(type, folder, title, category)
89+
{
90+
// syntax:
91+
// AddWizard(type, title, category, script, template_png, wizard_png, xrc)
92+
93+
Wizard.AddWizard(type,
94+
title,
95+
category,
96+
folder + _T("/wizard.script"),
97+
folder + _T("/logo.png"),
98+
folder + _T("/wizard.png"),
99+
folder + _T("/wizard.xrc"));
100+
}

CB-Template/CodeBlocks/templates/wizard/ndk_android/exec/android-elf-cleaner32.exe renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/exec/android-elf-cleaner32.exe

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/exec/cbp2ndk32.exe renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/exec/cbp2ndk32.exe

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/files/Makefile renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/files/Makefile

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/files/main.cpp renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/files/main.cpp

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/logo.png renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/logo.png

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/wizard.png renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/wizard.png

File renamed without changes.

CB-Template/CodeBlocks/templates/wizard/ndk_android/wizard.script renamed to CB-Template/autoinstall/src/CodeBlocks/templates/wizard/ndk_android/wizard.script

File renamed without changes.

0 commit comments

Comments
 (0)