Build fixes for windows and separate cmake build directory#5
Open
mastersin wants to merge 5 commits intoa-a-maly:masterfrom
Open
Build fixes for windows and separate cmake build directory#5mastersin wants to merge 5 commits intoa-a-maly:masterfrom
mastersin wants to merge 5 commits intoa-a-maly:masterfrom
Conversation
Author
|
Rebased with latest master (2f27d04 ). |
for using changed cmake build directory
There is no `sigval_t` in FreeBSD so I introduced a simple (standard) workaround so the code will be able to be built on FreeBSD.
The problem is that when you set: ``` set(KUMIR2_CXXFLAGS "-fno-exceptions -std=c++0x -fPIC") ``` and later try to add flags with: ``` list(APPEND KUMIR2_CXXFLAGS "-stdlib=libstdc++") ``` it will be expnded into ``` -fno-exceptions -std=c++0x -fPIC;-stdlib=libstdc++ ``` and this line will effectively prevent the command from compiling files because the semicolon will designate the end of the command and the rest of the arguments (file name to compile, for example) will be treated like a new command. Tested with CMake 3.12.2 on FreeBSD 11.2
Clang is unable to find type_traits in FreeBSD 11.2 so this is an explicit inclusion of `/usr/include/c++/v1` in order to enable Kumir2 builds on FreeBSD.
Author
|
Add fixes for build on unix like FreeBSD. |
Closed
|
Working on Windows 10 1903 + VS2019 + Qt 5.14.2 |
Author
Good news. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Duplicate pull request:
victor-yacovlev#2
Add fixes for build on Windows with separate cmake build directory and check for git search path. Tested on Windows10 + VS2017 + QT-5.11.1 and ALT Linux Sisyphus.