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:
@@ -33,10 +33,11 @@ add_executable(DispatchLoaderDynamicSharedLibraryClient
|
||||
|
||||
target_compile_definitions(DispatchLoaderDynamicSharedLibraryClient PRIVATE VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 VULKAN_HPP_STORAGE_SHARED)
|
||||
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibraryClient DispatchLoaderDynamicSharedLibrary)
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibraryClient PRIVATE DispatchLoaderDynamicSharedLibrary)
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibraryClient "-ldl")
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibraryClient PRIVATE ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
||||
set_target_properties(DispatchLoaderDynamicSharedLibraryClient PROPERTIES FOLDER "Tests")
|
||||
target_link_libraries(DispatchLoaderDynamicSharedLibraryClient PRIVATE utils)
|
||||
|
||||
Reference in New Issue
Block a user