We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69741fa commit fa39de9Copy full SHA for fa39de9
1 file changed
CMakeLists.txt
@@ -27,8 +27,10 @@ include(cmake/CompilerWarnings.cmake)
27
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
28
29
#! Project main executable source compilation
30
-add_executable(${PROJECT} main.cpp
31
- myprogram.cpp myprogram.hpp)
+file(GLOB SOURCES
+ "src/*.cpp"
32
+)
33
+add_executable(${PROJECT} ${SOURCES})
34
35
#! Put path to your project headers
36
target_include_directories(${PROJECT} PRIVATE include)
0 commit comments