Added Netbean to work with cmake
[src/app-framework-binder.git] / nbproject / configurations.xml
index ce722f7..511a81e 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <configurationDescriptor version="97">
   <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
-    <logicalFolder name="HeaderFiles"
-                   displayName="Header Files"
-                   projectFiles="true">
-    </logicalFolder>
-    <logicalFolder name="ResourceFiles"
-                   displayName="Resource Files"
-                   projectFiles="true">
-    </logicalFolder>
-    <logicalFolder name="SourceFiles"
-                   displayName="Source Files"
-                   projectFiles="true">
-      <itemPath>src/afbs-api.c</itemPath>
-      <itemPath>src/alsa-api.c</itemPath>
-      <itemPath>src/config.c</itemPath>
-      <itemPath>src/dbus-api.c</itemPath>
-      <itemPath>src/http-svc.c</itemPath>
-      <itemPath>src/main.c</itemPath>
-      <itemPath>src/rest-api.c</itemPath>
-      <itemPath>src/session.c</itemPath>
-    </logicalFolder>
-    <logicalFolder name="TestFiles"
-                   displayName="Test Files"
-                   projectFiles="false"
-                   kind="TEST_LOGICAL_FOLDER">
-    </logicalFolder>
+    <df root="." name="0">
+      <df name="src">
+        <in>afbs-api.c</in>
+        <in>alsa-api.c</in>
+        <in>config.c</in>
+        <in>dbus-api.c</in>
+        <in>http-svc.c</in>
+        <in>main.c</in>
+        <in>rest-api.c</in>
+        <in>session.c</in>
+      </df>
+    </df>
     <logicalFolder name="ExternalFiles"
                    displayName="Important Files"
                    projectFiles="false"
                    kind="IMPORTANT_FILES_FOLDER">
-      <itemPath>Makefile</itemPath>
+      <itemPath>CMakeLists.txt</itemPath>
+      <itemPath>build/Makefile</itemPath>
+      <itemPath>nbproject/private/launcher.properties</itemPath>
     </logicalFolder>
   </logicalFolder>
-  <projectmakefile>Makefile</projectmakefile>
+  <sourceFolderFilter>^(nbproject)$</sourceFolderFilter>
+  <sourceRootList>
+    <Elem>.</Elem>
+  </sourceRootList>
+  <projectmakefile>build/Makefile</projectmakefile>
   <confs>
-    <conf name="Debug" type="1">
+    <conf name="Default" type="0">
       <toolsSet>
         <compilerSet>default</compilerSet>
-        <dependencyChecking>true</dependencyChecking>
+        <dependencyChecking>false</dependencyChecking>
         <rebuildPropChanged>false</rebuildPropChanged>
       </toolsSet>
-      <compileType>
-        <cTool>
+      <flagsDictionary>
+        <element flagsID="0" commonFlags="-fPIE"/>
+        <element flagsID="1" commonFlags="-mtune=generic -march=x86-64 -fPIE"/>
+      </flagsDictionary>
+      <codeAssistance>
+      </codeAssistance>
+      <makefileType>
+        <makeTool>
+          <buildCommandWorkingDir>build</buildCommandWorkingDir>
+          <buildCommand>${MAKE} -f Makefile</buildCommand>
+          <cleanCommand>${MAKE} -f Makefile clean</cleanCommand>
+          <executablePath>build/src/afb-daemon</executablePath>
+        </makeTool>
+        <preBuild>
+          <preBuildCommandWorkingDir>build</preBuildCommandWorkingDir>
+          <preBuildCommand>cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=${IDE_CC} -DCMAKE_CXX_COMPILER=${IDE_CXX} -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..</preBuildCommand>
+        </preBuild>
+      </makefileType>
+      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
           <incDir>
+            <pElem>src</pElem>
             <pElem>/usr/include/json-c</pElem>
             <pElem>include</pElem>
-            <pElem>/opt/libmagic/include</pElem>
+            <pElem>build/src</pElem>
           </incDir>
         </cTool>
-        <linkerTool>
-          <linkerLibItems>
-            <linkerOptionItem>`pkg-config --libs libmicrohttpd`</linkerOptionItem>
-            <linkerOptionItem>`pkg-config --libs json-c`</linkerOptionItem>
-            <linkerLibLibItem>efence</linkerLibLibItem>
-            <linkerLibLibItem>magic</linkerLibLibItem>
-          </linkerLibItems>
-        </linkerTool>
-      </compileType>
-      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/config.c" ex="false" tool="0" flavor2="0">
       </item>
-      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/http-svc.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/main.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/rest-api.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/session.c" ex="false" tool="0" flavor2="0">
-      </item>
-    </conf>
-    <conf name="Release" type="1">
-      <toolsSet>
-        <compilerSet>default</compilerSet>
-        <dependencyChecking>true</dependencyChecking>
-        <rebuildPropChanged>false</rebuildPropChanged>
-      </toolsSet>
-      <compileType>
-        <cTool>
-          <developmentMode>5</developmentMode>
+      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
         </cTool>
-        <ccTool>
-          <developmentMode>5</developmentMode>
-        </ccTool>
-        <fortranCompilerTool>
-          <developmentMode>5</developmentMode>
-        </fortranCompilerTool>
-        <asmTool>
-          <developmentMode>5</developmentMode>
-        </asmTool>
-      </compileType>
-      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="0">
-      </item>
-      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="0">
       </item>
-      <item path="src/config.c" ex="false" tool="0" flavor2="0">
+      <item path="src/config.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__PIE__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+            <Elem>__pie__=2</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
-      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="0">
+      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/http-svc.c" ex="false" tool="0" flavor2="0">
+      <item path="src/http-svc.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/main.c" ex="false" tool="0" flavor2="0">
+      <item path="src/main.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="0">
+          <incDir>
+            <pElem>include</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/rest-api.c" ex="false" tool="0" flavor2="0">
+      <item path="src/rest-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/session.c" ex="false" tool="0" flavor2="0">
+      <item path="src/session.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__PIE__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+            <Elem>__pie__=2</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
     </conf>
   </confs>