We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 755fd50 commit af298e9Copy full SHA for af298e9
exercises/race/CMakeLists.txt
@@ -15,8 +15,10 @@ target_link_libraries( racing PRIVATE Threads::Threads )
15
# Create the "solution executable".
16
add_executable( racing.sol1 EXCLUDE_FROM_ALL "solution/racing.sol1.cpp" )
17
target_link_libraries( racing.sol1 PRIVATE Threads::Threads )
18
+add_custom_target( solution1 )
19
add_dependencies( solution1 racing.sol1 )
20
add_executable( racing.sol2 EXCLUDE_FROM_ALL "solution/racing.sol2.cpp" )
21
target_link_libraries( racing.sol2 PRIVATE Threads::Threads )
22
+add_custom_target( solution2 )
23
add_dependencies( solution2 racing.sol2 )
24
add_dependencies( solution solution1 solution2 )
0 commit comments