Displaying 1 result from an estimated 1 matches for "cmake_position_independent_cod".
Did you mean:
cmake_position_independent_code
2016 Oct 20
2
Leveraging newer CMake features for Language standards
...default for this by defining in teh cop level CMakeLists.txt:
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
Unrelated but in a similar situation is the -fPIC flag. The
POSITION_INDEPENDENT_CODE target proeprty is available, which can be
initialized toa default value with:
set(CMAKE_POSITION_INDEPENDENT_CODE True)
What are peoples thoughts about reducing HandleLLVMOptions.cmake to factor
out and leverage options that CMake already knows about and knows how to
apply? I wanted to put a bit of time into this but didn't want to spin my
wheels if there were major objections to idea.
----------
Chuck...