@@ -11,13 +11,14 @@ target("detours")
1111 after_build (function (target )
1212 os .cp (target :targetfile (), " $(projectdir)/lib" )
1313 end )
14- target (" withdll" )
15- set_kind (" binary" )
16- add_files (" deps/detour/samples/withdll/withdll.cpp" )
17- add_links (" detours" )
18- after_build (function (target )
19- os .cp (target :targetfile (), " bin" )
20- end )
14+ -- no longer needed
15+ -- target("withdll")
16+ -- set_kind("binary")
17+ -- add_files("deps/detour/samples/withdll/withdll.cpp")
18+ -- add_links("detours")
19+ -- after_build(function(target)
20+ -- os.cp(target:targetfile(), "bin")
21+ -- end)
2122target (" yhook" )
2223 add_deps (" detours" )
2324 set_kind (" shared" )
@@ -54,33 +55,33 @@ target("ymsgbox")
5455 add_files (" samples/ymsgbox.c" )
5556 after_build (function (target )
5657 os .mkdir (" bin/samples" )
57- os .cp (target :targetfile (), " bin/samples" )
58+ os .cp (target :targetfile (), " bin/samples// " )
5859 end )
5960target (" yhttp" )
6061 set_kind (" binary" )
6162 add_files (" samples/yhttp.cpp" )
6263 add_links (" wsock32" )
6364 add_links (" ws2_32" )
6465 after_build (function (target )
65- os .cp (target :targetfile (), " bin/samples" )
66+ os .cp (target :targetfile (), " bin/samples/ " )
6667 end )
6768target (" yheap" )
6869 set_kind (" binary" )
6970 add_files (" samples/yheap.c" )
7071 after_build (function (target )
71- os .cp (target :targetfile (), " bin/samples" )
72+ os .cp (target :targetfile (), " bin/samples/ " )
7273 end )
7374target (" yfile" )
7475 set_kind (" binary" )
7576 add_files (" samples/yfile.c" )
7677 after_build (function (target )
77- os .cp (target :targetfile (), " bin/samples" )
78+ os .cp (target :targetfile (), " bin/samples/ " )
7879 end )
7980target (" yreg" )
8081 set_kind (" binary" )
8182 add_files (" samples/yreg.c" )
8283 after_build (function (target )
83- os .cp (target :targetfile (), " bin/samples" )
84+ os .cp (target :targetfile (), " bin/samples/ " )
8485 end )
8586-- samples end
8687
0 commit comments