This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from oleg68/debug/osx-crash
Fixed crashing on OSX
- Loading branch information
Showing
16 changed files
with
90 additions
and
46 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 |
---|---|---|
|
@@ -112,13 +112,15 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) | |
|
||
# setup compiler flags for debug vs release compiles | ||
add_option(-Wall) | ||
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
add_option(-O3) | ||
add_option(-g) | ||
add_definitions(-DNDEBUG) | ||
add_option(-fomit-frame-pointer) | ||
add_option(-funroll-loops) | ||
add_option(-ffast-math) | ||
if (CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
add_option(-g3) | ||
else() | ||
add_option(-O3) | ||
add_option(-g) | ||
add_definitions(-DNDEBUG) | ||
add_option(-fomit-frame-pointer) | ||
add_option(-funroll-loops) | ||
add_option(-ffast-math) | ||
endif () | ||
|
||
if (RTAUDIO_USE_JACK OR RTMIDI_USE_JACK OR GO_USE_JACK) | ||
|
@@ -183,8 +185,6 @@ set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/license.txt) | |
set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
set(CPACK_PACKAGE_EXECUTABLES "GrandOrgue" "GrandOrgue") | ||
|
||
set(CPACK_STRIP_FILES ON) | ||
|
||
set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git/" "/build-for/") | ||
|
||
# components | ||
|
@@ -251,6 +251,12 @@ elseif (WIN32) | |
|
||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") | ||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
set(CPACK_STRIP_FILES OFF) | ||
else() | ||
set(CPACK_STRIP_FILES ON) | ||
endif() | ||
|
||
set(CPACK_SYSTEM_NAME "linux") | ||
set(CPACK_GENERATOR TGZ RPM DEB) | ||
|
||
|
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
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
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
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
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
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
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
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