Commit 3313b34a authored by jean-pierre charras's avatar jean-pierre charras

CMakeLists.txt: use elseif token instead of elif which create issues with some cmake version.

Fix minor issues in nsis config files
parent 7a5386a1
...@@ -70,9 +70,9 @@ option(USE_FP_LIB_TABLE "Use the new footprint library table implementation. (de ...@@ -70,9 +70,9 @@ option(USE_FP_LIB_TABLE "Use the new footprint library table implementation. (de
if(KICAD_STABLE_VERSION AND KICAD_TESTING_VERSION ) if(KICAD_STABLE_VERSION AND KICAD_TESTING_VERSION )
message(FATAL_ERROR "Only one KiCad build version option KICAD_TESTING_VERSION or KICAD_STABLE_VERSION can be set to ON") message(FATAL_ERROR "Only one KiCad build version option KICAD_TESTING_VERSION or KICAD_STABLE_VERSION can be set to ON")
elif(NOT KICAD_STABLE_VERSION AND NOT KICAD_TESTING_VERSION) elseif(NOT KICAD_STABLE_VERSION AND NOT KICAD_TESTING_VERSION)
message(FATAL_ERROR "Either KiCad build version option KICAD_TESTING_VERSION or KICAD_STABLE_VERSION must be set to ON") message(FATAL_ERROR "Either KiCad build version option KICAD_TESTING_VERSION or KICAD_STABLE_VERSION must be set to ON")
elif(KICAD_STABLE_VERSION) elseif(KICAD_STABLE_VERSION)
add_definitions(-DKICAD_STABLE_VERSION) add_definitions(-DKICAD_STABLE_VERSION)
message( "Build stable version of KiCad") message( "Build stable version of KiCad")
else() else()
......
This diff is collapsed.
This diff is collapsed.
;Additional text definitions for Dutch ;Additional text definitions for Dutch
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_DUTCH} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_DUTCH} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_DUTCH} "Hoofdprogramma" LangString TITLE_SEC01 ${LANG_DUTCH} "Hoofdprogramma"
......
;Additional text definitions for English ;Additional text definitions for English
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_ENGLISH} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_ENGLISH} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_ENGLISH} "Main application" LangString TITLE_SEC01 ${LANG_ENGLISH} "Main application"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
;Please correct as required ;Please correct as required
;file name of license file ;file name of license file
LicenseLangString MUILicense ${LANG_FRENCH} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_FRENCH} "..\COPYRIGHT.txt"
;Component options ;Component options
LangString TITLE_SEC01 ${LANG_FRENCH} "Application principale" LangString TITLE_SEC01 ${LANG_FRENCH} "Application principale"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
;Please correct as required ;Please correct as required
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_ITALIAN} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_ITALIAN} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_ITALIAN} "Applicazione principale" LangString TITLE_SEC01 ${LANG_ITALIAN} "Applicazione principale"
......
;Additional text definitions for Japanese ;Additional text definitions for Japanese
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_JAPANESE} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_JAPANESE} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_JAPANESE} "メイン アプリケーション" LangString TITLE_SEC01 ${LANG_JAPANESE} "メイン アプリケーション"
......
;Additional text definitions for Polish ;Additional text definitions for Polish
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_POLISH} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_POLISH} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_POLISH} "Pliki aplikacji" LangString TITLE_SEC01 ${LANG_POLISH} "Pliki aplikacji"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
;Please correct as required ;Please correct as required
;File name of license file ;File name of license file
LicenseLangString MUILicense ${LANG_PORTUGUESE} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_PORTUGUESE} "..\COPYRIGHT.txt"
;Component option ;Component option
LangString TITLE_SEC01 ${LANG_PORTUGUESE} "Aplicativo principal" LangString TITLE_SEC01 ${LANG_PORTUGUESE} "Aplicativo principal"
......
;Additional text definitions for French ;Additional text definitions for French
;file name of license file ;file name of license file
LicenseLangString MUILicense ${LANG_RUSSIAN} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_RUSSIAN} "..\COPYRIGHT.txt"
;component option ;component option
LangString TITLE_SEC01 ${LANG_RUSSIAN} " " LangString TITLE_SEC01 ${LANG_RUSSIAN} " "
LangString TITLE_SEC02 ${LANG_RUSSIAN} " " LangString TITLE_SEC02 ${LANG_RUSSIAN} " "
LangString TITLE_SEC03 ${LANG_RUSSIAN} " " LangString TITLE_SEC03 ${LANG_RUSSIAN} " "
LangString TITLE_SEC04 ${LANG_RUSSIAN} " " LangString TITLE_SEC04 ${LANG_RUSSIAN} " "
;component option descriptions ;component option descriptions
LangString DESC_SEC01 ${LANG_RUSSIAN} " ." LangString DESC_SEC01 ${LANG_RUSSIAN} " ."
LangString DESC_SEC02 ${LANG_RUSSIAN} " , ." LangString DESC_SEC02 ${LANG_RUSSIAN} " ."
LangString DESC_SEC03 ${LANG_RUSSIAN} " ." LangString DESC_SEC03 ${LANG_RUSSIAN} " ."
LangString DESC_SEC04 ${LANG_RUSSIAN} " pdf." LangString DESC_SEC04 ${LANG_RUSSIAN} " ."
;warning messages ;warning messages
LangString WINGS3D_PROMPT ${LANG_RUSSIAN} " 3D Wings3D. \ LangString WINGS3D_PROMPT ${LANG_RUSSIAN} " , 3D Wings3D. \
Wings3D web- Wings3D. \ Wings3D download web page Wings3D \
, web- Wings3D." web page Wings3D."
LangString UNINST_PROMPT ${LANG_RUSSIAN} " , ${product_name} ? $\n \ LangString UNINST_PROMPT ${LANG_RUSSIAN} " $(^name) ? $\n \
, " , "
LangString UNINST_SUCCESS ${LANG_RUSSIAN} "$(^name) ." LangString UNINST_SUCCESS ${LANG_RUSSIAN} "$(^name) ."
LangString INSTALLER_RUNNING ${LANG_RUSSIAN} " $(^name) ." LangString INSTALLER_RUNNING ${LANG_RUSSIAN} " ."
LangString UNINSTALLER_RUNNING ${LANG_RUSSIAN} " $(^name) ." LangString UNINSTALLER_RUNNING ${LANG_RUSSIAN} " ."
LangString ALREADY_INSTALLED ${LANG_RUSSIAN} "${product_name} . $\n \ LangString ALREADY_INSTALLED ${LANG_RUSSIAN} "${product_name} . overwrite existing . \
. \ ?"
?"
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
;Please correct as required ;Please correct as required
;file name of license file ;file name of license file
LicenseLangString MUILicense ${LANG_SPANISH} "..\licendoc.txt" LicenseLangString MUILicense ${LANG_SPANISH} "..\COPYRIGHT.txt"
;component option ;component option
LangString TITLE_SEC01 ${LANG_SPANISH} "Uso principal" LangString TITLE_SEC01 ${LANG_SPANISH} "Uso principal"
......
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
; General Product Description Definitions ; General Product Description Definitions
!define PRODUCT_NAME "KiCad" !define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.11.30" !define PRODUCT_VERSION "2013.02.26"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/" !define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/" !define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME "" !define COMPANY_NAME ""
!define TRADE_MARKS "" !define TRADE_MARKS ""
!define COPYRIGHT "Kicad Team (Jean-Pierre Charras et all)" !define COPYRIGHT "Kicad Developers Team"
!define COMMENTS "" !define COMMENTS ""
!define HELP_WEB_SITE "http://groups.yahoo.com/group/kicad-users/" !define HELP_WEB_SITE "http://groups.yahoo.com/group/kicad-users/"
!define DEVEL_WEB_SITE "https://launchpad.net/~kicad-developers/" !define DEVEL_WEB_SITE "https://launchpad.net/~kicad-developers/"
...@@ -117,13 +117,15 @@ Section $(TITLE_SEC01) SEC01 ...@@ -117,13 +117,15 @@ Section $(TITLE_SEC01) SEC01
SetOutPath "$INSTDIR" SetOutPath "$INSTDIR"
File /nonfatal "..\AUTHORS.txt" File /nonfatal "..\AUTHORS.txt"
File /nonfatal "..\COPYRIGHT.txt" File /nonfatal "..\COPYRIGHT.txt"
File /nonfatal "..\licendoc.txt" File /nonfatal "..\license_for_documentation.txt"
SetOutPath "$INSTDIR\share\template" SetOutPath "$INSTDIR\share\template"
File /nonfatal /r "..\share\template\*" File /nonfatal /r "..\share\template\*"
SetOutPath "$INSTDIR\bin" SetOutPath "$INSTDIR\bin"
File /r "..\bin\*" File /r "..\bin\*"
SetOutPath "$INSTDIR\share\internat" SetOutPath "$INSTDIR\share\internat"
File /r "..\share\internat\*" File /r "..\share\internat\*"
SetOutPath "$INSTDIR\python"
File /nonfatal /r "..\python\*"
SectionEnd SectionEnd
Section $(TITLE_SEC02) SEC02 Section $(TITLE_SEC02) SEC02
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment