examples/DS401_Master/TestMasterMicroMod.vc10.vcxproj.filters
author gabriele at naustech dot com
Thu, 12 Jun 2014 14:07:16 +0200
changeset 791 7740ac6fdedc
parent 709 4a8b50dcc4c0
permissions -rw-r--r--
Fix : libcanfestival_unix.a not built if examples are not compiled

Problem: when building Canfestival with unix timers 'libcanfestiva_unix.a'
is built only if you build examples too.

Test case:

$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival

...

no errors but 'libcanfestival_unix.a' is not built:
$ find . -name "*.a"
./src/libcanfestival.a

Changing line 90 of 'drivers/unix/Makefile.in' to:
#driver: $(OBJS)
driver: libcanfestival_$(TARGET).a

solves the problem:

$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival

...

$ find . -name "*.a"
./drivers/unix/libcanfestival_unix.a
./src/libcanfestival.a
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     2
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     3
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     4
    <Filter Include="Source Files">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     5
      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     6
      <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     7
    </Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     8
    <Filter Include="Header Files">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     9
      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    10
      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    11
    </Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    12
    <Filter Include="Resource Files">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    13
      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    14
      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    15
    </Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    16
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    17
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    18
    <ClCompile Include="getopt.c">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    19
      <Filter>Source Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    20
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    21
    <ClCompile Include="TestMaster.c">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    22
      <Filter>Source Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    23
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    24
    <ClCompile Include="TestMasterMicroMod.c">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    25
      <Filter>Source Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    26
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    27
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    28
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    29
    <ClInclude Include="getopt.h">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    30
      <Filter>Header Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    31
    </ClInclude>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    32
    <ClInclude Include="TestMaster.h">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    33
      <Filter>Header Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    34
    </ClInclude>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    35
    <ClInclude Include="TestMasterMicroMod.h">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    36
      <Filter>Header Files</Filter>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    37
    </ClInclude>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    38
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    39
</Project>