Skip to content

Ludobaka/CMakeCheckTypeSizeIOSTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CMakeCheckTypeSizeIOSTest

Testing CheckTypeSize CMake module while cross-compiling for iOS with CMake 3.14+

HowTo

mkdir build;
cd build;
# Do this to use a toolchain file
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/<toolchainFile> ..;
# Or this to cross-compile by setting command options
cmake -DCMAKE_SYSTEM_NAME=iOS \
    "-DCMAKE_OSX_ARCHITECTURES=arm64" \
    -DCMAKE_OSX_DEPLOYMENT_TARGET=9.3 \
    -DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO \
    -DCMAKE_IOS_INSTALL_COMBINED=YES ..;

About

Testing CheckTypeSize CMake module while cross-compiling for iOS with CMake 3.14+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages