Skip to content

Commit

Permalink
Merge pull request #145 from yixy-only/build_cmake_src_file
Browse files Browse the repository at this point in the history
Build: 源文件列表改为由 CMake file() 获取 src 目录下的源文件
  • Loading branch information
yixy-only authored Feb 20, 2024
2 parents 985083e + 7544dd8 commit b077d85
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
set(EGE_CPP_SRC
graphics.cpp
logo.cpp
color.cpp
image.cpp
music.cpp
random.cpp
egecontrolbase.cpp
egegapi.cpp
math.cpp
)
file(GLOB EGE_CPP_SRC CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

target_sources(xege
PRIVATE ${EGE_CPP_SRC}
Expand Down

0 comments on commit b077d85

Please sign in to comment.