[MSVCRT_APITEST]: Commit a simple test for popen(), by Andreas Maier.
[reactos.git] / rostests / apitests / msvcrt / CMakeLists.txt
index c4a9d86..60f3cde 100644 (file)
@@ -1,9 +1,10 @@
 
-add_definitions(-D_DLL -D__USE_CRTIMP)
+add_subdirectory(CmdLineUtil)
 
 list(APPEND SOURCE
-    _vsnprintf.c
+    CommandLine.c
     ieee.c
+    popen.c
     splitpath.c
     testlist.c)
 
@@ -11,4 +12,4 @@ add_executable(msvcrt_apitest ${SOURCE})
 target_link_libraries(msvcrt_apitest wine)
 set_module_type(msvcrt_apitest win32cui)
 add_importlibs(msvcrt_apitest msvcrt kernel32)
-add_cd_file(TARGET msvcrt_apitest DESTINATION reactos/bin FOR all)
+add_rostests_file(TARGET msvcrt_apitest)