Speed up CI by using ninja and parallel build (#1347)
* chore(CI): speed up CI by using ninja and parallel build * chore(CI): align compiler for c and cxx * fix(samples): add dependency to generator * fix(cmake): get rid of file glob * chore(CI): use clang on mac glfw don't support gcc on mac * fix(sample): add depencency on build_vulkan_hpp * fix(cmake): make sure every target in tests and samples link to utils
This commit is contained in:
@@ -34,7 +34,8 @@ add_library(DispatchLoaderDynamicSharedLibrary SHARED
|
||||
target_compile_definitions(DispatchLoaderDynamicSharedLibrary PRIVATE VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 VULKAN_HPP_STORAGE_SHARED VULKAN_HPP_STORAGE_SHARED_EXPORT )
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibrary "-ldl")
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibrary PRIVATE ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
||||
set_target_properties(DispatchLoaderDynamicSharedLibrary PROPERTIES FOLDER "Tests")
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibrary PRIVATE utils)
|
||||
|
||||
Reference in New Issue
Block a user