-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected rendering of drawing ruler, and added display of current bo…
…nd length when drawing chains. Fixed placement of new atoms when drawing. More fixes to Windows CMake files.
- Loading branch information
t.youngs
committed
Apr 18, 2008
1 parent
9bcc19e
commit 2861fd9
Showing
6 changed files
with
58 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,10 +98,9 @@ Find_File(qtcore QtCore4.dll PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) | |
Find_File(qtsvg QtSvg4.dll PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) | ||
Find_File(qtxml QtXml4.dll PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) | ||
Find_File(qsvg qsvg4.dll PATHS ${QT_PLUGINS_DIR}/iconengines NO_DEFAULT_PATH) | ||
install(FILES ${qtgui} ${qtgl} ${qtcore} ${Rline} ${HRline} ${qtsvg} ${qtxml} | ||
install(FILES ${qtgui} ${qtgl} ${qtcore} ${Rline} ${HRline} ${qtsvg} ${qtxml} ${CMAKE_CURRENT_SOURCE_DIR}/src/gui/icons/aten.ico | ||
DESTINATION bin | ||
) | ||
message("tt: ${QT_PLUGINS_DIR} ${qsvg}") | ||
install(FILES ${qsvg} | ||
DESTINATION bin/iconengines | ||
) | ||
|
@@ -133,27 +132,35 @@ SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR}) | |
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH}) | ||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "aten${VERSION_MAJOR}.${VERSION_MINOR}") | ||
IF(WIN32) | ||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Aten-${VERSION_MAJOR}.${VERSION_MINOR}") | ||
# There is a bug in NSI that does not handle full unix paths properly. Make | ||
# sure there is at least one set of four (4) backlasshes. | ||
set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/src/gui/icons\\\\aten.ico") | ||
set(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}/src/gui/icons\\\\uninstall.ico") | ||
SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/src/gui/icons\\\\aten.bmp") | ||
SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\aten.exe") | ||
SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\aten.ico") | ||
SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} Aten") | ||
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.projectaten.org") | ||
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.projectaten.org") | ||
SET(CPACK_NSIS_CONTACT "[email protected]") | ||
SET(CPACK_NSIS_MODIFY_PATH ON) | ||
SET(CPACK_NSIS_CONTACT "[email protected]") | ||
SET(CPACK_NSIS_MODIFY_PATH ON) | ||
SET(CPACK_PACKAGE_EXECUTABLES "aten" "aten") | ||
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " | ||
set(CPACK_NSIS_CREATE_ICONS_EXTRA "CreateShortCut \\\"$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\aten.lnk\\\" \\\"$INSTDIR\\\\bin\\\\aten.exe\\\" \\\"\\\" \\\"$INSTDIR\\\\bin\\\\aten.ico\\\" | ||
StrCmp $INSTALL_DESKTOP \\\"1\\\" 0 +2 | ||
CreateShortCut \\\"$DESKTOP\\\\aten.lnk\\\" \\\"$INSTDIR\\\\bin\\\\aten.exe\\\" \\\"\\\" \\\"$INSTDIR\\\\bin\\\\aten.ico\\\" | ||
" | ||
) | ||
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " | ||
Push \\\"ATENDATA\\\" | ||
Push \\\"$INSTDIR\\\\share\\\\aten\\\" | ||
Call WriteEnvStr | ||
" | ||
) | ||
set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " | ||
Push \\\"ATENDATA\\\" | ||
Call un.DeleteEnvStr | ||
Call un.DeleteEnvStr | ||
StrCmp $INSTALL_DESKTOP \\\"1\\\" 0 +2 | ||
Delete \\\"$DESKTOP\\\\aten.lnk\\\" | ||
" | ||
) | ||
Endif(WIN32) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters