clear clang errors
This commit is contained in:
@@ -4,6 +4,7 @@ project(Hiload)
|
||||
# I just like to have this with my tooling. Also might be required for proper hotreloading.
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD_REQUIRED)
|
||||
|
||||
# Conditionally define _GNU_SOURCE for Linux systems
|
||||
if(UNIX AND NOT APPLE)
|
||||
@@ -14,6 +15,8 @@ endif()
|
||||
|
||||
# Common compile options
|
||||
add_compile_options("-fvisibility=hidden")
|
||||
# TODO: Get -Wpadded back somehow.
|
||||
add_compile_options("-Wno-declaration-after-statement" "-Wno-padded")
|
||||
|
||||
# Handle 3rd party dependencies
|
||||
# #############################
|
||||
|
||||
Reference in New Issue
Block a user