mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
add new cppcheck example with updated dockerfiles
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Set the project name
|
||||
project (subproject2)
|
||||
|
||||
# Create a sources variable with a link to all cpp files to compile
|
||||
set(SOURCES
|
||||
main2.cpp
|
||||
)
|
||||
|
||||
# Add an executable with the above sources
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
Reference in New Issue
Block a user