File tree Expand file tree Collapse file tree 1 file changed +30
-28
lines changed Expand file tree Collapse file tree 1 file changed +30
-28
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ target_include_directories(rltk PUBLIC
33
33
)
34
34
target_link_libraries (rltk PUBLIC ${ZLIB_LIBRARIES} ${SFML_LIBRARIES} )
35
35
if (NOT MSVC ) # Why was this here? I exempted the wierd linker flags
36
- target_compile_options (rltk "-O3 -Wall -Wpedantic -march=native -mtune=native -g" )
36
+ target_compile_options (rltk PUBLIC -O3 -Wall -Wpedantic -march=native -mtune=native -g )
37
+ else ()
38
+ target_compile_options (rltk PUBLIC /W3 /EHsc )
37
39
endif ()
38
40
39
41
install (TARGETS rltk
@@ -42,33 +44,33 @@ install (TARGETS rltk
42
44
RUNTIME DESTINATION bin )
43
45
44
46
set (RLTK_HEADERS
45
- astar.hpp
46
- colors.hpp
47
- color_t.hpp
48
- ecs.hpp
49
- ecs_impl.hpp
50
- filesystem.hpp
51
- font_manager.hpp
52
- fsa.hpp
53
- geometry.hpp
54
- gui.hpp
55
- gui_control_t.hpp
56
- input_handler.hpp
57
- layer_t.hpp
58
- path_finding.hpp
59
- perlin_noise.hpp
60
- rexspeeder.hpp
61
- rltk.hpp
62
- rng.hpp
63
- scaling.hpp
64
- serialization_utils.hpp
65
- texture.hpp
66
- texture_resources.hpp
67
- vchar.hpp
68
- virtual_terminal.hpp
69
- virtual_terminal_sparse.hpp
70
- visibility.hpp
71
- xml.hpp )
47
+ rltk/ astar.hpp
48
+ rltk/ colors.hpp
49
+ rltk/ color_t.hpp
50
+ rltk/ ecs.hpp
51
+ rltk/ ecs_impl.hpp
52
+ rltk/ filesystem.hpp
53
+ rltk/ font_manager.hpp
54
+ rltk/ fsa.hpp
55
+ rltk/ geometry.hpp
56
+ rltk/ gui.hpp
57
+ rltk/ gui_control_t.hpp
58
+ rltk/ input_handler.hpp
59
+ rltk/ layer_t.hpp
60
+ rltk/ path_finding.hpp
61
+ rltk/ perlin_noise.hpp
62
+ rltk/ rexspeeder.hpp
63
+ rltk/rltk .hpp
64
+ rltk/ rng.hpp
65
+ rltk/ scaling.hpp
66
+ rltk/ serialization_utils.hpp
67
+ rltk/ texture.hpp
68
+ rltk/ texture_resources.hpp
69
+ rltk/ vchar.hpp
70
+ rltk/ virtual_terminal.hpp
71
+ rltk/ virtual_terminal_sparse.hpp
72
+ rltk/ visibility.hpp
73
+ rltk/ xml.hpp )
72
74
73
75
install (FILES ${RLTK_HEADERS}
74
76
DESTINATION "include/rltk"
You can’t perform that action at this time.
0 commit comments