File tree Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,32 @@ find_package(Ogg CONFIG REQUIRED)
18
18
find_package (Vorbis REQUIRED )
19
19
find_package (OpenGL REQUIRED )
20
20
21
- add_subdirectory (src/Core )
22
- add_subdirectory (src/Dialogs )
23
- add_subdirectory (src/Editor )
24
- add_subdirectory (src/Managers )
25
- add_subdirectory (src/Simfile )
26
- add_subdirectory (src/System )
21
+ # add_subdirectory(src/Core)
22
+ # add_subdirectory(src/Dialogs)
23
+ # add_subdirectory(src/Editor)
24
+ # add_subdirectory(src/Managers)
25
+ # add_subdirectory(src/Simfile)
26
+ # add_subdirectory(src/System)
27
+
28
+ file (GLOB SRC "${CMAKE_CURRENT_SOURCE_DIR} /src/*/*.cpp" )
29
+ add_executable (ArrowVortex WIN32
30
+ ${SRC}
31
+ "${CMAKE_CURRENT_SOURCE_DIR} /src/System/ArrowVortex.rc"
32
+ )
33
+ add_custom_command (
34
+ TARGET ArrowVortex POST_BUILD
35
+ COMMAND ${CMAKE_COMMAND} -E copy_directory
36
+ ${PROJECT_SOURCE_DIR} /bin
37
+ $< TARGET_FILE_DIR:ArrowVortex> )
38
+ target_link_libraries (ArrowVortex PRIVATE
39
+ Freetype::Freetype
40
+ OpenGL::GL
41
+ MAD::MAD
42
+ Vorbis::vorbisfile
43
+ Vorbis::vorbis
44
+ winmm
45
+ Ogg::ogg
46
+ )
27
47
28
48
install (TARGETS ArrowVortex RUNTIME )
29
49
install (DIRECTORY bin/assets DESTINATION bin )
You can’t perform that action at this time.
0 commit comments