mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Set compiler warnings on a per-target basis
This commit is contained in:
1 parent
65165dbc55
commit
5e3d87858f
3 files changed
+6
-10
No files matched your search
@@ -1,5 +1,3 @@
|
||||
set(SRC example.c)
|
||||
|
||||
add_executable(example ${SRC})
|
||||
add_executable(example example.c)
|
||||
target_link_libraries(example PRIVATE csfml-graphics csfml-audio)
|
||||
set_file_warnings(${SRC})
|
||||
set_target_warnings(example)
|
||||
Reference in new issue
Block a user