Re: [CMake] Trying to get android toolchain setup for Crystax

2017-03-23 Thread Robert Dailey
Sorry last email: Assuming I get past the host tag issue, the next one is that the test program is unable to compile because: error: cannot find -lcrystax Somehow, somewhere the linker is expecting this library. I do not see it in the output from CMake when the build fails. I do know the file is

Re: [CMake] Trying to get android toolchain setup for Crystax

2017-03-23 Thread Robert Dailey
Update: Using the x86_64 version of the Crystax NDK worked. Meaning, the directory name aligned with what CMake was expecting. However, the question now is: Why didn't changing CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG work? On Thu, Mar 23, 2017 at 3:14 PM, Robert Dailey wrote: > Sorry I guess it wou

Re: [CMake] Trying to get android toolchain setup for Crystax

2017-03-23 Thread Robert Dailey
Sorry I guess it would help if I showed where the ANDROID_ variables are being defined: cmake .. -G"Ninja" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_TOOLCHAIN_FILE="crystax.toolchain.cmake" -DBUILD_TESTING=OFF -DANDROID_API=15 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -DANDROID_ABI=armeabi

[CMake] Trying to get android toolchain setup for Crystax

2017-03-23 Thread Robert Dailey
So I'm having no luck getting the Crystax NDK setup using built-in android support in CMake 3.8. I have the following toolchain file: set( CMAKE_SYSTEM_NAME Android ) set( CMAKE_SYSTEM_VERSION ${ANDROID_API} ) # set( CMAKE_ANDROID_NDK $ENV{ANDROID_NDK} ) set( CMAKE_ANDROID_NDK "E:/android/crysta

Re: [CMake] Include file in the Makefile

2017-03-23 Thread Hom Nath Gharti
Thanks, Mike! HNG On Thu, Mar 23, 2017 at 12:59 PM, Michael Ellery wrote: > >> On Mar 22, 2017, at 2:07 PM, Hom Nath Gharti wrote: >> >> Dear all, >> >> I use PETSc in my package and I need to use the following line in my >> GNU Makefile: >> >> include ${PETSC_DIR}/lib/petsc/conf/variables >> >

Re: [CMake] Include file in the Makefile

2017-03-23 Thread Michael Ellery
> On Mar 22, 2017, at 2:07 PM, Hom Nath Gharti wrote: > > Dear all, > > I use PETSc in my package and I need to use the following line in my > GNU Makefile: > > include ${PETSC_DIR}/lib/petsc/conf/variables > > What is the equivalent command for CMakeLists.txt for this? > > Thanks for your h

Re: [CMake] C# Language Detection Errors in 3.8.0-rc2

2017-03-23 Thread Wesley Smith
Eventually I figured out the answer to this question after stepping through the CMake project code. DO: enable_language(CSharp) DONT: enable_language(CSHARP) Unlike C, CXX, FORTRAN, etc. CSharp is not an abbreviation requiring capitalization of all letters. Case matters. On Thu, Mar 16, 2017 a

Re: [CMake] libsndfile in windows

2017-03-23 Thread aishwarya selvaraj
@Johannes Zarl-Zierl PFA . I found this link and tried how its mentioned in it . I was not able to successfully build it using this . Probably you could go though this and we could discuss. On Tue, Mar 21, 2017 at 6:52 PM, Johannes Zarl-Zierl < johannes.zarl-zi...@jku.at> wrote: > On Dienstag, 21