瀏覽代碼

* Fix project

Michaël Van Canneyt 1 年之前
父節點
當前提交
722711d675
共有 2 個文件被更改,包括 2 次插入15 次删除
  1. 1 13
      packages/testinsight/example/clienttest.lpi
  2. 1 2
      packages/testinsight/example/clienttest.lpr

+ 1 - 13
packages/testinsight/example/clienttest.lpi

@@ -39,18 +39,6 @@
         <IsPartOfProject Value="True"/>
         <UnitName Value="tcTests"/>
       </Unit>
-      <Unit>
-        <Filename Value="../fpcunittestinsight.pas"/>
-        <IsPartOfProject Value="True"/>
-      </Unit>
-      <Unit>
-        <Filename Value="../testinsightclient.pas"/>
-        <IsPartOfProject Value="True"/>
-      </Unit>
-      <Unit>
-        <Filename Value="../testinsightprotocol.pas"/>
-        <IsPartOfProject Value="True"/>
-      </Unit>
     </Units>
   </ProjectOptions>
   <CompilerOptions>
@@ -60,7 +48,7 @@
     </Target>
     <SearchPaths>
       <IncludeFiles Value="$(ProjOutDir)"/>
-      <OtherUnitFiles Value=".."/>
+      <OtherUnitFiles Value="../src"/>
       <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
     </SearchPaths>
     <Linking>

+ 1 - 2
packages/testinsight/example/clienttest.lpr

@@ -3,8 +3,7 @@ program clienttest;
 {$mode objfpc}{$H+}
 
 uses
-  Classes, jsonparser, consoletestrunner, tcTests, fpcunittestinsight, testinsightclient,
-  testinsightprotocol;
+  Classes, jsonparser, consoletestrunner, tcTests, fpcunittestinsight;
 
 type