File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ void Config::load(const yaml &root)
186186 }
187187 else
188188 load_specific ();
189+ // add skip option? - skip specific
189190 }
190191 }
191192 projects = all_projects;
Original file line number Diff line number Diff line change @@ -1191,7 +1191,9 @@ endmacro()
11911191macro (cppan_ragel f )
11921192 set (i ${SDIR} /${f} )
11931193 set (o ${BDIR_PRIVATE} /${f} .cpp)
1194+ get_filename_component (dir ${o} DIRECTORY )
11941195 add_custom_command (OUTPUT ${o}
1196+ COMMAND ${CMAKE_COMMAND} -E make_directory ${dir}
11951197 COMMAND pvt.cppan.demo.ragel ${i} -o ${o}
11961198 DEPENDS ${i}
11971199 )
@@ -1205,7 +1207,9 @@ endmacro()
12051207macro (cppan_re2c f ext )
12061208 set (i ${SDIR} /${f} )
12071209 set (o ${BDIR_PRIVATE} /${f} .${ext} )
1210+ get_filename_component (dir ${o} DIRECTORY )
12081211 add_custom_command (OUTPUT ${o}
1212+ COMMAND ${CMAKE_COMMAND} -E make_directory ${dir}
12091213 COMMAND pvt.cppan.demo.re2c.re2c -o ${o} ${i}
12101214 DEPENDS ${i}
12111215 )
You can’t perform that action at this time.
0 commit comments