-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cotire 1.7.10 fails to generate precompiled headers on Android with CMake 3.10 on Windows #146
Comments
Same issue |
Same issue. |
I ran into the same issue, Example:
|
@Zaffy that made the unknown target disappear. |
Trying to generate a precompiled header results in error:
Log file: log.txt
At the same time, if precompiled header generation is removed, the code is compiled without any problems, so the CMakeLists itself works. It seems that Cotire(?) fails to forward some flags to clang (in particular, --target with triplet seem to be missing from the clang++ invocation, see log).
Example project is attached. See configure_ndr.cmd for the set of CMake options, change the path to Android NDK (CMAKE_ANDROID_NDK) in configure_ndr.cmd to your own to make it work.
cotire_test.zip
The text was updated successfully, but these errors were encountered: