mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
Auto generate Windows rc file.
This commit is contained in:
parent
b27ef52025
commit
cde5db25fe
3 changed files with 19 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -30,5 +30,6 @@ Debug*
|
|||
Makefile
|
||||
library.bin
|
||||
leocad_plugin_import.cpp
|
||||
leocad_resource.*
|
||||
uic_wrapper.bat
|
||||
/tools/setup/*.exe
|
||||
|
|
12
leocad.pro
12
leocad.pro
|
@ -17,7 +17,15 @@ INCLUDEPATH += qt common
|
|||
CONFIG += precompile_header incremental c++11 force_debug_info
|
||||
|
||||
win32 {
|
||||
RC_FILE = qt/leocad.rc
|
||||
RC_ICONS = resources/leocad.ico
|
||||
VERSION = 19.7.1.0
|
||||
QMAKE_TARGET_COMPANY = LeoCAD Software
|
||||
QMAKE_TARGET_DESCRIPTION = LeoCAD
|
||||
QMAKE_TARGET_COPYRIGHT = "Copyright (C) LeoCAD.org"
|
||||
QMAKE_TARGET_PRODUCT = LeoCAD
|
||||
RC_CODEPAGE = 1252
|
||||
RC_LANG = 0x0409
|
||||
|
||||
LIBS += -lwininet
|
||||
}
|
||||
win32-msvc* {
|
||||
|
@ -73,6 +81,8 @@ APPVEYOR_REPO_COMMIT = $$(APPVEYOR_REPO_COMMIT)
|
|||
!isEmpty(APPVEYOR_REPO_COMMIT) {
|
||||
isEmpty(APPVEYOR_REPO_TAG) {
|
||||
DEFINES += "LC_CONTINUOUS_BUILD=$$system(git rev-parse --short HEAD)"
|
||||
VERSION = 0.0.0.1
|
||||
QMAKE_TARGET_DESCRIPTION = "LeoCAD Continuous Build $$system(git rev-parse --short HEAD)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "../resources/leocad.ico"
|
Loading…
Reference in a new issue