Upcoming breaking BLT changes release #692
white238
announced in
Announcements
Replies: 2 comments 2 replies
-
What about BLT_CXX_STD? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I think we should also prefix all the options (e.g. BLT_ENABLE_CUDA instead of ENABLE_CUDA). I've seen a lot of projects use the no-prefix style with their own variables and it gets confusing fast which variables affect which project, and there is a high potential for name conflicts. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
BLT and CMake has grown a lot since BLT's creation. It was always the intention to avoid breaking changes but it is time to mature along with CMake. The intention of this is to discuss and socialize changes.
BLT_DEFINES
BLT_C_FLAGS
,BLT_CXX_FLAGS
,BLT_CUDA_FLAGS
, andBLT_FORTRAN_FLAGS
BLT_EXE_LINKER_FLAGS
GNUInstallDirs
and remove creating generic paths hereCUDA_LINK_WITH_NVCC
andCUDA_SEPARABLE_COMPILATION
(note: these are non-prefixed BLT variables)blt_register_library()
BLT_EXPORT_THIRDPARTY
andblt_export_tpl_targets()
BLT_
:ENABLE_CUDA
,ENABLE_TESTING
, etc.YAPF
,clang-format
, etc.TARGET
fromblt_convert_to_system_includes
Things that need debating:
blt_
prefixed targets, ie,cuda
andblt::cuda
will just beblt_cuda
BLT_CXX_STD
Beta Was this translation helpful? Give feedback.
All reactions