Files
cmake-examples/04-static-analysis/cppcheck-compile-commands/subproject2/CMakeLists.txt
2017-07-02 23:20:41 +01:00

11 lines
229 B
CMake

# 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})