Warning, /utilities/kirogi/src/lib/positionsource/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(positionsource_SRCS 0002 positionsource.cpp 0003 ) 0004 0005 ecm_qt_declare_logging_category(positionsource_SRCS 0006 HEADER debug.h 0007 IDENTIFIER POSITIONSOURCE 0008 CATEGORY_NAME "kirogi.positionsource" 0009 ) 0010 0011 add_library( 0012 positionsource 0013 STATIC 0014 ${positionsource_SRCS} 0015 ) 0016 0017 if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") 0018 target_compile_options(positionsource PRIVATE 0019 -pedantic 0020 -Woverloaded-virtual 0021 -Wunused 0022 -Wall 0023 -Wextra 0024 -Wshadow 0025 -Wnon-virtual-dtor 0026 -Wold-style-cast 0027 ) 0028 0029 if(CMAKE_COMPILER_IS_GNUCXX) 0030 target_compile_options(positionsource PRIVATE 0031 -Wduplicated-cond 0032 -Wduplicated-branches 0033 -Wlogical-op 0034 -Wnull-dereference 0035 -fsanitize=leak 0036 ) 0037 endif() 0038 endif() 0039 0040 target_link_libraries(positionsource 0041 PRIVATE 0042 Qt5::Core 0043 Qt5::Network 0044 Qt5::Positioning 0045 Qt5::Quick 0046 )