Commit 0937c99c22242423631f00449d86b196ab4ea491
0 parents
Imported code and license
Showing
41 changed files
with
3519 additions
and
0 deletions
.idea/.name
0 → 100644
.idea/misc.xml
0 → 100644
1 | +++ a/.idea/misc.xml | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> | ||
4 | + <component name="ProjectLevelVcsManager" settingsEditedManually="false"> | ||
5 | + <OptionsSetting value="true" id="Add" /> | ||
6 | + <OptionsSetting value="true" id="Remove" /> | ||
7 | + <OptionsSetting value="true" id="Checkout" /> | ||
8 | + <OptionsSetting value="true" id="Update" /> | ||
9 | + <OptionsSetting value="true" id="Status" /> | ||
10 | + <OptionsSetting value="true" id="Edit" /> | ||
11 | + <ConfirmationsSetting value="0" id="Add" /> | ||
12 | + <ConfirmationsSetting value="0" id="Remove" /> | ||
13 | + </component> | ||
14 | + <component name="ProjectRootManager" version="2" /> | ||
15 | +</project> | ||
0 | \ No newline at end of file | 16 | \ No newline at end of file |
.idea/modules.xml
0 → 100644
1 | +++ a/.idea/modules.xml | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="ProjectModuleManager"> | ||
4 | + <modules> | ||
5 | + <module fileurl="file://$PROJECT_DIR$/.idea/touchpad_disabler.iml" filepath="$PROJECT_DIR$/.idea/touchpad_disabler.iml" /> | ||
6 | + </modules> | ||
7 | + </component> | ||
8 | +</project> | ||
0 | \ No newline at end of file | 9 | \ No newline at end of file |
.idea/touchpad_disabler.iml
0 → 100644
1 | +++ a/.idea/touchpad_disabler.iml | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<module type="CPP_MODULE" version="4"> | ||
3 | + <component name="NewModuleRootManager"> | ||
4 | + <content url="file://$MODULE_DIR$"> | ||
5 | + <sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" /> | ||
6 | + <sourceFolder url="file://$MODULE_DIR$/CMakeModules/FindLibUSB.cmake" isTestSource="false" /> | ||
7 | + <sourceFolder url="file://$MODULE_DIR$/main.cpp" isTestSource="false" /> | ||
8 | + </content> | ||
9 | + <orderEntry type="inheritedJdk" /> | ||
10 | + <orderEntry type="sourceFolder" forTests="false" /> | ||
11 | + <orderEntry type="module-library"> | ||
12 | + <library name="Header Search Paths"> | ||
13 | + <CLASSES> | ||
14 | + <root url="file:///usr/include" /> | ||
15 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include" /> | ||
16 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed" /> | ||
17 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/cilk" /> | ||
18 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/objc" /> | ||
19 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/sanitizer" /> | ||
20 | + <root url="file:///usr/local/include" /> | ||
21 | + </CLASSES> | ||
22 | + <SOURCES> | ||
23 | + <root url="file:///usr/include" /> | ||
24 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include" /> | ||
25 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed" /> | ||
26 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/cilk" /> | ||
27 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/objc" /> | ||
28 | + <root url="file:///usr/lib/gcc/x86_64-linux-gnu/4.9/include/sanitizer" /> | ||
29 | + <root url="file:///usr/local/include" /> | ||
30 | + </SOURCES> | ||
31 | + </library> | ||
32 | + </orderEntry> | ||
33 | + </component> | ||
34 | +</module> | ||
0 | \ No newline at end of file | 35 | \ No newline at end of file |
.idea/vcs.xml
0 → 100644
.idea/workspace.xml
0 → 100644
1 | +++ a/.idea/workspace.xml | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="CMakeRunConfigurationManager" shouldGenerate="true" assignedExecutableTargets="true" buildAllGenerated="true"> | ||
4 | + <generated> | ||
5 | + <config projectName="touchpad_disabler" targetName="touchpad_disabler" /> | ||
6 | + </generated> | ||
7 | + </component> | ||
8 | + <component name="CMakeSettings" AUTO_RELOAD="true" GENERATION_PASS_SYSTEM_ENVIRONMENT="true"> | ||
9 | + <ADDITIONAL_GENERATION_ENVIRONMENT> | ||
10 | + <envs /> | ||
11 | + </ADDITIONAL_GENERATION_ENVIRONMENT> | ||
12 | + </component> | ||
13 | + <component name="ChangeListManager"> | ||
14 | + <list default="true" id="e0875d9b-495e-4dcd-84f7-d6d55ade697e" name="Default" comment="" /> | ||
15 | + <ignored path="touchpad_disabler.iws" /> | ||
16 | + <ignored path=".idea/workspace.xml" /> | ||
17 | + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | ||
18 | + <option name="TRACKING_ENABLED" value="true" /> | ||
19 | + <option name="SHOW_DIALOG" value="false" /> | ||
20 | + <option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||
21 | + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | ||
22 | + <option name="LAST_RESOLUTION" value="IGNORE" /> | ||
23 | + </component> | ||
24 | + <component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> | ||
25 | + <component name="CreatePatchCommitExecutor"> | ||
26 | + <option name="PATCH_PATH" value="" /> | ||
27 | + </component> | ||
28 | + <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> | ||
29 | + <component name="FavoritesManager"> | ||
30 | + <favorites_list name="touchpad_disabler" /> | ||
31 | + </component> | ||
32 | + <component name="FileEditorManager"> | ||
33 | + <leaf> | ||
34 | + <file leaf-file-name="CMakeLists.txt" pinned="false" current-in-tab="false"> | ||
35 | + <entry file="file://$PROJECT_DIR$/CMakeLists.txt"> | ||
36 | + <provider selected="true" editor-type-id="text-editor"> | ||
37 | + <state vertical-scroll-proportion="0.0"> | ||
38 | + <caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" /> | ||
39 | + <folding /> | ||
40 | + </state> | ||
41 | + </provider> | ||
42 | + </entry> | ||
43 | + </file> | ||
44 | + <file leaf-file-name="main.cpp" pinned="false" current-in-tab="true"> | ||
45 | + <entry file="file://$PROJECT_DIR$/main.cpp"> | ||
46 | + <provider selected="true" editor-type-id="text-editor"> | ||
47 | + <state vertical-scroll-proportion="1.8140703"> | ||
48 | + <caret line="59" column="63" selection-start-line="59" selection-start-column="63" selection-end-line="59" selection-end-column="63" /> | ||
49 | + <folding> | ||
50 | + <element signature="e#0#19#0" expanded="true" /> | ||
51 | + </folding> | ||
52 | + </state> | ||
53 | + </provider> | ||
54 | + </entry> | ||
55 | + </file> | ||
56 | + <file leaf-file-name="FindLibUSB.cmake" pinned="false" current-in-tab="false"> | ||
57 | + <entry file="file://$PROJECT_DIR$/CMakeModules/FindLibUSB.cmake"> | ||
58 | + <provider selected="true" editor-type-id="text-editor"> | ||
59 | + <state vertical-scroll-proportion="0.0"> | ||
60 | + <caret line="90" column="53" selection-start-line="90" selection-start-column="53" selection-end-line="90" selection-end-column="53" /> | ||
61 | + <folding /> | ||
62 | + </state> | ||
63 | + </provider> | ||
64 | + </entry> | ||
65 | + </file> | ||
66 | + </leaf> | ||
67 | + </component> | ||
68 | + <component name="IdeDocumentHistory"> | ||
69 | + <option name="CHANGED_PATHS"> | ||
70 | + <list> | ||
71 | + <option value="$PROJECT_DIR$/CMakeModules/FindLonUSB.cmake" /> | ||
72 | + <option value="$PROJECT_DIR$/CMakeModules/FindLibUSB.cmake" /> | ||
73 | + <option value="$PROJECT_DIR$/CMakeLists.txt" /> | ||
74 | + <option value="$PROJECT_DIR$/main.cpp" /> | ||
75 | + </list> | ||
76 | + </option> | ||
77 | + </component> | ||
78 | + <component name="JsBuildToolGruntFileManager" detection-done="true" /> | ||
79 | + <component name="JsGulpfileManager"> | ||
80 | + <detection-done>true</detection-done> | ||
81 | + </component> | ||
82 | + <component name="NamedScopeManager"> | ||
83 | + <order /> | ||
84 | + </component> | ||
85 | + <component name="ProjectFrameBounds"> | ||
86 | + <option name="y" value="23" /> | ||
87 | + <option name="width" value="1366" /> | ||
88 | + <option name="height" value="744" /> | ||
89 | + </component> | ||
90 | + <component name="ProjectLevelVcsManager" settingsEditedManually="false"> | ||
91 | + <OptionsSetting value="true" id="Add" /> | ||
92 | + <OptionsSetting value="true" id="Remove" /> | ||
93 | + <OptionsSetting value="true" id="Checkout" /> | ||
94 | + <OptionsSetting value="true" id="Update" /> | ||
95 | + <OptionsSetting value="true" id="Status" /> | ||
96 | + <OptionsSetting value="true" id="Edit" /> | ||
97 | + <ConfirmationsSetting value="0" id="Add" /> | ||
98 | + <ConfirmationsSetting value="0" id="Remove" /> | ||
99 | + </component> | ||
100 | + <component name="ProjectView"> | ||
101 | + <navigator currentView="ProjectPane" proportions="" version="1"> | ||
102 | + <flattenPackages /> | ||
103 | + <showMembers /> | ||
104 | + <showModules /> | ||
105 | + <showLibraryContents /> | ||
106 | + <hideEmptyPackages /> | ||
107 | + <abbreviatePackageNames /> | ||
108 | + <autoscrollToSource /> | ||
109 | + <autoscrollFromSource /> | ||
110 | + <sortByType /> | ||
111 | + </navigator> | ||
112 | + <panes> | ||
113 | + <pane id="ProjectPane"> | ||
114 | + <subPane> | ||
115 | + <PATH> | ||
116 | + <PATH_ELEMENT> | ||
117 | + <option name="myItemId" value="touchpad_disabler" /> | ||
118 | + <option name="myItemType" value="com.jetbrains.cidr.projectView.CidrFilesViewHelper$MyProjectTreeStructure$1" /> | ||
119 | + </PATH_ELEMENT> | ||
120 | + <PATH_ELEMENT> | ||
121 | + <option name="myItemId" value="External Libraries" /> | ||
122 | + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" /> | ||
123 | + </PATH_ELEMENT> | ||
124 | + </PATH> | ||
125 | + <PATH> | ||
126 | + <PATH_ELEMENT> | ||
127 | + <option name="myItemId" value="touchpad_disabler" /> | ||
128 | + <option name="myItemType" value="com.jetbrains.cidr.projectView.CidrFilesViewHelper$MyProjectTreeStructure$1" /> | ||
129 | + </PATH_ELEMENT> | ||
130 | + <PATH_ELEMENT> | ||
131 | + <option name="myItemId" value="touchpad_disabler" /> | ||
132 | + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | ||
133 | + </PATH_ELEMENT> | ||
134 | + </PATH> | ||
135 | + <PATH> | ||
136 | + <PATH_ELEMENT> | ||
137 | + <option name="myItemId" value="touchpad_disabler" /> | ||
138 | + <option name="myItemType" value="com.jetbrains.cidr.projectView.CidrFilesViewHelper$MyProjectTreeStructure$1" /> | ||
139 | + </PATH_ELEMENT> | ||
140 | + <PATH_ELEMENT> | ||
141 | + <option name="myItemId" value="touchpad_disabler" /> | ||
142 | + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | ||
143 | + </PATH_ELEMENT> | ||
144 | + <PATH_ELEMENT> | ||
145 | + <option name="myItemId" value="CMakeModules" /> | ||
146 | + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | ||
147 | + </PATH_ELEMENT> | ||
148 | + </PATH> | ||
149 | + </subPane> | ||
150 | + </pane> | ||
151 | + </panes> | ||
152 | + </component> | ||
153 | + <component name="PropertiesComponent"> | ||
154 | + <property name="recentsLimit" value="5" /> | ||
155 | + <property name="FullScreen" value="false" /> | ||
156 | + </component> | ||
157 | + <component name="RunManager" selected="Application.Build All"> | ||
158 | + <configuration default="true" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS="FALSE" PROJECT_NAME="touchpad_disabler" TARGET_NAME="touchpad_disabler" CONFIG_NAME="Debug"> | ||
159 | + <envs /> | ||
160 | + <method /> | ||
161 | + </configuration> | ||
162 | + <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js"> | ||
163 | + <node-options /> | ||
164 | + <gulpfile /> | ||
165 | + <tasks /> | ||
166 | + <arguments /> | ||
167 | + <pass-parent-envs>true</pass-parent-envs> | ||
168 | + <envs /> | ||
169 | + <method /> | ||
170 | + </configuration> | ||
171 | + <configuration default="false" name="touchpad_disabler" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS="FALSE" PROJECT_NAME="touchpad_disabler" TARGET_NAME="touchpad_disabler" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="touchpad_disabler" RUN_TARGET_NAME="touchpad_disabler"> | ||
172 | + <envs /> | ||
173 | + <method /> | ||
174 | + </configuration> | ||
175 | + <configuration default="false" name="Build All" type="CMakeRunConfiguration" factoryName="Application" WORKING_DIR="" PASS_PARENT_ENVS="FALSE" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="touchpad_disabler" RUN_TARGET_NAME="touchpad_disabler" EXPLICIT_BUILD_TARGET_NAME="all"> | ||
176 | + <envs /> | ||
177 | + <method /> | ||
178 | + </configuration> | ||
179 | + <list size="2"> | ||
180 | + <item index="0" class="java.lang.String" itemvalue="Application.touchpad_disabler" /> | ||
181 | + <item index="1" class="java.lang.String" itemvalue="Application.Build All" /> | ||
182 | + </list> | ||
183 | + </component> | ||
184 | + <component name="ShelveChangesManager" show_recycled="false" /> | ||
185 | + <component name="SvnConfiguration"> | ||
186 | + <configuration /> | ||
187 | + </component> | ||
188 | + <component name="TaskManager"> | ||
189 | + <task active="true" id="Default" summary="Default task"> | ||
190 | + <changelist id="e0875d9b-495e-4dcd-84f7-d6d55ade697e" name="Default" comment="" /> | ||
191 | + <created>1448448420474</created> | ||
192 | + <option name="number" value="Default" /> | ||
193 | + <updated>1448448420474</updated> | ||
194 | + </task> | ||
195 | + <servers /> | ||
196 | + </component> | ||
197 | + <component name="ToolWindowManager"> | ||
198 | + <frame x="0" y="23" width="1366" height="744" extended-state="6" /> | ||
199 | + <editor active="true" /> | ||
200 | + <layout> | ||
201 | + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.17620818" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> | ||
202 | + <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> | ||
203 | + <window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.329653" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
204 | + <window_info id="CMake" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3280757" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
205 | + <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> | ||
206 | + <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
207 | + <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.329653" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||
208 | + <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||
209 | + <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
210 | + <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> | ||
211 | + <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39905363" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||
212 | + <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
213 | + <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||
214 | + <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||
215 | + <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> | ||
216 | + <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> | ||
217 | + <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||
218 | + <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||
219 | + </layout> | ||
220 | + </component> | ||
221 | + <component name="Vcs.Log.UiProperties"> | ||
222 | + <option name="RECENTLY_FILTERED_USER_GROUPS"> | ||
223 | + <collection /> | ||
224 | + </option> | ||
225 | + <option name="RECENTLY_FILTERED_BRANCH_GROUPS"> | ||
226 | + <collection /> | ||
227 | + </option> | ||
228 | + </component> | ||
229 | + <component name="VcsContentAnnotationSettings"> | ||
230 | + <option name="myLimit" value="2678400000" /> | ||
231 | + </component> | ||
232 | + <component name="XDebuggerManager"> | ||
233 | + <breakpoint-manager> | ||
234 | + <option name="time" value="2" /> | ||
235 | + </breakpoint-manager> | ||
236 | + <watches-manager> | ||
237 | + <configuration name="CMakeRunConfiguration"> | ||
238 | + <watch expression="inter->num_altsetting" language="ObjectiveC" /> | ||
239 | + <watch expression="j" language="ObjectiveC" /> | ||
240 | + <watch expression="protocol" language="ObjectiveC" /> | ||
241 | + </configuration> | ||
242 | + </watches-manager> | ||
243 | + </component> | ||
244 | + <component name="editorHistoryManager"> | ||
245 | + <entry file="file://$PROJECT_DIR$/CMakeLists.txt"> | ||
246 | + <provider selected="true" editor-type-id="text-editor"> | ||
247 | + <state vertical-scroll-proportion="0.0"> | ||
248 | + <caret line="12" column="30" selection-start-line="12" selection-start-column="30" selection-end-line="12" selection-end-column="30" /> | ||
249 | + <folding /> | ||
250 | + </state> | ||
251 | + </provider> | ||
252 | + </entry> | ||
253 | + <entry file="file://$PROJECT_DIR$/main.cpp"> | ||
254 | + <provider selected="true" editor-type-id="text-editor"> | ||
255 | + <state vertical-scroll-proportion="0.0"> | ||
256 | + <caret line="20" column="5" selection-start-line="20" selection-start-column="5" selection-end-line="20" selection-end-column="5" /> | ||
257 | + <folding> | ||
258 | + <element signature="e#0#19#0" expanded="true" /> | ||
259 | + </folding> | ||
260 | + </state> | ||
261 | + </provider> | ||
262 | + </entry> | ||
263 | + <entry file="file://$PROJECT_DIR$/CMakeModules/FindLibUSB.cmake"> | ||
264 | + <provider selected="true" editor-type-id="text-editor"> | ||
265 | + <state vertical-scroll-proportion="0.0"> | ||
266 | + <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
267 | + <folding /> | ||
268 | + </state> | ||
269 | + </provider> | ||
270 | + </entry> | ||
271 | + <entry file="file://$PROJECT_DIR$/CMakeModules/FindLibUSB.cmake"> | ||
272 | + <provider selected="true" editor-type-id="text-editor"> | ||
273 | + <state vertical-scroll-proportion="0.0"> | ||
274 | + <caret line="90" column="53" selection-start-line="90" selection-start-column="53" selection-end-line="90" selection-end-column="53" /> | ||
275 | + <folding /> | ||
276 | + </state> | ||
277 | + </provider> | ||
278 | + </entry> | ||
279 | + <entry file="file://$PROJECT_DIR$/CMakeLists.txt"> | ||
280 | + <provider selected="true" editor-type-id="text-editor"> | ||
281 | + <state vertical-scroll-proportion="0.0"> | ||
282 | + <caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" /> | ||
283 | + <folding /> | ||
284 | + </state> | ||
285 | + </provider> | ||
286 | + </entry> | ||
287 | + <entry file="file://$PROJECT_DIR$/main.cpp"> | ||
288 | + <provider selected="true" editor-type-id="text-editor"> | ||
289 | + <state vertical-scroll-proportion="1.8140703"> | ||
290 | + <caret line="59" column="63" selection-start-line="59" selection-start-column="63" selection-end-line="59" selection-end-column="63" /> | ||
291 | + <folding> | ||
292 | + <element signature="e#0#19#0" expanded="true" /> | ||
293 | + </folding> | ||
294 | + </state> | ||
295 | + </provider> | ||
296 | + </entry> | ||
297 | + </component> | ||
298 | +</project> | ||
0 | \ No newline at end of file | 299 | \ No newline at end of file |
CMakeLists.txt
0 → 100644
1 | +++ a/CMakeLists.txt | ||
1 | +cmake_minimum_required(VERSION 3.0) | ||
2 | +project(touchpad_disabler) | ||
3 | + | ||
4 | +set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules) | ||
5 | + | ||
6 | +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
7 | +set(SOURCE_FILES main.cpp) | ||
8 | +add_executable(touchpad_disabler ${SOURCE_FILES}) | ||
9 | + | ||
10 | +find_package(LibUSB REQUIRED) | ||
11 | +include_directories (${LIBUSB_INCLUDE_DIRS}) | ||
12 | + | ||
13 | +SET(CMAKE_CXX_FLAGS "-lusb-1.0") | ||
14 | + | ||
15 | +install (TARGETS touchpad_disabler DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) |
CMakeModules/FindLibUSB.cmake
0 → 100644
1 | +++ a/CMakeModules/FindLibUSB.cmake | ||
1 | +# - try to find libusb-1 library | ||
2 | +# | ||
3 | +# Cache Variables: (probably not for direct use in your scripts) | ||
4 | +# LIBUSB1_LIBRARY | ||
5 | +# LIBUSB1_INCLUDE_DIR | ||
6 | +# | ||
7 | +# Non-cache variables you should use in your CMakeLists.txt: | ||
8 | +# LIBUSB1_LIBRARIES | ||
9 | +# LIBUSB1_INCLUDE_DIRS | ||
10 | +# LIBUSB1_FOUND - if this is not true, do not attempt to use this library | ||
11 | +# | ||
12 | +# Requires these CMake modules: | ||
13 | +# ProgramFilesGlob | ||
14 | +# FindPackageHandleStandardArgs (known included with CMake >=2.6.2) | ||
15 | +# | ||
16 | +# Original Author: | ||
17 | +# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> | ||
18 | +# http://academic.cleardefinition.com | ||
19 | +# Iowa State University HCI Graduate Program/VRAC | ||
20 | +# | ||
21 | +# Copyright Iowa State University 2009-2010. | ||
22 | +# Distributed under the Boost Software License, Version 1.0. | ||
23 | +# (See accompanying file LICENSE_1_0.txt or copy at | ||
24 | +# http://www.boost.org/LICENSE_1_0.txt) | ||
25 | + | ||
26 | + | ||
27 | +set(LIBUSB1_ROOT_DIR | ||
28 | + "${LIBUSB1_ROOT_DIR}" | ||
29 | + CACHE | ||
30 | + PATH | ||
31 | + "Root directory to search for libusb-1") | ||
32 | + | ||
33 | +if(WIN32) | ||
34 | + include(ProgramFilesGlob) | ||
35 | + program_files_fallback_glob(_dirs "LibUSB-Win32") | ||
36 | + if(CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
37 | + if(MSVC) | ||
38 | + set(_lib_suffixes lib/msvc_x64) | ||
39 | + endif() | ||
40 | + else() | ||
41 | + if(MSVC) | ||
42 | + set(_lib_suffixes lib/msvc) | ||
43 | + elseif(COMPILER_IS_GNUCXX) | ||
44 | + set(_lib_suffixes lib/gcc) | ||
45 | + endif() | ||
46 | + endif() | ||
47 | +else() | ||
48 | + set(_lib_suffixes) | ||
49 | + find_package(PkgConfig QUIET) | ||
50 | + if(PKG_CONFIG_FOUND) | ||
51 | + pkg_check_modules(PC_LIBUSB1 libusb-1.0) | ||
52 | + endif() | ||
53 | +endif() | ||
54 | + | ||
55 | +find_path(LIBUSB1_INCLUDE_DIR | ||
56 | + NAMES | ||
57 | + libusb.h | ||
58 | + PATHS | ||
59 | + ${PC_LIBUSB1_INCLUDE_DIRS} | ||
60 | + ${PC_LIBUSB1_INCLUDEDIR} | ||
61 | + ${_dirs} | ||
62 | + HINTS | ||
63 | + "${LIBUSB1_ROOT_DIR}" | ||
64 | + PATH_SUFFIXES | ||
65 | + include) | ||
66 | + | ||
67 | +find_library(LIBUSB1_LIBRARY | ||
68 | + NAMES | ||
69 | + usb-1.0 | ||
70 | + PATHS | ||
71 | + ${PC_LIBUSB1_LIBRARY_DIRS} | ||
72 | + ${PC_LIBUSB1_LIBDIR} | ||
73 | + ${_dirs} | ||
74 | + PATH_SUFFIXES | ||
75 | + ${_lib_suffixes}) | ||
76 | + | ||
77 | +include(FindPackageHandleStandardArgs) | ||
78 | +find_package_handle_standard_args(Libusb1 | ||
79 | + DEFAULT_MSG | ||
80 | + LIBUSB1_LIBRARY | ||
81 | + LIBUSB1_INCLUDE_DIR) | ||
82 | + | ||
83 | +if(LIBUSB1_FOUND) | ||
84 | + set(LIBUSB1_LIBRARIES "${LIBUSB1_LIBRARY}") | ||
85 | + | ||
86 | + set(LIBUSB1_INCLUDE_DIRS "${LIBUSB1_INCLUDE_DIR}") | ||
87 | + | ||
88 | + mark_as_advanced(LIBUSB1_ROOT_DIR) | ||
89 | +endif() | ||
90 | + | ||
91 | +mark_as_advanced(LIBUSB1_INCLUDE_DIR LIBUSB1_LIBRARY) | ||
0 | \ No newline at end of file | 92 | \ No newline at end of file |
LICENSE.TXT
0 → 100644
1 | +++ a/LICENSE.TXT | ||
1 | + GNU GENERAL PUBLIC LICENSE | ||
2 | + Version 3, 29 June 2007 | ||
3 | + | ||
4 | + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
5 | + Everyone is permitted to copy and distribute verbatim copies | ||
6 | + of this license document, but changing it is not allowed. | ||
7 | + | ||
8 | + Preamble | ||
9 | + | ||
10 | + The GNU General Public License is a free, copyleft license for | ||
11 | +software and other kinds of works. | ||
12 | + | ||
13 | + The licenses for most software and other practical works are designed | ||
14 | +to take away your freedom to share and change the works. By contrast, | ||
15 | +the GNU General Public License is intended to guarantee your freedom to | ||
16 | +share and change all versions of a program--to make sure it remains free | ||
17 | +software for all its users. We, the Free Software Foundation, use the | ||
18 | +GNU General Public License for most of our software; it applies also to | ||
19 | +any other work released this way by its authors. You can apply it to | ||
20 | +your programs, too. | ||
21 | + | ||
22 | + When we speak of free software, we are referring to freedom, not | ||
23 | +price. Our General Public Licenses are designed to make sure that you | ||
24 | +have the freedom to distribute copies of free software (and charge for | ||
25 | +them if you wish), that you receive source code or can get it if you | ||
26 | +want it, that you can change the software or use pieces of it in new | ||
27 | +free programs, and that you know you can do these things. | ||
28 | + | ||
29 | + To protect your rights, we need to prevent others from denying you | ||
30 | +these rights or asking you to surrender the rights. Therefore, you have | ||
31 | +certain responsibilities if you distribute copies of the software, or if | ||
32 | +you modify it: responsibilities to respect the freedom of others. | ||
33 | + | ||
34 | + For example, if you distribute copies of such a program, whether | ||
35 | +gratis or for a fee, you must pass on to the recipients the same | ||
36 | +freedoms that you received. You must make sure that they, too, receive | ||
37 | +or can get the source code. And you must show them these terms so they | ||
38 | +know their rights. | ||
39 | + | ||
40 | + Developers that use the GNU GPL protect your rights with two steps: | ||
41 | +(1) assert copyright on the software, and (2) offer you this License | ||
42 | +giving you legal permission to copy, distribute and/or modify it. | ||
43 | + | ||
44 | + For the developers' and authors' protection, the GPL clearly explains | ||
45 | +that there is no warranty for this free software. For both users' and | ||
46 | +authors' sake, the GPL requires that modified versions be marked as | ||
47 | +changed, so that their problems will not be attributed erroneously to | ||
48 | +authors of previous versions. | ||
49 | + | ||
50 | + Some devices are designed to deny users access to install or run | ||
51 | +modified versions of the software inside them, although the manufacturer | ||
52 | +can do so. This is fundamentally incompatible with the aim of | ||
53 | +protecting users' freedom to change the software. The systematic | ||
54 | +pattern of such abuse occurs in the area of products for individuals to | ||
55 | +use, which is precisely where it is most unacceptable. Therefore, we | ||
56 | +have designed this version of the GPL to prohibit the practice for those | ||
57 | +products. If such problems arise substantially in other domains, we | ||
58 | +stand ready to extend this provision to those domains in future versions | ||
59 | +of the GPL, as needed to protect the freedom of users. | ||
60 | + | ||
61 | + Finally, every program is threatened constantly by software patents. | ||
62 | +States should not allow patents to restrict development and use of | ||
63 | +software on general-purpose computers, but in those that do, we wish to | ||
64 | +avoid the special danger that patents applied to a free program could | ||
65 | +make it effectively proprietary. To prevent this, the GPL assures that | ||
66 | +patents cannot be used to render the program non-free. | ||
67 | + | ||
68 | + The precise terms and conditions for copying, distribution and | ||
69 | +modification follow. | ||
70 | + | ||
71 | + TERMS AND CONDITIONS | ||
72 | + | ||
73 | + 0. Definitions. | ||
74 | + | ||
75 | + "This License" refers to version 3 of the GNU General Public License. | ||
76 | + | ||
77 | + "Copyright" also means copyright-like laws that apply to other kinds of | ||
78 | +works, such as semiconductor masks. | ||
79 | + | ||
80 | + "The Program" refers to any copyrightable work licensed under this | ||
81 | +License. Each licensee is addressed as "you". "Licensees" and | ||
82 | +"recipients" may be individuals or organizations. | ||
83 | + | ||
84 | + To "modify" a work means to copy from or adapt all or part of the work | ||
85 | +in a fashion requiring copyright permission, other than the making of an | ||
86 | +exact copy. The resulting work is called a "modified version" of the | ||
87 | +earlier work or a work "based on" the earlier work. | ||
88 | + | ||
89 | + A "covered work" means either the unmodified Program or a work based | ||
90 | +on the Program. | ||
91 | + | ||
92 | + To "propagate" a work means to do anything with it that, without | ||
93 | +permission, would make you directly or secondarily liable for | ||
94 | +infringement under applicable copyright law, except executing it on a | ||
95 | +computer or modifying a private copy. Propagation includes copying, | ||
96 | +distribution (with or without modification), making available to the | ||
97 | +public, and in some countries other activities as well. | ||
98 | + | ||
99 | + To "convey" a work means any kind of propagation that enables other | ||
100 | +parties to make or receive copies. Mere interaction with a user through | ||
101 | +a computer network, with no transfer of a copy, is not conveying. | ||
102 | + | ||
103 | + An interactive user interface displays "Appropriate Legal Notices" | ||
104 | +to the extent that it includes a convenient and prominently visible | ||
105 | +feature that (1) displays an appropriate copyright notice, and (2) | ||
106 | +tells the user that there is no warranty for the work (except to the | ||
107 | +extent that warranties are provided), that licensees may convey the | ||
108 | +work under this License, and how to view a copy of this License. If | ||
109 | +the interface presents a list of user commands or options, such as a | ||
110 | +menu, a prominent item in the list meets this criterion. | ||
111 | + | ||
112 | + 1. Source Code. | ||
113 | + | ||
114 | + The "source code" for a work means the preferred form of the work | ||
115 | +for making modifications to it. "Object code" means any non-source | ||
116 | +form of a work. | ||
117 | + | ||
118 | + A "Standard Interface" means an interface that either is an official | ||
119 | +standard defined by a recognized standards body, or, in the case of | ||
120 | +interfaces specified for a particular programming language, one that | ||
121 | +is widely used among developers working in that language. | ||
122 | + | ||
123 | + The "System Libraries" of an executable work include anything, other | ||
124 | +than the work as a whole, that (a) is included in the normal form of | ||
125 | +packaging a Major Component, but which is not part of that Major | ||
126 | +Component, and (b) serves only to enable use of the work with that | ||
127 | +Major Component, or to implement a Standard Interface for which an | ||
128 | +implementation is available to the public in source code form. A | ||
129 | +"Major Component", in this context, means a major essential component | ||
130 | +(kernel, window system, and so on) of the specific operating system | ||
131 | +(if any) on which the executable work runs, or a compiler used to | ||
132 | +produce the work, or an object code interpreter used to run it. | ||
133 | + | ||
134 | + The "Corresponding Source" for a work in object code form means all | ||
135 | +the source code needed to generate, install, and (for an executable | ||
136 | +work) run the object code and to modify the work, including scripts to | ||
137 | +control those activities. However, it does not include the work's | ||
138 | +System Libraries, or general-purpose tools or generally available free | ||
139 | +programs which are used unmodified in performing those activities but | ||
140 | +which are not part of the work. For example, Corresponding Source | ||
141 | +includes interface definition files associated with source files for | ||
142 | +the work, and the source code for shared libraries and dynamically | ||
143 | +linked subprograms that the work is specifically designed to require, | ||
144 | +such as by intimate data communication or control flow between those | ||
145 | +subprograms and other parts of the work. | ||
146 | + | ||
147 | + The Corresponding Source need not include anything that users | ||
148 | +can regenerate automatically from other parts of the Corresponding | ||
149 | +Source. | ||
150 | + | ||
151 | + The Corresponding Source for a work in source code form is that | ||
152 | +same work. | ||
153 | + | ||
154 | + 2. Basic Permissions. | ||
155 | + | ||
156 | + All rights granted under this License are granted for the term of | ||
157 | +copyright on the Program, and are irrevocable provided the stated | ||
158 | +conditions are met. This License explicitly affirms your unlimited | ||
159 | +permission to run the unmodified Program. The output from running a | ||
160 | +covered work is covered by this License only if the output, given its | ||
161 | +content, constitutes a covered work. This License acknowledges your | ||
162 | +rights of fair use or other equivalent, as provided by copyright law. | ||
163 | + | ||
164 | + You may make, run and propagate covered works that you do not | ||
165 | +convey, without conditions so long as your license otherwise remains | ||
166 | +in force. You may convey covered works to others for the sole purpose | ||
167 | +of having them make modifications exclusively for you, or provide you | ||
168 | +with facilities for running those works, provided that you comply with | ||
169 | +the terms of this License in conveying all material for which you do | ||
170 | +not control copyright. Those thus making or running the covered works | ||
171 | +for you must do so exclusively on your behalf, under your direction | ||
172 | +and control, on terms that prohibit them from making any copies of | ||
173 | +your copyrighted material outside their relationship with you. | ||
174 | + | ||
175 | + Conveying under any other circumstances is permitted solely under | ||
176 | +the conditions stated below. Sublicensing is not allowed; section 10 | ||
177 | +makes it unnecessary. | ||
178 | + | ||
179 | + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. | ||
180 | + | ||
181 | + No covered work shall be deemed part of an effective technological | ||
182 | +measure under any applicable law fulfilling obligations under article | ||
183 | +11 of the WIPO copyright treaty adopted on 20 December 1996, or | ||
184 | +similar laws prohibiting or restricting circumvention of such | ||
185 | +measures. | ||
186 | + | ||
187 | + When you convey a covered work, you waive any legal power to forbid | ||
188 | +circumvention of technological measures to the extent such circumvention | ||
189 | +is effected by exercising rights under this License with respect to | ||
190 | +the covered work, and you disclaim any intention to limit operation or | ||
191 | +modification of the work as a means of enforcing, against the work's | ||
192 | +users, your or third parties' legal rights to forbid circumvention of | ||
193 | +technological measures. | ||
194 | + | ||
195 | + 4. Conveying Verbatim Copies. | ||
196 | + | ||
197 | + You may convey verbatim copies of the Program's source code as you | ||
198 | +receive it, in any medium, provided that you conspicuously and | ||
199 | +appropriately publish on each copy an appropriate copyright notice; | ||
200 | +keep intact all notices stating that this License and any | ||
201 | +non-permissive terms added in accord with section 7 apply to the code; | ||
202 | +keep intact all notices of the absence of any warranty; and give all | ||
203 | +recipients a copy of this License along with the Program. | ||
204 | + | ||
205 | + You may charge any price or no price for each copy that you convey, | ||
206 | +and you may offer support or warranty protection for a fee. | ||
207 | + | ||
208 | + 5. Conveying Modified Source Versions. | ||
209 | + | ||
210 | + You may convey a work based on the Program, or the modifications to | ||
211 | +produce it from the Program, in the form of source code under the | ||
212 | +terms of section 4, provided that you also meet all of these conditions: | ||
213 | + | ||
214 | + a) The work must carry prominent notices stating that you modified | ||
215 | + it, and giving a relevant date. | ||
216 | + | ||
217 | + b) The work must carry prominent notices stating that it is | ||
218 | + released under this License and any conditions added under section | ||
219 | + 7. This requirement modifies the requirement in section 4 to | ||
220 | + "keep intact all notices". | ||
221 | + | ||
222 | + c) You must license the entire work, as a whole, under this | ||
223 | + License to anyone who comes into possession of a copy. This | ||
224 | + License will therefore apply, along with any applicable section 7 | ||
225 | + additional terms, to the whole of the work, and all its parts, | ||
226 | + regardless of how they are packaged. This License gives no | ||
227 | + permission to license the work in any other way, but it does not | ||
228 | + invalidate such permission if you have separately received it. | ||
229 | + | ||
230 | + d) If the work has interactive user interfaces, each must display | ||
231 | + Appropriate Legal Notices; however, if the Program has interactive | ||
232 | + interfaces that do not display Appropriate Legal Notices, your | ||
233 | + work need not make them do so. | ||
234 | + | ||
235 | + A compilation of a covered work with other separate and independent | ||
236 | +works, which are not by their nature extensions of the covered work, | ||
237 | +and which are not combined with it such as to form a larger program, | ||
238 | +in or on a volume of a storage or distribution medium, is called an | ||
239 | +"aggregate" if the compilation and its resulting copyright are not | ||
240 | +used to limit the access or legal rights of the compilation's users | ||
241 | +beyond what the individual works permit. Inclusion of a covered work | ||
242 | +in an aggregate does not cause this License to apply to the other | ||
243 | +parts of the aggregate. | ||
244 | + | ||
245 | + 6. Conveying Non-Source Forms. | ||
246 | + | ||
247 | + You may convey a covered work in object code form under the terms | ||
248 | +of sections 4 and 5, provided that you also convey the | ||
249 | +machine-readable Corresponding Source under the terms of this License, | ||
250 | +in one of these ways: | ||
251 | + | ||
252 | + a) Convey the object code in, or embodied in, a physical product | ||
253 | + (including a physical distribution medium), accompanied by the | ||
254 | + Corresponding Source fixed on a durable physical medium | ||
255 | + customarily used for software interchange. | ||
256 | + | ||
257 | + b) Convey the object code in, or embodied in, a physical product | ||
258 | + (including a physical distribution medium), accompanied by a | ||
259 | + written offer, valid for at least three years and valid for as | ||
260 | + long as you offer spare parts or customer support for that product | ||
261 | + model, to give anyone who possesses the object code either (1) a | ||
262 | + copy of the Corresponding Source for all the software in the | ||
263 | + product that is covered by this License, on a durable physical | ||
264 | + medium customarily used for software interchange, for a price no | ||
265 | + more than your reasonable cost of physically performing this | ||
266 | + conveying of source, or (2) access to copy the | ||
267 | + Corresponding Source from a network server at no charge. | ||
268 | + | ||
269 | + c) Convey individual copies of the object code with a copy of the | ||
270 | + written offer to provide the Corresponding Source. This | ||
271 | + alternative is allowed only occasionally and noncommercially, and | ||
272 | + only if you received the object code with such an offer, in accord | ||
273 | + with subsection 6b. | ||
274 | + | ||
275 | + d) Convey the object code by offering access from a designated | ||
276 | + place (gratis or for a charge), and offer equivalent access to the | ||
277 | + Corresponding Source in the same way through the same place at no | ||
278 | + further charge. You need not require recipients to copy the | ||
279 | + Corresponding Source along with the object code. If the place to | ||
280 | + copy the object code is a network server, the Corresponding Source | ||
281 | + may be on a different server (operated by you or a third party) | ||
282 | + that supports equivalent copying facilities, provided you maintain | ||
283 | + clear directions next to the object code saying where to find the | ||
284 | + Corresponding Source. Regardless of what server hosts the | ||
285 | + Corresponding Source, you remain obligated to ensure that it is | ||
286 | + available for as long as needed to satisfy these requirements. | ||
287 | + | ||
288 | + e) Convey the object code using peer-to-peer transmission, provided | ||
289 | + you inform other peers where the object code and Corresponding | ||
290 | + Source of the work are being offered to the general public at no | ||
291 | + charge under subsection 6d. | ||
292 | + | ||
293 | + A separable portion of the object code, whose source code is excluded | ||
294 | +from the Corresponding Source as a System Library, need not be | ||
295 | +included in conveying the object code work. | ||
296 | + | ||
297 | + A "User Product" is either (1) a "consumer product", which means any | ||
298 | +tangible personal property which is normally used for personal, family, | ||
299 | +or household purposes, or (2) anything designed or sold for incorporation | ||
300 | +into a dwelling. In determining whether a product is a consumer product, | ||
301 | +doubtful cases shall be resolved in favor of coverage. For a particular | ||
302 | +product received by a particular user, "normally used" refers to a | ||
303 | +typical or common use of that class of product, regardless of the status | ||
304 | +of the particular user or of the way in which the particular user | ||
305 | +actually uses, or expects or is expected to use, the product. A product | ||
306 | +is a consumer product regardless of whether the product has substantial | ||
307 | +commercial, industrial or non-consumer uses, unless such uses represent | ||
308 | +the only significant mode of use of the product. | ||
309 | + | ||
310 | + "Installation Information" for a User Product means any methods, | ||
311 | +procedures, authorization keys, or other information required to install | ||
312 | +and execute modified versions of a covered work in that User Product from | ||
313 | +a modified version of its Corresponding Source. The information must | ||
314 | +suffice to ensure that the continued functioning of the modified object | ||
315 | +code is in no case prevented or interfered with solely because | ||
316 | +modification has been made. | ||
317 | + | ||
318 | + If you convey an object code work under this section in, or with, or | ||
319 | +specifically for use in, a User Product, and the conveying occurs as | ||
320 | +part of a transaction in which the right of possession and use of the | ||
321 | +User Product is transferred to the recipient in perpetuity or for a | ||
322 | +fixed term (regardless of how the transaction is characterized), the | ||
323 | +Corresponding Source conveyed under this section must be accompanied | ||
324 | +by the Installation Information. But this requirement does not apply | ||
325 | +if neither you nor any third party retains the ability to install | ||
326 | +modified object code on the User Product (for example, the work has | ||
327 | +been installed in ROM). | ||
328 | + | ||
329 | + The requirement to provide Installation Information does not include a | ||
330 | +requirement to continue to provide support service, warranty, or updates | ||
331 | +for a work that has been modified or installed by the recipient, or for | ||
332 | +the User Product in which it has been modified or installed. Access to a | ||
333 | +network may be denied when the modification itself materially and | ||
334 | +adversely affects the operation of the network or violates the rules and | ||
335 | +protocols for communication across the network. | ||
336 | + | ||
337 | + Corresponding Source conveyed, and Installation Information provided, | ||
338 | +in accord with this section must be in a format that is publicly | ||
339 | +documented (and with an implementation available to the public in | ||
340 | +source code form), and must require no special password or key for | ||
341 | +unpacking, reading or copying. | ||
342 | + | ||
343 | + 7. Additional Terms. | ||
344 | + | ||
345 | + "Additional permissions" are terms that supplement the terms of this | ||
346 | +License by making exceptions from one or more of its conditions. | ||
347 | +Additional permissions that are applicable to the entire Program shall | ||
348 | +be treated as though they were included in this License, to the extent | ||
349 | +that they are valid under applicable law. If additional permissions | ||
350 | +apply only to part of the Program, that part may be used separately | ||
351 | +under those permissions, but the entire Program remains governed by | ||
352 | +this License without regard to the additional permissions. | ||
353 | + | ||
354 | + When you convey a copy of a covered work, you may at your option | ||
355 | +remove any additional permissions from that copy, or from any part of | ||
356 | +it. (Additional permissions may be written to require their own | ||
357 | +removal in certain cases when you modify the work.) You may place | ||
358 | +additional permissions on material, added by you to a covered work, | ||
359 | +for which you have or can give appropriate copyright permission. | ||
360 | + | ||
361 | + Notwithstanding any other provision of this License, for material you | ||
362 | +add to a covered work, you may (if authorized by the copyright holders of | ||
363 | +that material) supplement the terms of this License with terms: | ||
364 | + | ||
365 | + a) Disclaiming warranty or limiting liability differently from the | ||
366 | + terms of sections 15 and 16 of this License; or | ||
367 | + | ||
368 | + b) Requiring preservation of specified reasonable legal notices or | ||
369 | + author attributions in that material or in the Appropriate Legal | ||
370 | + Notices displayed by works containing it; or | ||
371 | + | ||
372 | + c) Prohibiting misrepresentation of the origin of that material, or | ||
373 | + requiring that modified versions of such material be marked in | ||
374 | + reasonable ways as different from the original version; or | ||
375 | + | ||
376 | + d) Limiting the use for publicity purposes of names of licensors or | ||
377 | + authors of the material; or | ||
378 | + | ||
379 | + e) Declining to grant rights under trademark law for use of some | ||
380 | + trade names, trademarks, or service marks; or | ||
381 | + | ||
382 | + f) Requiring indemnification of licensors and authors of that | ||
383 | + material by anyone who conveys the material (or modified versions of | ||
384 | + it) with contractual assumptions of liability to the recipient, for | ||
385 | + any liability that these contractual assumptions directly impose on | ||
386 | + those licensors and authors. | ||
387 | + | ||
388 | + All other non-permissive additional terms are considered "further | ||
389 | +restrictions" within the meaning of section 10. If the Program as you | ||
390 | +received it, or any part of it, contains a notice stating that it is | ||
391 | +governed by this License along with a term that is a further | ||
392 | +restriction, you may remove that term. If a license document contains | ||
393 | +a further restriction but permits relicensing or conveying under this | ||
394 | +License, you may add to a covered work material governed by the terms | ||
395 | +of that license document, provided that the further restriction does | ||
396 | +not survive such relicensing or conveying. | ||
397 | + | ||
398 | + If you add terms to a covered work in accord with this section, you | ||
399 | +must place, in the relevant source files, a statement of the | ||
400 | +additional terms that apply to those files, or a notice indicating | ||
401 | +where to find the applicable terms. | ||
402 | + | ||
403 | + Additional terms, permissive or non-permissive, may be stated in the | ||
404 | +form of a separately written license, or stated as exceptions; | ||
405 | +the above requirements apply either way. | ||
406 | + | ||
407 | + 8. Termination. | ||
408 | + | ||
409 | + You may not propagate or modify a covered work except as expressly | ||
410 | +provided under this License. Any attempt otherwise to propagate or | ||
411 | +modify it is void, and will automatically terminate your rights under | ||
412 | +this License (including any patent licenses granted under the third | ||
413 | +paragraph of section 11). | ||
414 | + | ||
415 | + However, if you cease all violation of this License, then your | ||
416 | +license from a particular copyright holder is reinstated (a) | ||
417 | +provisionally, unless and until the copyright holder explicitly and | ||
418 | +finally terminates your license, and (b) permanently, if the copyright | ||
419 | +holder fails to notify you of the violation by some reasonable means | ||
420 | +prior to 60 days after the cessation. | ||
421 | + | ||
422 | + Moreover, your license from a particular copyright holder is | ||
423 | +reinstated permanently if the copyright holder notifies you of the | ||
424 | +violation by some reasonable means, this is the first time you have | ||
425 | +received notice of violation of this License (for any work) from that | ||
426 | +copyright holder, and you cure the violation prior to 30 days after | ||
427 | +your receipt of the notice. | ||
428 | + | ||
429 | + Termination of your rights under this section does not terminate the | ||
430 | +licenses of parties who have received copies or rights from you under | ||
431 | +this License. If your rights have been terminated and not permanently | ||
432 | +reinstated, you do not qualify to receive new licenses for the same | ||
433 | +material under section 10. | ||
434 | + | ||
435 | + 9. Acceptance Not Required for Having Copies. | ||
436 | + | ||
437 | + You are not required to accept this License in order to receive or | ||
438 | +run a copy of the Program. Ancillary propagation of a covered work | ||
439 | +occurring solely as a consequence of using peer-to-peer transmission | ||
440 | +to receive a copy likewise does not require acceptance. However, | ||
441 | +nothing other than this License grants you permission to propagate or | ||
442 | +modify any covered work. These actions infringe copyright if you do | ||
443 | +not accept this License. Therefore, by modifying or propagating a | ||
444 | +covered work, you indicate your acceptance of this License to do so. | ||
445 | + | ||
446 | + 10. Automatic Licensing of Downstream Recipients. | ||
447 | + | ||
448 | + Each time you convey a covered work, the recipient automatically | ||
449 | +receives a license from the original licensors, to run, modify and | ||
450 | +propagate that work, subject to this License. You are not responsible | ||
451 | +for enforcing compliance by third parties with this License. | ||
452 | + | ||
453 | + An "entity transaction" is a transaction transferring control of an | ||
454 | +organization, or substantially all assets of one, or subdividing an | ||
455 | +organization, or merging organizations. If propagation of a covered | ||
456 | +work results from an entity transaction, each party to that | ||
457 | +transaction who receives a copy of the work also receives whatever | ||
458 | +licenses to the work the party's predecessor in interest had or could | ||
459 | +give under the previous paragraph, plus a right to possession of the | ||
460 | +Corresponding Source of the work from the predecessor in interest, if | ||
461 | +the predecessor has it or can get it with reasonable efforts. | ||
462 | + | ||
463 | + You may not impose any further restrictions on the exercise of the | ||
464 | +rights granted or affirmed under this License. For example, you may | ||
465 | +not impose a license fee, royalty, or other charge for exercise of | ||
466 | +rights granted under this License, and you may not initiate litigation | ||
467 | +(including a cross-claim or counterclaim in a lawsuit) alleging that | ||
468 | +any patent claim is infringed by making, using, selling, offering for | ||
469 | +sale, or importing the Program or any portion of it. | ||
470 | + | ||
471 | + 11. Patents. | ||
472 | + | ||
473 | + A "contributor" is a copyright holder who authorizes use under this | ||
474 | +License of the Program or a work on which the Program is based. The | ||
475 | +work thus licensed is called the contributor's "contributor version". | ||
476 | + | ||
477 | + A contributor's "essential patent claims" are all patent claims | ||
478 | +owned or controlled by the contributor, whether already acquired or | ||
479 | +hereafter acquired, that would be infringed by some manner, permitted | ||
480 | +by this License, of making, using, or selling its contributor version, | ||
481 | +but do not include claims that would be infringed only as a | ||
482 | +consequence of further modification of the contributor version. For | ||
483 | +purposes of this definition, "control" includes the right to grant | ||
484 | +patent sublicenses in a manner consistent with the requirements of | ||
485 | +this License. | ||
486 | + | ||
487 | + Each contributor grants you a non-exclusive, worldwide, royalty-free | ||
488 | +patent license under the contributor's essential patent claims, to | ||
489 | +make, use, sell, offer for sale, import and otherwise run, modify and | ||
490 | +propagate the contents of its contributor version. | ||
491 | + | ||
492 | + In the following three paragraphs, a "patent license" is any express | ||
493 | +agreement or commitment, however denominated, not to enforce a patent | ||
494 | +(such as an express permission to practice a patent or covenant not to | ||
495 | +sue for patent infringement). To "grant" such a patent license to a | ||
496 | +party means to make such an agreement or commitment not to enforce a | ||
497 | +patent against the party. | ||
498 | + | ||
499 | + If you convey a covered work, knowingly relying on a patent license, | ||
500 | +and the Corresponding Source of the work is not available for anyone | ||
501 | +to copy, free of charge and under the terms of this License, through a | ||
502 | +publicly available network server or other readily accessible means, | ||
503 | +then you must either (1) cause the Corresponding Source to be so | ||
504 | +available, or (2) arrange to deprive yourself of the benefit of the | ||
505 | +patent license for this particular work, or (3) arrange, in a manner | ||
506 | +consistent with the requirements of this License, to extend the patent | ||
507 | +license to downstream recipients. "Knowingly relying" means you have | ||
508 | +actual knowledge that, but for the patent license, your conveying the | ||
509 | +covered work in a country, or your recipient's use of the covered work | ||
510 | +in a country, would infringe one or more identifiable patents in that | ||
511 | +country that you have reason to believe are valid. | ||
512 | + | ||
513 | + If, pursuant to or in connection with a single transaction or | ||
514 | +arrangement, you convey, or propagate by procuring conveyance of, a | ||
515 | +covered work, and grant a patent license to some of the parties | ||
516 | +receiving the covered work authorizing them to use, propagate, modify | ||
517 | +or convey a specific copy of the covered work, then the patent license | ||
518 | +you grant is automatically extended to all recipients of the covered | ||
519 | +work and works based on it. | ||
520 | + | ||
521 | + A patent license is "discriminatory" if it does not include within | ||
522 | +the scope of its coverage, prohibits the exercise of, or is | ||
523 | +conditioned on the non-exercise of one or more of the rights that are | ||
524 | +specifically granted under this License. You may not convey a covered | ||
525 | +work if you are a party to an arrangement with a third party that is | ||
526 | +in the business of distributing software, under which you make payment | ||
527 | +to the third party based on the extent of your activity of conveying | ||
528 | +the work, and under which the third party grants, to any of the | ||
529 | +parties who would receive the covered work from you, a discriminatory | ||
530 | +patent license (a) in connection with copies of the covered work | ||
531 | +conveyed by you (or copies made from those copies), or (b) primarily | ||
532 | +for and in connection with specific products or compilations that | ||
533 | +contain the covered work, unless you entered into that arrangement, | ||
534 | +or that patent license was granted, prior to 28 March 2007. | ||
535 | + | ||
536 | + Nothing in this License shall be construed as excluding or limiting | ||
537 | +any implied license or other defenses to infringement that may | ||
538 | +otherwise be available to you under applicable patent law. | ||
539 | + | ||
540 | + 12. No Surrender of Others' Freedom. | ||
541 | + | ||
542 | + If conditions are imposed on you (whether by court order, agreement or | ||
543 | +otherwise) that contradict the conditions of this License, they do not | ||
544 | +excuse you from the conditions of this License. If you cannot convey a | ||
545 | +covered work so as to satisfy simultaneously your obligations under this | ||
546 | +License and any other pertinent obligations, then as a consequence you may | ||
547 | +not convey it at all. For example, if you agree to terms that obligate you | ||
548 | +to collect a royalty for further conveying from those to whom you convey | ||
549 | +the Program, the only way you could satisfy both those terms and this | ||
550 | +License would be to refrain entirely from conveying the Program. | ||
551 | + | ||
552 | + 13. Use with the GNU Affero General Public License. | ||
553 | + | ||
554 | + Notwithstanding any other provision of this License, you have | ||
555 | +permission to link or combine any covered work with a work licensed | ||
556 | +under version 3 of the GNU Affero General Public License into a single | ||
557 | +combined work, and to convey the resulting work. The terms of this | ||
558 | +License will continue to apply to the part which is the covered work, | ||
559 | +but the special requirements of the GNU Affero General Public License, | ||
560 | +section 13, concerning interaction through a network will apply to the | ||
561 | +combination as such. | ||
562 | + | ||
563 | + 14. Revised Versions of this License. | ||
564 | + | ||
565 | + The Free Software Foundation may publish revised and/or new versions of | ||
566 | +the GNU General Public License from time to time. Such new versions will | ||
567 | +be similar in spirit to the present version, but may differ in detail to | ||
568 | +address new problems or concerns. | ||
569 | + | ||
570 | + Each version is given a distinguishing version number. If the | ||
571 | +Program specifies that a certain numbered version of the GNU General | ||
572 | +Public License "or any later version" applies to it, you have the | ||
573 | +option of following the terms and conditions either of that numbered | ||
574 | +version or of any later version published by the Free Software | ||
575 | +Foundation. If the Program does not specify a version number of the | ||
576 | +GNU General Public License, you may choose any version ever published | ||
577 | +by the Free Software Foundation. | ||
578 | + | ||
579 | + If the Program specifies that a proxy can decide which future | ||
580 | +versions of the GNU General Public License can be used, that proxy's | ||
581 | +public statement of acceptance of a version permanently authorizes you | ||
582 | +to choose that version for the Program. | ||
583 | + | ||
584 | + Later license versions may give you additional or different | ||
585 | +permissions. However, no additional obligations are imposed on any | ||
586 | +author or copyright holder as a result of your choosing to follow a | ||
587 | +later version. | ||
588 | + | ||
589 | + 15. Disclaimer of Warranty. | ||
590 | + | ||
591 | + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | ||
592 | +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | ||
593 | +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | ||
594 | +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | ||
595 | +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
596 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | ||
597 | +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | ||
598 | +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
599 | + | ||
600 | + 16. Limitation of Liability. | ||
601 | + | ||
602 | + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
603 | +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | ||
604 | +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | ||
605 | +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | ||
606 | +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | ||
607 | +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | ||
608 | +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | ||
609 | +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | ||
610 | +SUCH DAMAGES. | ||
611 | + | ||
612 | + 17. Interpretation of Sections 15 and 16. | ||
613 | + | ||
614 | + If the disclaimer of warranty and limitation of liability provided | ||
615 | +above cannot be given local legal effect according to their terms, | ||
616 | +reviewing courts shall apply local law that most closely approximates | ||
617 | +an absolute waiver of all civil liability in connection with the | ||
618 | +Program, unless a warranty or assumption of liability accompanies a | ||
619 | +copy of the Program in return for a fee. | ||
620 | + | ||
621 | + END OF TERMS AND CONDITIONS | ||
622 | + | ||
623 | + How to Apply These Terms to Your New Programs | ||
624 | + | ||
625 | + If you develop a new program, and you want it to be of the greatest | ||
626 | +possible use to the public, the best way to achieve this is to make it | ||
627 | +free software which everyone can redistribute and change under these terms. | ||
628 | + | ||
629 | + To do so, attach the following notices to the program. It is safest | ||
630 | +to attach them to the start of each source file to most effectively | ||
631 | +state the exclusion of warranty; and each file should have at least | ||
632 | +the "copyright" line and a pointer to where the full notice is found. | ||
633 | + | ||
634 | + <one line to give the program's name and a brief idea of what it does.> | ||
635 | + Copyright (C) <year> <name of author> | ||
636 | + | ||
637 | + This program is free software: you can redistribute it and/or modify | ||
638 | + it under the terms of the GNU General Public License as published by | ||
639 | + the Free Software Foundation, either version 3 of the License, or | ||
640 | + (at your option) any later version. | ||
641 | + | ||
642 | + This program is distributed in the hope that it will be useful, | ||
643 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
644 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
645 | + GNU General Public License for more details. | ||
646 | + | ||
647 | + You should have received a copy of the GNU General Public License | ||
648 | + along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
649 | + | ||
650 | +Also add information on how to contact you by electronic and paper mail. | ||
651 | + | ||
652 | + If the program does terminal interaction, make it output a short | ||
653 | +notice like this when it starts in an interactive mode: | ||
654 | + | ||
655 | + <program> Copyright (C) <year> <name of author> | ||
656 | + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
657 | + This is free software, and you are welcome to redistribute it | ||
658 | + under certain conditions; type `show c' for details. | ||
659 | + | ||
660 | +The hypothetical commands `show w' and `show c' should show the appropriate | ||
661 | +parts of the General Public License. Of course, your program's commands | ||
662 | +might be different; for a GUI interface, you would use an "about box". | ||
663 | + | ||
664 | + You should also get your employer (if you work as a programmer) or school, | ||
665 | +if any, to sign a "copyright disclaimer" for the program, if necessary. | ||
666 | +For more information on this, and how to apply and follow the GNU GPL, see | ||
667 | +<http://www.gnu.org/licenses/>. | ||
668 | + | ||
669 | + The GNU General Public License does not permit incorporating your program | ||
670 | +into proprietary programs. If your program is a subroutine library, you | ||
671 | +may consider it more useful to permit linking proprietary applications with | ||
672 | +the library. If this is what you want to do, use the GNU Lesser General | ||
673 | +Public License instead of this License. But first, please read | ||
674 | +<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
build/CMakeCache.txt
0 → 100644
1 | +++ a/build/CMakeCache.txt | ||
1 | +# This is the CMakeCache file. | ||
2 | +# For build in directory: /home/imanol/ClionProjects/touchpad_disabler/build | ||
3 | +# It was generated by CMake: /usr/bin/cmake | ||
4 | +# You can edit this file to change values found and used by cmake. | ||
5 | +# If you do not want to change any of the values, simply exit the editor. | ||
6 | +# If you do want to change a value, simply edit, save, and exit the editor. | ||
7 | +# The syntax for the file is as follows: | ||
8 | +# KEY:TYPE=VALUE | ||
9 | +# KEY is the name of a variable in the cache. | ||
10 | +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. | ||
11 | +# VALUE is the current value for the KEY. | ||
12 | + | ||
13 | +######################## | ||
14 | +# EXTERNAL cache entries | ||
15 | +######################## | ||
16 | + | ||
17 | +//Path to a program. | ||
18 | +CMAKE_AR:FILEPATH=/usr/bin/ar | ||
19 | + | ||
20 | +//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or | ||
21 | +// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. | ||
22 | +CMAKE_BUILD_TYPE:STRING= | ||
23 | + | ||
24 | +//Enable/Disable color output during build. | ||
25 | +CMAKE_COLOR_MAKEFILE:BOOL=ON | ||
26 | + | ||
27 | +//CXX compiler. | ||
28 | +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ | ||
29 | + | ||
30 | +//Flags used by the compiler during all build types. | ||
31 | +CMAKE_CXX_FLAGS:STRING= | ||
32 | + | ||
33 | +//Flags used by the compiler during debug builds. | ||
34 | +CMAKE_CXX_FLAGS_DEBUG:STRING=-g | ||
35 | + | ||
36 | +//Flags used by the compiler during release builds for minimum | ||
37 | +// size. | ||
38 | +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG | ||
39 | + | ||
40 | +//Flags used by the compiler during release builds. | ||
41 | +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG | ||
42 | + | ||
43 | +//Flags used by the compiler during release builds with debug info. | ||
44 | +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG | ||
45 | + | ||
46 | +//C compiler. | ||
47 | +CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc | ||
48 | + | ||
49 | +//Flags used by the compiler during all build types. | ||
50 | +CMAKE_C_FLAGS:STRING= | ||
51 | + | ||
52 | +//Flags used by the compiler during debug builds. | ||
53 | +CMAKE_C_FLAGS_DEBUG:STRING=-g | ||
54 | + | ||
55 | +//Flags used by the compiler during release builds for minimum | ||
56 | +// size. | ||
57 | +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG | ||
58 | + | ||
59 | +//Flags used by the compiler during release builds. | ||
60 | +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG | ||
61 | + | ||
62 | +//Flags used by the compiler during release builds with debug info. | ||
63 | +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG | ||
64 | + | ||
65 | +//Flags used by the linker. | ||
66 | +CMAKE_EXE_LINKER_FLAGS:STRING=' ' | ||
67 | + | ||
68 | +//Flags used by the linker during debug builds. | ||
69 | +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= | ||
70 | + | ||
71 | +//Flags used by the linker during release minsize builds. | ||
72 | +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= | ||
73 | + | ||
74 | +//Flags used by the linker during release builds. | ||
75 | +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= | ||
76 | + | ||
77 | +//Flags used by the linker during Release with Debug Info builds. | ||
78 | +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= | ||
79 | + | ||
80 | +//Enable/Disable output of compile commands during generation. | ||
81 | +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF | ||
82 | + | ||
83 | +//No help, variable specified on the command line. | ||
84 | +CMAKE_INSTALL_PREFIX:PATH=/usr/local | ||
85 | + | ||
86 | +//Path to a program. | ||
87 | +CMAKE_LINKER:FILEPATH=/usr/bin/ld | ||
88 | + | ||
89 | +//Path to a program. | ||
90 | +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make | ||
91 | + | ||
92 | +//Flags used by the linker during the creation of modules. | ||
93 | +CMAKE_MODULE_LINKER_FLAGS:STRING=' ' | ||
94 | + | ||
95 | +//Flags used by the linker during debug builds. | ||
96 | +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= | ||
97 | + | ||
98 | +//Flags used by the linker during release minsize builds. | ||
99 | +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= | ||
100 | + | ||
101 | +//Flags used by the linker during release builds. | ||
102 | +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= | ||
103 | + | ||
104 | +//Flags used by the linker during Release with Debug Info builds. | ||
105 | +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= | ||
106 | + | ||
107 | +//Path to a program. | ||
108 | +CMAKE_NM:FILEPATH=/usr/bin/nm | ||
109 | + | ||
110 | +//Path to a program. | ||
111 | +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy | ||
112 | + | ||
113 | +//Path to a program. | ||
114 | +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump | ||
115 | + | ||
116 | +//Value Computed by CMake | ||
117 | +CMAKE_PROJECT_NAME:STATIC=touchpad_disabler | ||
118 | + | ||
119 | +//Path to a program. | ||
120 | +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib | ||
121 | + | ||
122 | +//Flags used by the linker during the creation of dll's. | ||
123 | +CMAKE_SHARED_LINKER_FLAGS:STRING=' ' | ||
124 | + | ||
125 | +//Flags used by the linker during debug builds. | ||
126 | +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= | ||
127 | + | ||
128 | +//Flags used by the linker during release minsize builds. | ||
129 | +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= | ||
130 | + | ||
131 | +//Flags used by the linker during release builds. | ||
132 | +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= | ||
133 | + | ||
134 | +//Flags used by the linker during Release with Debug Info builds. | ||
135 | +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= | ||
136 | + | ||
137 | +//If set, runtime paths are not added when installing shared libraries, | ||
138 | +// but are added when building. | ||
139 | +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO | ||
140 | + | ||
141 | +//If set, runtime paths are not added when using shared libraries. | ||
142 | +CMAKE_SKIP_RPATH:BOOL=NO | ||
143 | + | ||
144 | +//Flags used by the linker during the creation of static libraries. | ||
145 | +CMAKE_STATIC_LINKER_FLAGS:STRING= | ||
146 | + | ||
147 | +//Flags used by the linker during debug builds. | ||
148 | +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= | ||
149 | + | ||
150 | +//Flags used by the linker during release minsize builds. | ||
151 | +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= | ||
152 | + | ||
153 | +//Flags used by the linker during release builds. | ||
154 | +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= | ||
155 | + | ||
156 | +//Flags used by the linker during Release with Debug Info builds. | ||
157 | +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= | ||
158 | + | ||
159 | +//Path to a program. | ||
160 | +CMAKE_STRIP:FILEPATH=/usr/bin/strip | ||
161 | + | ||
162 | +//If true, cmake will use relative paths in makefiles and projects. | ||
163 | +CMAKE_USE_RELATIVE_PATHS:BOOL=OFF | ||
164 | + | ||
165 | +//If this value is on, makefiles will be generated without the | ||
166 | +// .SILENT directive, and all commands will be echoed to the console | ||
167 | +// during the make. This is useful for debugging only. With Visual | ||
168 | +// Studio IDE projects all commands are done without /nologo. | ||
169 | +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE | ||
170 | + | ||
171 | +//Path to a file. | ||
172 | +LIBUSB1_INCLUDE_DIR:PATH=/usr/include/libusb-1.0 | ||
173 | + | ||
174 | +//Path to a library. | ||
175 | +LIBUSB1_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libusb-1.0.so | ||
176 | + | ||
177 | +//Root directory to search for libusb-1 | ||
178 | +LIBUSB1_ROOT_DIR:PATH= | ||
179 | + | ||
180 | +//pkg-config executable | ||
181 | +PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config | ||
182 | + | ||
183 | +//Value Computed by CMake | ||
184 | +touchpad_disabler_BINARY_DIR:STATIC=/home/imanol/ClionProjects/touchpad_disabler/build | ||
185 | + | ||
186 | +//Value Computed by CMake | ||
187 | +touchpad_disabler_SOURCE_DIR:STATIC=/home/imanol/ClionProjects/touchpad_disabler | ||
188 | + | ||
189 | + | ||
190 | +######################## | ||
191 | +# INTERNAL cache entries | ||
192 | +######################## | ||
193 | + | ||
194 | +//ADVANCED property for variable: CMAKE_AR | ||
195 | +CMAKE_AR-ADVANCED:INTERNAL=1 | ||
196 | +//This is the directory where this CMakeCache.txt was created | ||
197 | +CMAKE_CACHEFILE_DIR:INTERNAL=/home/imanol/ClionProjects/touchpad_disabler/build | ||
198 | +//Major version of cmake used to create the current loaded cache | ||
199 | +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 | ||
200 | +//Minor version of cmake used to create the current loaded cache | ||
201 | +CMAKE_CACHE_MINOR_VERSION:INTERNAL=0 | ||
202 | +//Patch version of cmake used to create the current loaded cache | ||
203 | +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 | ||
204 | +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE | ||
205 | +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 | ||
206 | +//Path to CMake executable. | ||
207 | +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake | ||
208 | +//Path to cpack program executable. | ||
209 | +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack | ||
210 | +//Path to ctest program executable. | ||
211 | +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest | ||
212 | +//ADVANCED property for variable: CMAKE_CXX_COMPILER | ||
213 | +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 | ||
214 | +//ADVANCED property for variable: CMAKE_CXX_FLAGS | ||
215 | +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 | ||
216 | +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG | ||
217 | +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
218 | +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL | ||
219 | +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
220 | +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE | ||
221 | +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
222 | +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO | ||
223 | +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
224 | +//ADVANCED property for variable: CMAKE_C_COMPILER | ||
225 | +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 | ||
226 | +//ADVANCED property for variable: CMAKE_C_FLAGS | ||
227 | +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 | ||
228 | +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG | ||
229 | +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
230 | +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL | ||
231 | +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
232 | +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE | ||
233 | +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
234 | +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO | ||
235 | +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
236 | +//Executable file format | ||
237 | +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF | ||
238 | +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS | ||
239 | +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 | ||
240 | +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG | ||
241 | +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
242 | +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL | ||
243 | +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
244 | +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE | ||
245 | +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
246 | +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO | ||
247 | +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
248 | +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS | ||
249 | +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 | ||
250 | +//Name of generator. | ||
251 | +CMAKE_GENERATOR:INTERNAL=Unix Makefiles | ||
252 | +//Name of generator toolset. | ||
253 | +CMAKE_GENERATOR_TOOLSET:INTERNAL= | ||
254 | +//Start directory with the top level CMakeLists.txt file for this | ||
255 | +// project | ||
256 | +CMAKE_HOME_DIRECTORY:INTERNAL=/home/imanol/ClionProjects/touchpad_disabler | ||
257 | +//Install .so files without execute permission. | ||
258 | +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 | ||
259 | +//ADVANCED property for variable: CMAKE_LINKER | ||
260 | +CMAKE_LINKER-ADVANCED:INTERNAL=1 | ||
261 | +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM | ||
262 | +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 | ||
263 | +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS | ||
264 | +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 | ||
265 | +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG | ||
266 | +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
267 | +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL | ||
268 | +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
269 | +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE | ||
270 | +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
271 | +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO | ||
272 | +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
273 | +//ADVANCED property for variable: CMAKE_NM | ||
274 | +CMAKE_NM-ADVANCED:INTERNAL=1 | ||
275 | +//number of local generators | ||
276 | +CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1 | ||
277 | +//ADVANCED property for variable: CMAKE_OBJCOPY | ||
278 | +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 | ||
279 | +//ADVANCED property for variable: CMAKE_OBJDUMP | ||
280 | +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 | ||
281 | +//ADVANCED property for variable: CMAKE_RANLIB | ||
282 | +CMAKE_RANLIB-ADVANCED:INTERNAL=1 | ||
283 | +//Path to CMake installation. | ||
284 | +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.0 | ||
285 | +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS | ||
286 | +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 | ||
287 | +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG | ||
288 | +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
289 | +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL | ||
290 | +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
291 | +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE | ||
292 | +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
293 | +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO | ||
294 | +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
295 | +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH | ||
296 | +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 | ||
297 | +//ADVANCED property for variable: CMAKE_SKIP_RPATH | ||
298 | +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 | ||
299 | +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS | ||
300 | +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 | ||
301 | +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG | ||
302 | +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 | ||
303 | +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL | ||
304 | +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 | ||
305 | +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE | ||
306 | +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 | ||
307 | +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO | ||
308 | +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 | ||
309 | +//ADVANCED property for variable: CMAKE_STRIP | ||
310 | +CMAKE_STRIP-ADVANCED:INTERNAL=1 | ||
311 | +//uname command | ||
312 | +CMAKE_UNAME:INTERNAL=/bin/uname | ||
313 | +//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS | ||
314 | +CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1 | ||
315 | +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE | ||
316 | +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 | ||
317 | +//Details about finding Libusb1 | ||
318 | +FIND_PACKAGE_MESSAGE_DETAILS_Libusb1:INTERNAL=[/usr/lib/x86_64-linux-gnu/libusb-1.0.so][/usr/include/libusb-1.0][v()] | ||
319 | +//ADVANCED property for variable: LIBUSB1_INCLUDE_DIR | ||
320 | +LIBUSB1_INCLUDE_DIR-ADVANCED:INTERNAL=1 | ||
321 | +//ADVANCED property for variable: LIBUSB1_LIBRARY | ||
322 | +LIBUSB1_LIBRARY-ADVANCED:INTERNAL=1 | ||
323 | +//ADVANCED property for variable: LIBUSB1_ROOT_DIR | ||
324 | +LIBUSB1_ROOT_DIR-ADVANCED:INTERNAL=1 | ||
325 | +PC_LIBUSB1_CFLAGS:INTERNAL=-I/usr/include/libusb-1.0 | ||
326 | +PC_LIBUSB1_CFLAGS_I:INTERNAL= | ||
327 | +PC_LIBUSB1_CFLAGS_OTHER:INTERNAL= | ||
328 | +PC_LIBUSB1_FOUND:INTERNAL=1 | ||
329 | +PC_LIBUSB1_INCLUDEDIR:INTERNAL=/usr/include | ||
330 | +PC_LIBUSB1_INCLUDE_DIRS:INTERNAL=/usr/include/libusb-1.0 | ||
331 | +PC_LIBUSB1_LDFLAGS:INTERNAL=-lusb-1.0 | ||
332 | +PC_LIBUSB1_LDFLAGS_OTHER:INTERNAL= | ||
333 | +PC_LIBUSB1_LIBDIR:INTERNAL=/usr/lib/x86_64-linux-gnu | ||
334 | +PC_LIBUSB1_LIBRARIES:INTERNAL=usb-1.0 | ||
335 | +PC_LIBUSB1_LIBRARY_DIRS:INTERNAL= | ||
336 | +PC_LIBUSB1_LIBS:INTERNAL= | ||
337 | +PC_LIBUSB1_LIBS_L:INTERNAL= | ||
338 | +PC_LIBUSB1_LIBS_OTHER:INTERNAL= | ||
339 | +PC_LIBUSB1_LIBS_PATHS:INTERNAL= | ||
340 | +PC_LIBUSB1_PREFIX:INTERNAL=/usr | ||
341 | +PC_LIBUSB1_STATIC_CFLAGS:INTERNAL=-I/usr/include/libusb-1.0 | ||
342 | +PC_LIBUSB1_STATIC_CFLAGS_I:INTERNAL= | ||
343 | +PC_LIBUSB1_STATIC_CFLAGS_OTHER:INTERNAL= | ||
344 | +PC_LIBUSB1_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/libusb-1.0 | ||
345 | +PC_LIBUSB1_STATIC_LDFLAGS:INTERNAL=-lusb-1.0;-ludev;-pthread | ||
346 | +PC_LIBUSB1_STATIC_LDFLAGS_OTHER:INTERNAL=-pthread | ||
347 | +PC_LIBUSB1_STATIC_LIBDIR:INTERNAL= | ||
348 | +PC_LIBUSB1_STATIC_LIBRARIES:INTERNAL=usb-1.0;udev | ||
349 | +PC_LIBUSB1_STATIC_LIBRARY_DIRS:INTERNAL= | ||
350 | +PC_LIBUSB1_STATIC_LIBS:INTERNAL= | ||
351 | +PC_LIBUSB1_STATIC_LIBS_L:INTERNAL= | ||
352 | +PC_LIBUSB1_STATIC_LIBS_OTHER:INTERNAL= | ||
353 | +PC_LIBUSB1_STATIC_LIBS_PATHS:INTERNAL= | ||
354 | +PC_LIBUSB1_VERSION:INTERNAL=1.0.19 | ||
355 | +PC_LIBUSB1_libusb-1.0_INCLUDEDIR:INTERNAL= | ||
356 | +PC_LIBUSB1_libusb-1.0_LIBDIR:INTERNAL= | ||
357 | +PC_LIBUSB1_libusb-1.0_PREFIX:INTERNAL= | ||
358 | +PC_LIBUSB1_libusb-1.0_VERSION:INTERNAL= | ||
359 | +//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE | ||
360 | +PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 | ||
361 | +__pkg_config_checked_PC_LIBUSB1:INTERNAL=1 | ||
362 | + |
build/CMakeFiles/3.0.2/CMakeCCompiler.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/3.0.2/CMakeCCompiler.cmake | ||
1 | +set(CMAKE_C_COMPILER "/usr/bin/cc") | ||
2 | +set(CMAKE_C_COMPILER_ARG1 "") | ||
3 | +set(CMAKE_C_COMPILER_ID "GNU") | ||
4 | +set(CMAKE_C_COMPILER_VERSION "4.9.2") | ||
5 | +set(CMAKE_C_PLATFORM_ID "Linux") | ||
6 | +set(CMAKE_C_SIMULATE_ID "") | ||
7 | +set(CMAKE_C_SIMULATE_VERSION "") | ||
8 | + | ||
9 | +set(CMAKE_AR "/usr/bin/ar") | ||
10 | +set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
11 | +set(CMAKE_LINKER "/usr/bin/ld") | ||
12 | +set(CMAKE_COMPILER_IS_GNUCC 1) | ||
13 | +set(CMAKE_C_COMPILER_LOADED 1) | ||
14 | +set(CMAKE_C_COMPILER_WORKS TRUE) | ||
15 | +set(CMAKE_C_ABI_COMPILED TRUE) | ||
16 | +set(CMAKE_COMPILER_IS_MINGW ) | ||
17 | +set(CMAKE_COMPILER_IS_CYGWIN ) | ||
18 | +if(CMAKE_COMPILER_IS_CYGWIN) | ||
19 | + set(CYGWIN 1) | ||
20 | + set(UNIX 1) | ||
21 | +endif() | ||
22 | + | ||
23 | +set(CMAKE_C_COMPILER_ENV_VAR "CC") | ||
24 | + | ||
25 | +if(CMAKE_COMPILER_IS_MINGW) | ||
26 | + set(MINGW 1) | ||
27 | +endif() | ||
28 | +set(CMAKE_C_COMPILER_ID_RUN 1) | ||
29 | +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c) | ||
30 | +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
31 | +set(CMAKE_C_LINKER_PREFERENCE 10) | ||
32 | + | ||
33 | +# Save compiler ABI information. | ||
34 | +set(CMAKE_C_SIZEOF_DATA_PTR "8") | ||
35 | +set(CMAKE_C_COMPILER_ABI "ELF") | ||
36 | +set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
37 | + | ||
38 | +if(CMAKE_C_SIZEOF_DATA_PTR) | ||
39 | + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") | ||
40 | +endif() | ||
41 | + | ||
42 | +if(CMAKE_C_COMPILER_ABI) | ||
43 | + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") | ||
44 | +endif() | ||
45 | + | ||
46 | +if(CMAKE_C_LIBRARY_ARCHITECTURE) | ||
47 | + set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
48 | +endif() | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c") | ||
54 | +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
55 | +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") | ||
56 | + | ||
57 | + | ||
58 | + |
build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake | ||
1 | +set(CMAKE_CXX_COMPILER "/usr/bin/c++") | ||
2 | +set(CMAKE_CXX_COMPILER_ARG1 "") | ||
3 | +set(CMAKE_CXX_COMPILER_ID "GNU") | ||
4 | +set(CMAKE_CXX_COMPILER_VERSION "4.9.2") | ||
5 | +set(CMAKE_CXX_PLATFORM_ID "Linux") | ||
6 | +set(CMAKE_CXX_SIMULATE_ID "") | ||
7 | +set(CMAKE_CXX_SIMULATE_VERSION "") | ||
8 | + | ||
9 | +set(CMAKE_AR "/usr/bin/ar") | ||
10 | +set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
11 | +set(CMAKE_LINKER "/usr/bin/ld") | ||
12 | +set(CMAKE_COMPILER_IS_GNUCXX 1) | ||
13 | +set(CMAKE_CXX_COMPILER_LOADED 1) | ||
14 | +set(CMAKE_CXX_COMPILER_WORKS TRUE) | ||
15 | +set(CMAKE_CXX_ABI_COMPILED TRUE) | ||
16 | +set(CMAKE_COMPILER_IS_MINGW ) | ||
17 | +set(CMAKE_COMPILER_IS_CYGWIN ) | ||
18 | +if(CMAKE_COMPILER_IS_CYGWIN) | ||
19 | + set(CYGWIN 1) | ||
20 | + set(UNIX 1) | ||
21 | +endif() | ||
22 | + | ||
23 | +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") | ||
24 | + | ||
25 | +if(CMAKE_COMPILER_IS_MINGW) | ||
26 | + set(MINGW 1) | ||
27 | +endif() | ||
28 | +set(CMAKE_CXX_COMPILER_ID_RUN 1) | ||
29 | +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
30 | +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) | ||
31 | +set(CMAKE_CXX_LINKER_PREFERENCE 30) | ||
32 | +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) | ||
33 | + | ||
34 | +# Save compiler ABI information. | ||
35 | +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") | ||
36 | +set(CMAKE_CXX_COMPILER_ABI "ELF") | ||
37 | +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
38 | + | ||
39 | +if(CMAKE_CXX_SIZEOF_DATA_PTR) | ||
40 | + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") | ||
41 | +endif() | ||
42 | + | ||
43 | +if(CMAKE_CXX_COMPILER_ABI) | ||
44 | + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") | ||
45 | +endif() | ||
46 | + | ||
47 | +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) | ||
48 | + set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
49 | +endif() | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c") | ||
55 | +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
56 | +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") | ||
57 | + | ||
58 | + | ||
59 | + |
build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_C.bin
0 → 100755
No preview for this file type
build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_CXX.bin
0 → 100755
No preview for this file type
build/CMakeFiles/3.0.2/CMakeSystem.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/3.0.2/CMakeSystem.cmake | ||
1 | +set(CMAKE_HOST_SYSTEM "Linux-4.2.0-0.bpo.1-amd64") | ||
2 | +set(CMAKE_HOST_SYSTEM_NAME "Linux") | ||
3 | +set(CMAKE_HOST_SYSTEM_VERSION "4.2.0-0.bpo.1-amd64") | ||
4 | +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | +set(CMAKE_SYSTEM "Linux-4.2.0-0.bpo.1-amd64") | ||
9 | +set(CMAKE_SYSTEM_NAME "Linux") | ||
10 | +set(CMAKE_SYSTEM_VERSION "4.2.0-0.bpo.1-amd64") | ||
11 | +set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
12 | + | ||
13 | +set(CMAKE_CROSSCOMPILING "FALSE") | ||
14 | + | ||
15 | +set(CMAKE_SYSTEM_LOADED 1) |
build/CMakeFiles/3.0.2/CompilerIdC/CMakeCCompilerId.c
0 → 100644
1 | +++ a/build/CMakeFiles/3.0.2/CompilerIdC/CMakeCCompilerId.c | ||
1 | +#ifdef __cplusplus | ||
2 | +# error "A C++ compiler has been selected for C." | ||
3 | +#endif | ||
4 | + | ||
5 | +/* Version number components: V=Version, R=Revision, P=Patch | ||
6 | + Version date components: YYYY=Year, MM=Month, DD=Day */ | ||
7 | + | ||
8 | +#if defined(__18CXX) | ||
9 | +# define ID_VOID_MAIN | ||
10 | +#endif | ||
11 | + | ||
12 | +#if defined(__INTEL_COMPILER) || defined(__ICC) | ||
13 | +# define COMPILER_ID "Intel" | ||
14 | + /* __INTEL_COMPILER = VRP */ | ||
15 | +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) | ||
16 | +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) | ||
17 | +# if defined(__INTEL_COMPILER_UPDATE) | ||
18 | +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) | ||
19 | +# else | ||
20 | +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) | ||
21 | +# endif | ||
22 | +# if defined(__INTEL_COMPILER_BUILD_DATE) | ||
23 | + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ | ||
24 | +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) | ||
25 | +# endif | ||
26 | +# if defined(_MSC_VER) | ||
27 | +# define SIMULATE_ID "MSVC" | ||
28 | + /* _MSC_VER = VVRR */ | ||
29 | +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
30 | +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) | ||
31 | +# endif | ||
32 | + | ||
33 | +#elif defined(__PATHCC__) | ||
34 | +# define COMPILER_ID "PathScale" | ||
35 | +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) | ||
36 | +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) | ||
37 | +# if defined(__PATHCC_PATCHLEVEL__) | ||
38 | +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) | ||
39 | +# endif | ||
40 | + | ||
41 | +#elif defined(__clang__) | ||
42 | +# if defined(__apple_build_version__) | ||
43 | +# define COMPILER_ID "AppleClang" | ||
44 | +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) | ||
45 | +# else | ||
46 | +# define COMPILER_ID "Clang" | ||
47 | +# endif | ||
48 | +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) | ||
49 | +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) | ||
50 | +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) | ||
51 | +# if defined(_MSC_VER) | ||
52 | +# define SIMULATE_ID "MSVC" | ||
53 | + /* _MSC_VER = VVRR */ | ||
54 | +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
55 | +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) | ||
56 | +# endif | ||
57 | + | ||
58 | +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) | ||
59 | +# define COMPILER_ID "Embarcadero" | ||
60 | +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) | ||
61 | +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) | ||
62 | +# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF) | ||
63 | + | ||
64 | +#elif defined(__BORLANDC__) | ||
65 | +# define COMPILER_ID "Borland" | ||
66 | + /* __BORLANDC__ = 0xVRR */ | ||
67 | +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) | ||
68 | +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) | ||
69 | + | ||
70 | +#elif defined(__WATCOMC__) | ||
71 | +# define COMPILER_ID "Watcom" | ||
72 | + /* __WATCOMC__ = VVRR */ | ||
73 | +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) | ||
74 | +# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100) | ||
75 | + | ||
76 | +#elif defined(__SUNPRO_C) | ||
77 | +# define COMPILER_ID "SunPro" | ||
78 | +# if __SUNPRO_C >= 0x5100 | ||
79 | + /* __SUNPRO_C = 0xVRRP */ | ||
80 | +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) | ||
81 | +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) | ||
82 | +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) | ||
83 | +# else | ||
84 | + /* __SUNPRO_C = 0xVRP */ | ||
85 | +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) | ||
86 | +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) | ||
87 | +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) | ||
88 | +# endif | ||
89 | + | ||
90 | +#elif defined(__HP_cc) | ||
91 | +# define COMPILER_ID "HP" | ||
92 | + /* __HP_cc = VVRRPP */ | ||
93 | +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) | ||
94 | +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) | ||
95 | +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) | ||
96 | + | ||
97 | +#elif defined(__DECC) | ||
98 | +# define COMPILER_ID "Compaq" | ||
99 | + /* __DECC_VER = VVRRTPPPP */ | ||
100 | +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) | ||
101 | +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) | ||
102 | +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) | ||
103 | + | ||
104 | +#elif defined(__IBMC__) | ||
105 | +# if defined(__COMPILER_VER__) | ||
106 | +# define COMPILER_ID "zOS" | ||
107 | +# else | ||
108 | +# if __IBMC__ >= 800 | ||
109 | +# define COMPILER_ID "XL" | ||
110 | +# else | ||
111 | +# define COMPILER_ID "VisualAge" | ||
112 | +# endif | ||
113 | + /* __IBMC__ = VRP */ | ||
114 | +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) | ||
115 | +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) | ||
116 | +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) | ||
117 | +# endif | ||
118 | + | ||
119 | +#elif defined(__PGI) | ||
120 | +# define COMPILER_ID "PGI" | ||
121 | +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) | ||
122 | +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) | ||
123 | +# if defined(__PGIC_PATCHLEVEL__) | ||
124 | +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) | ||
125 | +# endif | ||
126 | + | ||
127 | +#elif defined(_CRAYC) | ||
128 | +# define COMPILER_ID "Cray" | ||
129 | +# define COMPILER_VERSION_MAJOR DEC(_RELEASE) | ||
130 | +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) | ||
131 | + | ||
132 | +#elif defined(__TI_COMPILER_VERSION__) | ||
133 | +# define COMPILER_ID "TI" | ||
134 | + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ | ||
135 | +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) | ||
136 | +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) | ||
137 | +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) | ||
138 | + | ||
139 | +#elif defined(__TINYC__) | ||
140 | +# define COMPILER_ID "TinyCC" | ||
141 | + | ||
142 | +#elif defined(__SCO_VERSION__) | ||
143 | +# define COMPILER_ID "SCO" | ||
144 | + | ||
145 | +#elif defined(__GNUC__) | ||
146 | +# define COMPILER_ID "GNU" | ||
147 | +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) | ||
148 | +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) | ||
149 | +# if defined(__GNUC_PATCHLEVEL__) | ||
150 | +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) | ||
151 | +# endif | ||
152 | + | ||
153 | +#elif defined(_MSC_VER) | ||
154 | +# define COMPILER_ID "MSVC" | ||
155 | + /* _MSC_VER = VVRR */ | ||
156 | +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
157 | +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) | ||
158 | +# if defined(_MSC_FULL_VER) | ||
159 | +# if _MSC_VER >= 1400 | ||
160 | + /* _MSC_FULL_VER = VVRRPPPPP */ | ||
161 | +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) | ||
162 | +# else | ||
163 | + /* _MSC_FULL_VER = VVRRPPPP */ | ||
164 | +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) | ||
165 | +# endif | ||
166 | +# endif | ||
167 | +# if defined(_MSC_BUILD) | ||
168 | +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) | ||
169 | +# endif | ||
170 | + | ||
171 | +/* Analog VisualDSP++ >= 4.5.6 */ | ||
172 | +#elif defined(__VISUALDSPVERSION__) | ||
173 | +# define COMPILER_ID "ADSP" | ||
174 | + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ | ||
175 | +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) | ||
176 | +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) | ||
177 | +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) | ||
178 | + | ||
179 | +/* Analog VisualDSP++ < 4.5.6 */ | ||
180 | +#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) | ||
181 | +# define COMPILER_ID "ADSP" | ||
182 | + | ||
183 | +/* IAR Systems compiler for embedded systems. | ||
184 | + http://www.iar.com */ | ||
185 | +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) | ||
186 | +# define COMPILER_ID "IAR" | ||
187 | + | ||
188 | +/* sdcc, the small devices C compiler for embedded systems, | ||
189 | + http://sdcc.sourceforge.net */ | ||
190 | +#elif defined(SDCC) | ||
191 | +# define COMPILER_ID "SDCC" | ||
192 | + /* SDCC = VRP */ | ||
193 | +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) | ||
194 | +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) | ||
195 | +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) | ||
196 | + | ||
197 | +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) | ||
198 | +# define COMPILER_ID "MIPSpro" | ||
199 | +# if defined(_SGI_COMPILER_VERSION) | ||
200 | + /* _SGI_COMPILER_VERSION = VRP */ | ||
201 | +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) | ||
202 | +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) | ||
203 | +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) | ||
204 | +# else | ||
205 | + /* _COMPILER_VERSION = VRP */ | ||
206 | +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) | ||
207 | +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) | ||
208 | +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) | ||
209 | +# endif | ||
210 | + | ||
211 | +/* This compiler is either not known or is too old to define an | ||
212 | + identification macro. Try to identify the platform and guess that | ||
213 | + it is the native compiler. */ | ||
214 | +#elif defined(__sgi) | ||
215 | +# define COMPILER_ID "MIPSpro" | ||
216 | + | ||
217 | +#elif defined(__hpux) || defined(__hpua) | ||
218 | +# define COMPILER_ID "HP" | ||
219 | + | ||
220 | +#else /* unknown compiler */ | ||
221 | +# define COMPILER_ID "" | ||
222 | + | ||
223 | +#endif | ||
224 | + | ||
225 | +/* Construct the string literal in pieces to prevent the source from | ||
226 | + getting matched. Store it in a pointer rather than an array | ||
227 | + because some compilers will just produce instructions to fill the | ||
228 | + array rather than assigning a pointer to a static array. */ | ||
229 | +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; | ||
230 | +#ifdef SIMULATE_ID | ||
231 | +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; | ||
232 | +#endif | ||
233 | + | ||
234 | +#ifdef __QNXNTO__ | ||
235 | +char const* qnxnto = "INFO" ":" "qnxnto"; | ||
236 | +#endif | ||
237 | + | ||
238 | +/* Identify known platforms by name. */ | ||
239 | +#if defined(__linux) || defined(__linux__) || defined(linux) | ||
240 | +# define PLATFORM_ID "Linux" | ||
241 | + | ||
242 | +#elif defined(__CYGWIN__) | ||
243 | +# define PLATFORM_ID "Cygwin" | ||
244 | + | ||
245 | +#elif defined(__MINGW32__) | ||
246 | +# define PLATFORM_ID "MinGW" | ||
247 | + | ||
248 | +#elif defined(__APPLE__) | ||
249 | +# define PLATFORM_ID "Darwin" | ||
250 | + | ||
251 | +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) | ||
252 | +# define PLATFORM_ID "Windows" | ||
253 | + | ||
254 | +#elif defined(__FreeBSD__) || defined(__FreeBSD) | ||
255 | +# define PLATFORM_ID "FreeBSD" | ||
256 | + | ||
257 | +#elif defined(__NetBSD__) || defined(__NetBSD) | ||
258 | +# define PLATFORM_ID "NetBSD" | ||
259 | + | ||
260 | +#elif defined(__OpenBSD__) || defined(__OPENBSD) | ||
261 | +# define PLATFORM_ID "OpenBSD" | ||
262 | + | ||
263 | +#elif defined(__sun) || defined(sun) | ||
264 | +# define PLATFORM_ID "SunOS" | ||
265 | + | ||
266 | +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) | ||
267 | +# define PLATFORM_ID "AIX" | ||
268 | + | ||
269 | +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) | ||
270 | +# define PLATFORM_ID "IRIX" | ||
271 | + | ||
272 | +#elif defined(__hpux) || defined(__hpux__) | ||
273 | +# define PLATFORM_ID "HP-UX" | ||
274 | + | ||
275 | +#elif defined(__HAIKU__) | ||
276 | +# define PLATFORM_ID "Haiku" | ||
277 | + | ||
278 | +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) | ||
279 | +# define PLATFORM_ID "BeOS" | ||
280 | + | ||
281 | +#elif defined(__QNX__) || defined(__QNXNTO__) | ||
282 | +# define PLATFORM_ID "QNX" | ||
283 | + | ||
284 | +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) | ||
285 | +# define PLATFORM_ID "Tru64" | ||
286 | + | ||
287 | +#elif defined(__riscos) || defined(__riscos__) | ||
288 | +# define PLATFORM_ID "RISCos" | ||
289 | + | ||
290 | +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) | ||
291 | +# define PLATFORM_ID "SINIX" | ||
292 | + | ||
293 | +#elif defined(__UNIX_SV__) | ||
294 | +# define PLATFORM_ID "UNIX_SV" | ||
295 | + | ||
296 | +#elif defined(__bsdos__) | ||
297 | +# define PLATFORM_ID "BSDOS" | ||
298 | + | ||
299 | +#elif defined(_MPRAS) || defined(MPRAS) | ||
300 | +# define PLATFORM_ID "MP-RAS" | ||
301 | + | ||
302 | +#elif defined(__osf) || defined(__osf__) | ||
303 | +# define PLATFORM_ID "OSF1" | ||
304 | + | ||
305 | +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) | ||
306 | +# define PLATFORM_ID "SCO_SV" | ||
307 | + | ||
308 | +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) | ||
309 | +# define PLATFORM_ID "ULTRIX" | ||
310 | + | ||
311 | +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) | ||
312 | +# define PLATFORM_ID "Xenix" | ||
313 | + | ||
314 | +#else /* unknown platform */ | ||
315 | +# define PLATFORM_ID "" | ||
316 | + | ||
317 | +#endif | ||
318 | + | ||
319 | +/* For windows compilers MSVC and Intel we can determine | ||
320 | + the architecture of the compiler being used. This is because | ||
321 | + the compilers do not have flags that can change the architecture, | ||
322 | + but rather depend on which compiler is being used | ||
323 | +*/ | ||
324 | +#if defined(_WIN32) && defined(_MSC_VER) | ||
325 | +# if defined(_M_IA64) | ||
326 | +# define ARCHITECTURE_ID "IA64" | ||
327 | + | ||
328 | +# elif defined(_M_X64) || defined(_M_AMD64) | ||
329 | +# define ARCHITECTURE_ID "x64" | ||
330 | + | ||
331 | +# elif defined(_M_IX86) | ||
332 | +# define ARCHITECTURE_ID "X86" | ||
333 | + | ||
334 | +# elif defined(_M_ARM) | ||
335 | +# define ARCHITECTURE_ID "ARM" | ||
336 | + | ||
337 | +# elif defined(_M_MIPS) | ||
338 | +# define ARCHITECTURE_ID "MIPS" | ||
339 | + | ||
340 | +# elif defined(_M_SH) | ||
341 | +# define ARCHITECTURE_ID "SHx" | ||
342 | + | ||
343 | +# else /* unknown architecture */ | ||
344 | +# define ARCHITECTURE_ID "" | ||
345 | +# endif | ||
346 | + | ||
347 | +#else | ||
348 | +# define ARCHITECTURE_ID "" | ||
349 | +#endif | ||
350 | + | ||
351 | +/* Convert integer to decimal digit literals. */ | ||
352 | +#define DEC(n) \ | ||
353 | + ('0' + (((n) / 10000000)%10)), \ | ||
354 | + ('0' + (((n) / 1000000)%10)), \ | ||
355 | + ('0' + (((n) / 100000)%10)), \ | ||
356 | + ('0' + (((n) / 10000)%10)), \ | ||
357 | + ('0' + (((n) / 1000)%10)), \ | ||
358 | + ('0' + (((n) / 100)%10)), \ | ||
359 | + ('0' + (((n) / 10)%10)), \ | ||
360 | + ('0' + ((n) % 10)) | ||
361 | + | ||
362 | +/* Convert integer to hex digit literals. */ | ||
363 | +#define HEX(n) \ | ||
364 | + ('0' + ((n)>>28 & 0xF)), \ | ||
365 | + ('0' + ((n)>>24 & 0xF)), \ | ||
366 | + ('0' + ((n)>>20 & 0xF)), \ | ||
367 | + ('0' + ((n)>>16 & 0xF)), \ | ||
368 | + ('0' + ((n)>>12 & 0xF)), \ | ||
369 | + ('0' + ((n)>>8 & 0xF)), \ | ||
370 | + ('0' + ((n)>>4 & 0xF)), \ | ||
371 | + ('0' + ((n) & 0xF)) | ||
372 | + | ||
373 | +/* Construct a string literal encoding the version number components. */ | ||
374 | +#ifdef COMPILER_VERSION_MAJOR | ||
375 | +char const info_version[] = { | ||
376 | + 'I', 'N', 'F', 'O', ':', | ||
377 | + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', | ||
378 | + COMPILER_VERSION_MAJOR, | ||
379 | +# ifdef COMPILER_VERSION_MINOR | ||
380 | + '.', COMPILER_VERSION_MINOR, | ||
381 | +# ifdef COMPILER_VERSION_PATCH | ||
382 | + '.', COMPILER_VERSION_PATCH, | ||
383 | +# ifdef COMPILER_VERSION_TWEAK | ||
384 | + '.', COMPILER_VERSION_TWEAK, | ||
385 | +# endif | ||
386 | +# endif | ||
387 | +# endif | ||
388 | + ']','\0'}; | ||
389 | +#endif | ||
390 | + | ||
391 | +/* Construct a string literal encoding the version number components. */ | ||
392 | +#ifdef SIMULATE_VERSION_MAJOR | ||
393 | +char const info_simulate_version[] = { | ||
394 | + 'I', 'N', 'F', 'O', ':', | ||
395 | + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', | ||
396 | + SIMULATE_VERSION_MAJOR, | ||
397 | +# ifdef SIMULATE_VERSION_MINOR | ||
398 | + '.', SIMULATE_VERSION_MINOR, | ||
399 | +# ifdef SIMULATE_VERSION_PATCH | ||
400 | + '.', SIMULATE_VERSION_PATCH, | ||
401 | +# ifdef SIMULATE_VERSION_TWEAK | ||
402 | + '.', SIMULATE_VERSION_TWEAK, | ||
403 | +# endif | ||
404 | +# endif | ||
405 | +# endif | ||
406 | + ']','\0'}; | ||
407 | +#endif | ||
408 | + | ||
409 | +/* Construct the string literal in pieces to prevent the source from | ||
410 | + getting matched. Store it in a pointer rather than an array | ||
411 | + because some compilers will just produce instructions to fill the | ||
412 | + array rather than assigning a pointer to a static array. */ | ||
413 | +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; | ||
414 | +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; | ||
415 | + | ||
416 | + | ||
417 | + | ||
418 | + | ||
419 | +/*--------------------------------------------------------------------------*/ | ||
420 | + | ||
421 | +#ifdef ID_VOID_MAIN | ||
422 | +void main() {} | ||
423 | +#else | ||
424 | +int main(int argc, char* argv[]) | ||
425 | +{ | ||
426 | + int require = 0; | ||
427 | + require += info_compiler[argc]; | ||
428 | + require += info_platform[argc]; | ||
429 | + require += info_arch[argc]; | ||
430 | +#ifdef COMPILER_VERSION_MAJOR | ||
431 | + require += info_version[argc]; | ||
432 | +#endif | ||
433 | +#ifdef SIMULATE_ID | ||
434 | + require += info_simulate[argc]; | ||
435 | +#endif | ||
436 | +#ifdef SIMULATE_VERSION_MAJOR | ||
437 | + require += info_simulate_version[argc]; | ||
438 | +#endif | ||
439 | + (void)argv; | ||
440 | + return require; | ||
441 | +} | ||
442 | +#endif |
build/CMakeFiles/3.0.2/CompilerIdC/a.out
0 → 100755
No preview for this file type
build/CMakeFiles/3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
0 → 100644
1 | +++ a/build/CMakeFiles/3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp | ||
1 | +/* This source file must have a .cpp extension so that all C++ compilers | ||
2 | + recognize the extension without flags. Borland does not know .cxx for | ||
3 | + example. */ | ||
4 | +#ifndef __cplusplus | ||
5 | +# error "A C compiler has been selected for C++." | ||
6 | +#endif | ||
7 | + | ||
8 | +/* Version number components: V=Version, R=Revision, P=Patch | ||
9 | + Version date components: YYYY=Year, MM=Month, DD=Day */ | ||
10 | + | ||
11 | +#if defined(__COMO__) | ||
12 | +# define COMPILER_ID "Comeau" | ||
13 | + /* __COMO_VERSION__ = VRR */ | ||
14 | +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) | ||
15 | +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) | ||
16 | + | ||
17 | +#elif defined(__INTEL_COMPILER) || defined(__ICC) | ||
18 | +# define COMPILER_ID "Intel" | ||
19 | + /* __INTEL_COMPILER = VRP */ | ||
20 | +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) | ||
21 | +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) | ||
22 | +# if defined(__INTEL_COMPILER_UPDATE) | ||
23 | +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) | ||
24 | +# else | ||
25 | +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) | ||
26 | +# endif | ||
27 | +# if defined(__INTEL_COMPILER_BUILD_DATE) | ||
28 | + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ | ||
29 | +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) | ||
30 | +# endif | ||
31 | +# if defined(_MSC_VER) | ||
32 | +# define SIMULATE_ID "MSVC" | ||
33 | + /* _MSC_VER = VVRR */ | ||
34 | +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
35 | +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) | ||
36 | +# endif | ||
37 | + | ||
38 | +#elif defined(__PATHCC__) | ||
39 | +# define COMPILER_ID "PathScale" | ||
40 | +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) | ||
41 | +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) | ||
42 | +# if defined(__PATHCC_PATCHLEVEL__) | ||
43 | +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) | ||
44 | +# endif | ||
45 | + | ||
46 | +#elif defined(__clang__) | ||
47 | +# if defined(__apple_build_version__) | ||
48 | +# define COMPILER_ID "AppleClang" | ||
49 | +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) | ||
50 | +# else | ||
51 | +# define COMPILER_ID "Clang" | ||
52 | +# endif | ||
53 | +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) | ||
54 | +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) | ||
55 | +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) | ||
56 | +# if defined(_MSC_VER) | ||
57 | +# define SIMULATE_ID "MSVC" | ||
58 | + /* _MSC_VER = VVRR */ | ||
59 | +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
60 | +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) | ||
61 | +# endif | ||
62 | + | ||
63 | +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) | ||
64 | +# define COMPILER_ID "Embarcadero" | ||
65 | +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) | ||
66 | +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) | ||
67 | +# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF) | ||
68 | + | ||
69 | +#elif defined(__BORLANDC__) | ||
70 | +# define COMPILER_ID "Borland" | ||
71 | + /* __BORLANDC__ = 0xVRR */ | ||
72 | +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) | ||
73 | +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) | ||
74 | + | ||
75 | +#elif defined(__WATCOMC__) | ||
76 | +# define COMPILER_ID "Watcom" | ||
77 | + /* __WATCOMC__ = VVRR */ | ||
78 | +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) | ||
79 | +# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100) | ||
80 | + | ||
81 | +#elif defined(__SUNPRO_CC) | ||
82 | +# define COMPILER_ID "SunPro" | ||
83 | +# if __SUNPRO_CC >= 0x5100 | ||
84 | + /* __SUNPRO_CC = 0xVRRP */ | ||
85 | +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) | ||
86 | +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) | ||
87 | +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) | ||
88 | +# else | ||
89 | + /* __SUNPRO_CC = 0xVRP */ | ||
90 | +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) | ||
91 | +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) | ||
92 | +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) | ||
93 | +# endif | ||
94 | + | ||
95 | +#elif defined(__HP_aCC) | ||
96 | +# define COMPILER_ID "HP" | ||
97 | + /* __HP_aCC = VVRRPP */ | ||
98 | +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) | ||
99 | +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) | ||
100 | +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) | ||
101 | + | ||
102 | +#elif defined(__DECCXX) | ||
103 | +# define COMPILER_ID "Compaq" | ||
104 | + /* __DECCXX_VER = VVRRTPPPP */ | ||
105 | +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) | ||
106 | +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) | ||
107 | +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) | ||
108 | + | ||
109 | +#elif defined(__IBMCPP__) | ||
110 | +# if defined(__COMPILER_VER__) | ||
111 | +# define COMPILER_ID "zOS" | ||
112 | +# else | ||
113 | +# if __IBMCPP__ >= 800 | ||
114 | +# define COMPILER_ID "XL" | ||
115 | +# else | ||
116 | +# define COMPILER_ID "VisualAge" | ||
117 | +# endif | ||
118 | + /* __IBMCPP__ = VRP */ | ||
119 | +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) | ||
120 | +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) | ||
121 | +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) | ||
122 | +# endif | ||
123 | + | ||
124 | +#elif defined(__PGI) | ||
125 | +# define COMPILER_ID "PGI" | ||
126 | +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) | ||
127 | +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) | ||
128 | +# if defined(__PGIC_PATCHLEVEL__) | ||
129 | +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) | ||
130 | +# endif | ||
131 | + | ||
132 | +#elif defined(_CRAYC) | ||
133 | +# define COMPILER_ID "Cray" | ||
134 | +# define COMPILER_VERSION_MAJOR DEC(_RELEASE) | ||
135 | +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) | ||
136 | + | ||
137 | +#elif defined(__TI_COMPILER_VERSION__) | ||
138 | +# define COMPILER_ID "TI" | ||
139 | + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ | ||
140 | +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) | ||
141 | +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) | ||
142 | +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) | ||
143 | + | ||
144 | +#elif defined(__SCO_VERSION__) | ||
145 | +# define COMPILER_ID "SCO" | ||
146 | + | ||
147 | +#elif defined(__GNUC__) | ||
148 | +# define COMPILER_ID "GNU" | ||
149 | +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) | ||
150 | +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) | ||
151 | +# if defined(__GNUC_PATCHLEVEL__) | ||
152 | +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) | ||
153 | +# endif | ||
154 | + | ||
155 | +#elif defined(_MSC_VER) | ||
156 | +# define COMPILER_ID "MSVC" | ||
157 | + /* _MSC_VER = VVRR */ | ||
158 | +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) | ||
159 | +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) | ||
160 | +# if defined(_MSC_FULL_VER) | ||
161 | +# if _MSC_VER >= 1400 | ||
162 | + /* _MSC_FULL_VER = VVRRPPPPP */ | ||
163 | +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) | ||
164 | +# else | ||
165 | + /* _MSC_FULL_VER = VVRRPPPP */ | ||
166 | +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) | ||
167 | +# endif | ||
168 | +# endif | ||
169 | +# if defined(_MSC_BUILD) | ||
170 | +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) | ||
171 | +# endif | ||
172 | + | ||
173 | +/* Analog VisualDSP++ >= 4.5.6 */ | ||
174 | +#elif defined(__VISUALDSPVERSION__) | ||
175 | +# define COMPILER_ID "ADSP" | ||
176 | + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ | ||
177 | +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) | ||
178 | +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) | ||
179 | +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) | ||
180 | + | ||
181 | +/* Analog VisualDSP++ < 4.5.6 */ | ||
182 | +#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) | ||
183 | +# define COMPILER_ID "ADSP" | ||
184 | + | ||
185 | +/* IAR Systems compiler for embedded systems. | ||
186 | + http://www.iar.com */ | ||
187 | +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) | ||
188 | +# define COMPILER_ID "IAR" | ||
189 | + | ||
190 | +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) | ||
191 | +# define COMPILER_ID "MIPSpro" | ||
192 | +# if defined(_SGI_COMPILER_VERSION) | ||
193 | + /* _SGI_COMPILER_VERSION = VRP */ | ||
194 | +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) | ||
195 | +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) | ||
196 | +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) | ||
197 | +# else | ||
198 | + /* _COMPILER_VERSION = VRP */ | ||
199 | +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) | ||
200 | +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) | ||
201 | +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) | ||
202 | +# endif | ||
203 | + | ||
204 | +/* This compiler is either not known or is too old to define an | ||
205 | + identification macro. Try to identify the platform and guess that | ||
206 | + it is the native compiler. */ | ||
207 | +#elif defined(__sgi) | ||
208 | +# define COMPILER_ID "MIPSpro" | ||
209 | + | ||
210 | +#elif defined(__hpux) || defined(__hpua) | ||
211 | +# define COMPILER_ID "HP" | ||
212 | + | ||
213 | +#else /* unknown compiler */ | ||
214 | +# define COMPILER_ID "" | ||
215 | + | ||
216 | +#endif | ||
217 | + | ||
218 | +/* Construct the string literal in pieces to prevent the source from | ||
219 | + getting matched. Store it in a pointer rather than an array | ||
220 | + because some compilers will just produce instructions to fill the | ||
221 | + array rather than assigning a pointer to a static array. */ | ||
222 | +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; | ||
223 | +#ifdef SIMULATE_ID | ||
224 | +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; | ||
225 | +#endif | ||
226 | + | ||
227 | +#ifdef __QNXNTO__ | ||
228 | +char const* qnxnto = "INFO" ":" "qnxnto"; | ||
229 | +#endif | ||
230 | + | ||
231 | +/* Identify known platforms by name. */ | ||
232 | +#if defined(__linux) || defined(__linux__) || defined(linux) | ||
233 | +# define PLATFORM_ID "Linux" | ||
234 | + | ||
235 | +#elif defined(__CYGWIN__) | ||
236 | +# define PLATFORM_ID "Cygwin" | ||
237 | + | ||
238 | +#elif defined(__MINGW32__) | ||
239 | +# define PLATFORM_ID "MinGW" | ||
240 | + | ||
241 | +#elif defined(__APPLE__) | ||
242 | +# define PLATFORM_ID "Darwin" | ||
243 | + | ||
244 | +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) | ||
245 | +# define PLATFORM_ID "Windows" | ||
246 | + | ||
247 | +#elif defined(__FreeBSD__) || defined(__FreeBSD) | ||
248 | +# define PLATFORM_ID "FreeBSD" | ||
249 | + | ||
250 | +#elif defined(__NetBSD__) || defined(__NetBSD) | ||
251 | +# define PLATFORM_ID "NetBSD" | ||
252 | + | ||
253 | +#elif defined(__OpenBSD__) || defined(__OPENBSD) | ||
254 | +# define PLATFORM_ID "OpenBSD" | ||
255 | + | ||
256 | +#elif defined(__sun) || defined(sun) | ||
257 | +# define PLATFORM_ID "SunOS" | ||
258 | + | ||
259 | +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) | ||
260 | +# define PLATFORM_ID "AIX" | ||
261 | + | ||
262 | +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) | ||
263 | +# define PLATFORM_ID "IRIX" | ||
264 | + | ||
265 | +#elif defined(__hpux) || defined(__hpux__) | ||
266 | +# define PLATFORM_ID "HP-UX" | ||
267 | + | ||
268 | +#elif defined(__HAIKU__) | ||
269 | +# define PLATFORM_ID "Haiku" | ||
270 | + | ||
271 | +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) | ||
272 | +# define PLATFORM_ID "BeOS" | ||
273 | + | ||
274 | +#elif defined(__QNX__) || defined(__QNXNTO__) | ||
275 | +# define PLATFORM_ID "QNX" | ||
276 | + | ||
277 | +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) | ||
278 | +# define PLATFORM_ID "Tru64" | ||
279 | + | ||
280 | +#elif defined(__riscos) || defined(__riscos__) | ||
281 | +# define PLATFORM_ID "RISCos" | ||
282 | + | ||
283 | +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) | ||
284 | +# define PLATFORM_ID "SINIX" | ||
285 | + | ||
286 | +#elif defined(__UNIX_SV__) | ||
287 | +# define PLATFORM_ID "UNIX_SV" | ||
288 | + | ||
289 | +#elif defined(__bsdos__) | ||
290 | +# define PLATFORM_ID "BSDOS" | ||
291 | + | ||
292 | +#elif defined(_MPRAS) || defined(MPRAS) | ||
293 | +# define PLATFORM_ID "MP-RAS" | ||
294 | + | ||
295 | +#elif defined(__osf) || defined(__osf__) | ||
296 | +# define PLATFORM_ID "OSF1" | ||
297 | + | ||
298 | +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) | ||
299 | +# define PLATFORM_ID "SCO_SV" | ||
300 | + | ||
301 | +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) | ||
302 | +# define PLATFORM_ID "ULTRIX" | ||
303 | + | ||
304 | +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) | ||
305 | +# define PLATFORM_ID "Xenix" | ||
306 | + | ||
307 | +#else /* unknown platform */ | ||
308 | +# define PLATFORM_ID "" | ||
309 | + | ||
310 | +#endif | ||
311 | + | ||
312 | +/* For windows compilers MSVC and Intel we can determine | ||
313 | + the architecture of the compiler being used. This is because | ||
314 | + the compilers do not have flags that can change the architecture, | ||
315 | + but rather depend on which compiler is being used | ||
316 | +*/ | ||
317 | +#if defined(_WIN32) && defined(_MSC_VER) | ||
318 | +# if defined(_M_IA64) | ||
319 | +# define ARCHITECTURE_ID "IA64" | ||
320 | + | ||
321 | +# elif defined(_M_X64) || defined(_M_AMD64) | ||
322 | +# define ARCHITECTURE_ID "x64" | ||
323 | + | ||
324 | +# elif defined(_M_IX86) | ||
325 | +# define ARCHITECTURE_ID "X86" | ||
326 | + | ||
327 | +# elif defined(_M_ARM) | ||
328 | +# define ARCHITECTURE_ID "ARM" | ||
329 | + | ||
330 | +# elif defined(_M_MIPS) | ||
331 | +# define ARCHITECTURE_ID "MIPS" | ||
332 | + | ||
333 | +# elif defined(_M_SH) | ||
334 | +# define ARCHITECTURE_ID "SHx" | ||
335 | + | ||
336 | +# else /* unknown architecture */ | ||
337 | +# define ARCHITECTURE_ID "" | ||
338 | +# endif | ||
339 | + | ||
340 | +#else | ||
341 | +# define ARCHITECTURE_ID "" | ||
342 | +#endif | ||
343 | + | ||
344 | +/* Convert integer to decimal digit literals. */ | ||
345 | +#define DEC(n) \ | ||
346 | + ('0' + (((n) / 10000000)%10)), \ | ||
347 | + ('0' + (((n) / 1000000)%10)), \ | ||
348 | + ('0' + (((n) / 100000)%10)), \ | ||
349 | + ('0' + (((n) / 10000)%10)), \ | ||
350 | + ('0' + (((n) / 1000)%10)), \ | ||
351 | + ('0' + (((n) / 100)%10)), \ | ||
352 | + ('0' + (((n) / 10)%10)), \ | ||
353 | + ('0' + ((n) % 10)) | ||
354 | + | ||
355 | +/* Convert integer to hex digit literals. */ | ||
356 | +#define HEX(n) \ | ||
357 | + ('0' + ((n)>>28 & 0xF)), \ | ||
358 | + ('0' + ((n)>>24 & 0xF)), \ | ||
359 | + ('0' + ((n)>>20 & 0xF)), \ | ||
360 | + ('0' + ((n)>>16 & 0xF)), \ | ||
361 | + ('0' + ((n)>>12 & 0xF)), \ | ||
362 | + ('0' + ((n)>>8 & 0xF)), \ | ||
363 | + ('0' + ((n)>>4 & 0xF)), \ | ||
364 | + ('0' + ((n) & 0xF)) | ||
365 | + | ||
366 | +/* Construct a string literal encoding the version number components. */ | ||
367 | +#ifdef COMPILER_VERSION_MAJOR | ||
368 | +char const info_version[] = { | ||
369 | + 'I', 'N', 'F', 'O', ':', | ||
370 | + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', | ||
371 | + COMPILER_VERSION_MAJOR, | ||
372 | +# ifdef COMPILER_VERSION_MINOR | ||
373 | + '.', COMPILER_VERSION_MINOR, | ||
374 | +# ifdef COMPILER_VERSION_PATCH | ||
375 | + '.', COMPILER_VERSION_PATCH, | ||
376 | +# ifdef COMPILER_VERSION_TWEAK | ||
377 | + '.', COMPILER_VERSION_TWEAK, | ||
378 | +# endif | ||
379 | +# endif | ||
380 | +# endif | ||
381 | + ']','\0'}; | ||
382 | +#endif | ||
383 | + | ||
384 | +/* Construct a string literal encoding the version number components. */ | ||
385 | +#ifdef SIMULATE_VERSION_MAJOR | ||
386 | +char const info_simulate_version[] = { | ||
387 | + 'I', 'N', 'F', 'O', ':', | ||
388 | + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', | ||
389 | + SIMULATE_VERSION_MAJOR, | ||
390 | +# ifdef SIMULATE_VERSION_MINOR | ||
391 | + '.', SIMULATE_VERSION_MINOR, | ||
392 | +# ifdef SIMULATE_VERSION_PATCH | ||
393 | + '.', SIMULATE_VERSION_PATCH, | ||
394 | +# ifdef SIMULATE_VERSION_TWEAK | ||
395 | + '.', SIMULATE_VERSION_TWEAK, | ||
396 | +# endif | ||
397 | +# endif | ||
398 | +# endif | ||
399 | + ']','\0'}; | ||
400 | +#endif | ||
401 | + | ||
402 | +/* Construct the string literal in pieces to prevent the source from | ||
403 | + getting matched. Store it in a pointer rather than an array | ||
404 | + because some compilers will just produce instructions to fill the | ||
405 | + array rather than assigning a pointer to a static array. */ | ||
406 | +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; | ||
407 | +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; | ||
408 | + | ||
409 | + | ||
410 | + | ||
411 | + | ||
412 | +/*--------------------------------------------------------------------------*/ | ||
413 | + | ||
414 | +int main(int argc, char* argv[]) | ||
415 | +{ | ||
416 | + int require = 0; | ||
417 | + require += info_compiler[argc]; | ||
418 | + require += info_platform[argc]; | ||
419 | +#ifdef COMPILER_VERSION_MAJOR | ||
420 | + require += info_version[argc]; | ||
421 | +#endif | ||
422 | +#ifdef SIMULATE_ID | ||
423 | + require += info_simulate[argc]; | ||
424 | +#endif | ||
425 | +#ifdef SIMULATE_VERSION_MAJOR | ||
426 | + require += info_simulate_version[argc]; | ||
427 | +#endif | ||
428 | + (void)argv; | ||
429 | + return require; | ||
430 | +} |
build/CMakeFiles/3.0.2/CompilerIdCXX/a.out
0 → 100755
No preview for this file type
build/CMakeFiles/CMakeDirectoryInformation.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/CMakeDirectoryInformation.cmake | ||
1 | +# CMAKE generated file: DO NOT EDIT! | ||
2 | +# Generated by "Unix Makefiles" Generator, CMake Version 3.0 | ||
3 | + | ||
4 | +# Relative path conversion top directories. | ||
5 | +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/imanol/ClionProjects/touchpad_disabler") | ||
6 | +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/imanol/ClionProjects/touchpad_disabler/build") | ||
7 | + | ||
8 | +# Force unix paths in dependencies. | ||
9 | +set(CMAKE_FORCE_UNIX_PATHS 1) | ||
10 | + | ||
11 | + | ||
12 | +# The C and CXX include file regular expressions for this directory. | ||
13 | +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") | ||
14 | +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") | ||
15 | +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) | ||
16 | +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) |
build/CMakeFiles/CMakeOutput.log
0 → 100644
1 | +++ a/build/CMakeFiles/CMakeOutput.log | ||
1 | +The system is: Linux - 4.2.0-0.bpo.1-amd64 - x86_64 | ||
2 | +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. | ||
3 | +Compiler: /usr/bin/cc | ||
4 | +Build flags: | ||
5 | +Id flags: | ||
6 | + | ||
7 | +The output was: | ||
8 | +0 | ||
9 | + | ||
10 | + | ||
11 | +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" | ||
12 | + | ||
13 | +The C compiler identification is GNU, found in "/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/3.0.2/CompilerIdC/a.out" | ||
14 | + | ||
15 | +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. | ||
16 | +Compiler: /usr/bin/c++ | ||
17 | +Build flags: | ||
18 | +Id flags: | ||
19 | + | ||
20 | +The output was: | ||
21 | +0 | ||
22 | + | ||
23 | + | ||
24 | +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" | ||
25 | + | ||
26 | +The CXX compiler identification is GNU, found in "/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/3.0.2/CompilerIdCXX/a.out" | ||
27 | + | ||
28 | +Determining if the C compiler works passed with the following output: | ||
29 | +Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp | ||
30 | + | ||
31 | +Run Build Command:"/usr/bin/make" "cmTryCompileExec3587270827/fast" | ||
32 | +/usr/bin/make -f CMakeFiles/cmTryCompileExec3587270827.dir/build.make CMakeFiles/cmTryCompileExec3587270827.dir/build | ||
33 | +make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
34 | +/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1 | ||
35 | +Building C object CMakeFiles/cmTryCompileExec3587270827.dir/testCCompiler.c.o | ||
36 | +/usr/bin/cc -o CMakeFiles/cmTryCompileExec3587270827.dir/testCCompiler.c.o -c /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/testCCompiler.c | ||
37 | +Linking C executable cmTryCompileExec3587270827 | ||
38 | +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3587270827.dir/link.txt --verbose=1 | ||
39 | +/usr/bin/cc CMakeFiles/cmTryCompileExec3587270827.dir/testCCompiler.c.o -o cmTryCompileExec3587270827 -rdynamic | ||
40 | +make[1]: Leaving directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
41 | + | ||
42 | + | ||
43 | +Detecting C compiler ABI info compiled with the following output: | ||
44 | +Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp | ||
45 | + | ||
46 | +Run Build Command:"/usr/bin/make" "cmTryCompileExec1995185109/fast" | ||
47 | +/usr/bin/make -f CMakeFiles/cmTryCompileExec1995185109.dir/build.make CMakeFiles/cmTryCompileExec1995185109.dir/build | ||
48 | +make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
49 | +/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1 | ||
50 | +Building C object CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o | ||
51 | +/usr/bin/cc -o CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.0/Modules/CMakeCCompilerABI.c | ||
52 | +Linking C executable cmTryCompileExec1995185109 | ||
53 | +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1995185109.dir/link.txt --verbose=1 | ||
54 | +/usr/bin/cc -v CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1995185109 -rdynamic | ||
55 | +Using built-in specs. | ||
56 | +COLLECT_GCC=/usr/bin/cc | ||
57 | +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper | ||
58 | +Target: x86_64-linux-gnu | ||
59 | +Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | ||
60 | +Thread model: posix | ||
61 | +gcc version 4.9.2 (Debian 4.9.2-10) | ||
62 | +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/ | ||
63 | +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/ | ||
64 | +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1995185109' '-rdynamic' '-mtune=generic' '-march=x86-64' | ||
65 | + /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqCRvMy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1995185109 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o | ||
66 | +make[1]: Leaving directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
67 | + | ||
68 | + | ||
69 | +Parsed C implicit link information from above output: | ||
70 | + link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] | ||
71 | + ignore line: [Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp] | ||
72 | + ignore line: [] | ||
73 | + ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec1995185109/fast"] | ||
74 | + ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1995185109.dir/build.make CMakeFiles/cmTryCompileExec1995185109.dir/build] | ||
75 | + ignore line: [make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp'] | ||
76 | + ignore line: [/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1] | ||
77 | + ignore line: [Building C object CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o] | ||
78 | + ignore line: [/usr/bin/cc -o CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.0/Modules/CMakeCCompilerABI.c] | ||
79 | + ignore line: [Linking C executable cmTryCompileExec1995185109] | ||
80 | + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1995185109.dir/link.txt --verbose=1] | ||
81 | + ignore line: [/usr/bin/cc -v CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1995185109 -rdynamic ] | ||
82 | + ignore line: [Using built-in specs.] | ||
83 | + ignore line: [COLLECT_GCC=/usr/bin/cc] | ||
84 | + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] | ||
85 | + ignore line: [Target: x86_64-linux-gnu] | ||
86 | + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] | ||
87 | + ignore line: [Thread model: posix] | ||
88 | + ignore line: [gcc version 4.9.2 (Debian 4.9.2-10) ] | ||
89 | + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/] | ||
90 | + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/] | ||
91 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1995185109' '-rdynamic' '-mtune=generic' '-march=x86-64'] | ||
92 | + link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqCRvMy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1995185109 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] | ||
93 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2] ==> ignore | ||
94 | + arg [-plugin] ==> ignore | ||
95 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so] ==> ignore | ||
96 | + arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] ==> ignore | ||
97 | + arg [-plugin-opt=-fresolution=/tmp/ccqCRvMy.res] ==> ignore | ||
98 | + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | ||
99 | + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | ||
100 | + arg [-plugin-opt=-pass-through=-lc] ==> ignore | ||
101 | + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | ||
102 | + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | ||
103 | + arg [--sysroot=/] ==> ignore | ||
104 | + arg [--build-id] ==> ignore | ||
105 | + arg [--eh-frame-hdr] ==> ignore | ||
106 | + arg [-m] ==> ignore | ||
107 | + arg [elf_x86_64] ==> ignore | ||
108 | + arg [--hash-style=gnu] ==> ignore | ||
109 | + arg [-export-dynamic] ==> ignore | ||
110 | + arg [-dynamic-linker] ==> ignore | ||
111 | + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore | ||
112 | + arg [-o] ==> ignore | ||
113 | + arg [cmTryCompileExec1995185109] ==> ignore | ||
114 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o] ==> ignore | ||
115 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o] ==> ignore | ||
116 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o] ==> ignore | ||
117 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] | ||
118 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] | ||
119 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] | ||
120 | + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] | ||
121 | + arg [-L/lib/../lib] ==> dir [/lib/../lib] | ||
122 | + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] | ||
123 | + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] | ||
124 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] | ||
125 | + arg [CMakeFiles/cmTryCompileExec1995185109.dir/CMakeCCompilerABI.c.o] ==> ignore | ||
126 | + arg [-lgcc] ==> lib [gcc] | ||
127 | + arg [--as-needed] ==> ignore | ||
128 | + arg [-lgcc_s] ==> lib [gcc_s] | ||
129 | + arg [--no-as-needed] ==> ignore | ||
130 | + arg [-lc] ==> lib [c] | ||
131 | + arg [-lgcc] ==> lib [gcc] | ||
132 | + arg [--as-needed] ==> ignore | ||
133 | + arg [-lgcc_s] ==> lib [gcc_s] | ||
134 | + arg [--no-as-needed] ==> ignore | ||
135 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o] ==> ignore | ||
136 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] ==> ignore | ||
137 | + remove lib [gcc] | ||
138 | + remove lib [gcc_s] | ||
139 | + remove lib [gcc] | ||
140 | + remove lib [gcc_s] | ||
141 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.9] | ||
142 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] | ||
143 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> [/usr/lib] | ||
144 | + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] | ||
145 | + collapse library dir [/lib/../lib] ==> [/lib] | ||
146 | + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] | ||
147 | + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] | ||
148 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> [/usr/lib] | ||
149 | + implicit libs: [c] | ||
150 | + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] | ||
151 | + implicit fwks: [] | ||
152 | + | ||
153 | + | ||
154 | +Determining if the CXX compiler works passed with the following output: | ||
155 | +Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp | ||
156 | + | ||
157 | +Run Build Command:"/usr/bin/make" "cmTryCompileExec1572489368/fast" | ||
158 | +/usr/bin/make -f CMakeFiles/cmTryCompileExec1572489368.dir/build.make CMakeFiles/cmTryCompileExec1572489368.dir/build | ||
159 | +make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
160 | +/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1 | ||
161 | +Building CXX object CMakeFiles/cmTryCompileExec1572489368.dir/testCXXCompiler.cxx.o | ||
162 | +/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1572489368.dir/testCXXCompiler.cxx.o -c /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx | ||
163 | +Linking CXX executable cmTryCompileExec1572489368 | ||
164 | +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1572489368.dir/link.txt --verbose=1 | ||
165 | +/usr/bin/c++ CMakeFiles/cmTryCompileExec1572489368.dir/testCXXCompiler.cxx.o -o cmTryCompileExec1572489368 -rdynamic | ||
166 | +make[1]: Leaving directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
167 | + | ||
168 | + | ||
169 | +Detecting CXX compiler ABI info compiled with the following output: | ||
170 | +Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp | ||
171 | + | ||
172 | +Run Build Command:"/usr/bin/make" "cmTryCompileExec268785583/fast" | ||
173 | +/usr/bin/make -f CMakeFiles/cmTryCompileExec268785583.dir/build.make CMakeFiles/cmTryCompileExec268785583.dir/build | ||
174 | +make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
175 | +/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1 | ||
176 | +Building CXX object CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o | ||
177 | +/usr/bin/c++ -o CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.0/Modules/CMakeCXXCompilerABI.cpp | ||
178 | +Linking CXX executable cmTryCompileExec268785583 | ||
179 | +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec268785583.dir/link.txt --verbose=1 | ||
180 | +/usr/bin/c++ -v CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec268785583 -rdynamic | ||
181 | +Using built-in specs. | ||
182 | +COLLECT_GCC=/usr/bin/c++ | ||
183 | +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper | ||
184 | +Target: x86_64-linux-gnu | ||
185 | +Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | ||
186 | +Thread model: posix | ||
187 | +gcc version 4.9.2 (Debian 4.9.2-10) | ||
188 | +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/ | ||
189 | +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/ | ||
190 | +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec268785583' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64' | ||
191 | + /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj1cmxK.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec268785583 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o | ||
192 | +make[1]: Leaving directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp' | ||
193 | + | ||
194 | + | ||
195 | +Parsed CXX implicit link information from above output: | ||
196 | + link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] | ||
197 | + ignore line: [Change Dir: /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp] | ||
198 | + ignore line: [] | ||
199 | + ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec268785583/fast"] | ||
200 | + ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec268785583.dir/build.make CMakeFiles/cmTryCompileExec268785583.dir/build] | ||
201 | + ignore line: [make[1]: Entering directory '/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp'] | ||
202 | + ignore line: [/usr/bin/cmake -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/CMakeTmp/CMakeFiles 1] | ||
203 | + ignore line: [Building CXX object CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o] | ||
204 | + ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.0/Modules/CMakeCXXCompilerABI.cpp] | ||
205 | + ignore line: [Linking CXX executable cmTryCompileExec268785583] | ||
206 | + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec268785583.dir/link.txt --verbose=1] | ||
207 | + ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec268785583 -rdynamic ] | ||
208 | + ignore line: [Using built-in specs.] | ||
209 | + ignore line: [COLLECT_GCC=/usr/bin/c++] | ||
210 | + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] | ||
211 | + ignore line: [Target: x86_64-linux-gnu] | ||
212 | + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] | ||
213 | + ignore line: [Thread model: posix] | ||
214 | + ignore line: [gcc version 4.9.2 (Debian 4.9.2-10) ] | ||
215 | + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/] | ||
216 | + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/] | ||
217 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec268785583' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] | ||
218 | + link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj1cmxK.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec268785583 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] | ||
219 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2] ==> ignore | ||
220 | + arg [-plugin] ==> ignore | ||
221 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so] ==> ignore | ||
222 | + arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] ==> ignore | ||
223 | + arg [-plugin-opt=-fresolution=/tmp/ccj1cmxK.res] ==> ignore | ||
224 | + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | ||
225 | + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | ||
226 | + arg [-plugin-opt=-pass-through=-lc] ==> ignore | ||
227 | + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | ||
228 | + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | ||
229 | + arg [--sysroot=/] ==> ignore | ||
230 | + arg [--build-id] ==> ignore | ||
231 | + arg [--eh-frame-hdr] ==> ignore | ||
232 | + arg [-m] ==> ignore | ||
233 | + arg [elf_x86_64] ==> ignore | ||
234 | + arg [--hash-style=gnu] ==> ignore | ||
235 | + arg [-export-dynamic] ==> ignore | ||
236 | + arg [-dynamic-linker] ==> ignore | ||
237 | + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore | ||
238 | + arg [-o] ==> ignore | ||
239 | + arg [cmTryCompileExec268785583] ==> ignore | ||
240 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o] ==> ignore | ||
241 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o] ==> ignore | ||
242 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o] ==> ignore | ||
243 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] | ||
244 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] | ||
245 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] | ||
246 | + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] | ||
247 | + arg [-L/lib/../lib] ==> dir [/lib/../lib] | ||
248 | + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] | ||
249 | + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] | ||
250 | + arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] | ||
251 | + arg [CMakeFiles/cmTryCompileExec268785583.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore | ||
252 | + arg [-lstdc++] ==> lib [stdc++] | ||
253 | + arg [-lm] ==> lib [m] | ||
254 | + arg [-lgcc_s] ==> lib [gcc_s] | ||
255 | + arg [-lgcc] ==> lib [gcc] | ||
256 | + arg [-lc] ==> lib [c] | ||
257 | + arg [-lgcc_s] ==> lib [gcc_s] | ||
258 | + arg [-lgcc] ==> lib [gcc] | ||
259 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o] ==> ignore | ||
260 | + arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] ==> ignore | ||
261 | + remove lib [gcc_s] | ||
262 | + remove lib [gcc] | ||
263 | + remove lib [gcc_s] | ||
264 | + remove lib [gcc] | ||
265 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.9] | ||
266 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] | ||
267 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> [/usr/lib] | ||
268 | + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] | ||
269 | + collapse library dir [/lib/../lib] ==> [/lib] | ||
270 | + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] | ||
271 | + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] | ||
272 | + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> [/usr/lib] | ||
273 | + implicit libs: [stdc++;m;c] | ||
274 | + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] | ||
275 | + implicit fwks: [] | ||
276 | + | ||
277 | + |
build/CMakeFiles/Makefile.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/Makefile.cmake | ||
1 | +# CMAKE generated file: DO NOT EDIT! | ||
2 | +# Generated by "Unix Makefiles" Generator, CMake Version 3.0 | ||
3 | + | ||
4 | +# The generator used is: | ||
5 | +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") | ||
6 | + | ||
7 | +# The top level Makefile was generated from the following files: | ||
8 | +set(CMAKE_MAKEFILE_DEPENDS | ||
9 | + "CMakeCache.txt" | ||
10 | + "../CMakeLists.txt" | ||
11 | + "../CMakeModules/FindLibUSB.cmake" | ||
12 | + "CMakeFiles/3.0.2/CMakeCCompiler.cmake" | ||
13 | + "CMakeFiles/3.0.2/CMakeCXXCompiler.cmake" | ||
14 | + "CMakeFiles/3.0.2/CMakeSystem.cmake" | ||
15 | + "/usr/share/cmake-3.0/Modules/CMakeCCompiler.cmake.in" | ||
16 | + "/usr/share/cmake-3.0/Modules/CMakeCCompilerABI.c" | ||
17 | + "/usr/share/cmake-3.0/Modules/CMakeCInformation.cmake" | ||
18 | + "/usr/share/cmake-3.0/Modules/CMakeCXXCompiler.cmake.in" | ||
19 | + "/usr/share/cmake-3.0/Modules/CMakeCXXCompilerABI.cpp" | ||
20 | + "/usr/share/cmake-3.0/Modules/CMakeCXXInformation.cmake" | ||
21 | + "/usr/share/cmake-3.0/Modules/CMakeCommonLanguageInclude.cmake" | ||
22 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineCCompiler.cmake" | ||
23 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineCXXCompiler.cmake" | ||
24 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineCompiler.cmake" | ||
25 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineCompilerABI.cmake" | ||
26 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineCompilerId.cmake" | ||
27 | + "/usr/share/cmake-3.0/Modules/CMakeDetermineSystem.cmake" | ||
28 | + "/usr/share/cmake-3.0/Modules/CMakeFindBinUtils.cmake" | ||
29 | + "/usr/share/cmake-3.0/Modules/CMakeGenericSystem.cmake" | ||
30 | + "/usr/share/cmake-3.0/Modules/CMakeParseArguments.cmake" | ||
31 | + "/usr/share/cmake-3.0/Modules/CMakeParseImplicitLinkInfo.cmake" | ||
32 | + "/usr/share/cmake-3.0/Modules/CMakeSystem.cmake.in" | ||
33 | + "/usr/share/cmake-3.0/Modules/CMakeSystemSpecificInformation.cmake" | ||
34 | + "/usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake" | ||
35 | + "/usr/share/cmake-3.0/Modules/CMakeTestCXXCompiler.cmake" | ||
36 | + "/usr/share/cmake-3.0/Modules/CMakeTestCompilerCommon.cmake" | ||
37 | + "/usr/share/cmake-3.0/Modules/CMakeUnixFindMake.cmake" | ||
38 | + "/usr/share/cmake-3.0/Modules/Compiler/GNU-C.cmake" | ||
39 | + "/usr/share/cmake-3.0/Modules/Compiler/GNU-CXX.cmake" | ||
40 | + "/usr/share/cmake-3.0/Modules/Compiler/GNU.cmake" | ||
41 | + "/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake" | ||
42 | + "/usr/share/cmake-3.0/Modules/FindPackageMessage.cmake" | ||
43 | + "/usr/share/cmake-3.0/Modules/FindPkgConfig.cmake" | ||
44 | + "/usr/share/cmake-3.0/Modules/Platform/Linux-CXX.cmake" | ||
45 | + "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU-C.cmake" | ||
46 | + "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU-CXX.cmake" | ||
47 | + "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU.cmake" | ||
48 | + "/usr/share/cmake-3.0/Modules/Platform/Linux.cmake" | ||
49 | + "/usr/share/cmake-3.0/Modules/Platform/UnixPaths.cmake" | ||
50 | + ) | ||
51 | + | ||
52 | +# The corresponding makefile is: | ||
53 | +set(CMAKE_MAKEFILE_OUTPUTS | ||
54 | + "Makefile" | ||
55 | + "CMakeFiles/cmake.check_cache" | ||
56 | + ) | ||
57 | + | ||
58 | +# Byproducts of CMake generate step: | ||
59 | +set(CMAKE_MAKEFILE_PRODUCTS | ||
60 | + "CMakeFiles/3.0.2/CMakeSystem.cmake" | ||
61 | + "CMakeFiles/3.0.2/CMakeCCompiler.cmake" | ||
62 | + "CMakeFiles/3.0.2/CMakeCXXCompiler.cmake" | ||
63 | + "CMakeFiles/3.0.2/CMakeCCompiler.cmake" | ||
64 | + "CMakeFiles/3.0.2/CMakeCXXCompiler.cmake" | ||
65 | + "CMakeFiles/CMakeDirectoryInformation.cmake" | ||
66 | + ) | ||
67 | + | ||
68 | +# Dependency information for all targets: | ||
69 | +set(CMAKE_DEPEND_INFO_FILES | ||
70 | + "CMakeFiles/touchpad_disabler.dir/DependInfo.cmake" | ||
71 | + ) |
build/CMakeFiles/Makefile2
0 → 100644
1 | +++ a/build/CMakeFiles/Makefile2 | ||
1 | +# CMAKE generated file: DO NOT EDIT! | ||
2 | +# Generated by "Unix Makefiles" Generator, CMake Version 3.0 | ||
3 | + | ||
4 | +# Default target executed when no arguments are given to make. | ||
5 | +default_target: all | ||
6 | +.PHONY : default_target | ||
7 | + | ||
8 | +# The main recursive all target | ||
9 | +all: | ||
10 | +.PHONY : all | ||
11 | + | ||
12 | +# The main recursive preinstall target | ||
13 | +preinstall: | ||
14 | +.PHONY : preinstall | ||
15 | + | ||
16 | +#============================================================================= | ||
17 | +# Special targets provided by cmake. | ||
18 | + | ||
19 | +# Disable implicit rules so canonical targets will work. | ||
20 | +.SUFFIXES: | ||
21 | + | ||
22 | +# Remove some rules from gmake that .SUFFIXES does not remove. | ||
23 | +SUFFIXES = | ||
24 | + | ||
25 | +.SUFFIXES: .hpux_make_needs_suffix_list | ||
26 | + | ||
27 | +# Suppress display of executed commands. | ||
28 | +$(VERBOSE).SILENT: | ||
29 | + | ||
30 | +# A target that is always out of date. | ||
31 | +cmake_force: | ||
32 | +.PHONY : cmake_force | ||
33 | + | ||
34 | +#============================================================================= | ||
35 | +# Set environment variables for the build. | ||
36 | + | ||
37 | +# The shell in which to execute make rules. | ||
38 | +SHELL = /bin/sh | ||
39 | + | ||
40 | +# The CMake executable. | ||
41 | +CMAKE_COMMAND = /usr/bin/cmake | ||
42 | + | ||
43 | +# The command to remove a file. | ||
44 | +RM = /usr/bin/cmake -E remove -f | ||
45 | + | ||
46 | +# Escaping for special characters. | ||
47 | +EQUALS = = | ||
48 | + | ||
49 | +# The top-level source directory on which CMake was run. | ||
50 | +CMAKE_SOURCE_DIR = /home/imanol/ClionProjects/touchpad_disabler | ||
51 | + | ||
52 | +# The top-level build directory on which CMake was run. | ||
53 | +CMAKE_BINARY_DIR = /home/imanol/ClionProjects/touchpad_disabler/build | ||
54 | + | ||
55 | +#============================================================================= | ||
56 | +# Target rules for target CMakeFiles/touchpad_disabler.dir | ||
57 | + | ||
58 | +# All Build rule for target. | ||
59 | +CMakeFiles/touchpad_disabler.dir/all: | ||
60 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/depend | ||
61 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/build | ||
62 | + $(CMAKE_COMMAND) -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles 1 | ||
63 | + @echo "Built target touchpad_disabler" | ||
64 | +.PHONY : CMakeFiles/touchpad_disabler.dir/all | ||
65 | + | ||
66 | +# Include target in all. | ||
67 | +all: CMakeFiles/touchpad_disabler.dir/all | ||
68 | +.PHONY : all | ||
69 | + | ||
70 | +# Build rule for subdir invocation for target. | ||
71 | +CMakeFiles/touchpad_disabler.dir/rule: cmake_check_build_system | ||
72 | + $(CMAKE_COMMAND) -E cmake_progress_start /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles 1 | ||
73 | + $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/touchpad_disabler.dir/all | ||
74 | + $(CMAKE_COMMAND) -E cmake_progress_start /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles 0 | ||
75 | +.PHONY : CMakeFiles/touchpad_disabler.dir/rule | ||
76 | + | ||
77 | +# Convenience name for target. | ||
78 | +touchpad_disabler: CMakeFiles/touchpad_disabler.dir/rule | ||
79 | +.PHONY : touchpad_disabler | ||
80 | + | ||
81 | +# clean rule for target. | ||
82 | +CMakeFiles/touchpad_disabler.dir/clean: | ||
83 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/clean | ||
84 | +.PHONY : CMakeFiles/touchpad_disabler.dir/clean | ||
85 | + | ||
86 | +# clean rule for target. | ||
87 | +clean: CMakeFiles/touchpad_disabler.dir/clean | ||
88 | +.PHONY : clean | ||
89 | + | ||
90 | +#============================================================================= | ||
91 | +# Special targets to cleanup operation of make. | ||
92 | + | ||
93 | +# Special rule to run CMake to check the build system integrity. | ||
94 | +# No rule that depends on this can have commands that come from listfiles | ||
95 | +# because they might be regenerated. | ||
96 | +cmake_check_build_system: | ||
97 | + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
98 | +.PHONY : cmake_check_build_system | ||
99 | + |
build/CMakeFiles/TargetDirectories.txt
0 → 100644
build/CMakeFiles/cmake.check_cache
0 → 100644
build/CMakeFiles/progress.marks
0 → 100644
build/CMakeFiles/touchpad_disabler.dir/CXX.includecache
0 → 100644
1 | +++ a/build/CMakeFiles/touchpad_disabler.dir/CXX.includecache | ||
1 | +#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">]) | ||
2 | + | ||
3 | +#IncludeRegexScan: ^.*$ | ||
4 | + | ||
5 | +#IncludeRegexComplain: ^$ | ||
6 | + | ||
7 | +#IncludeRegexTransform: | ||
8 | + | ||
9 | +/home/imanol/ClionProjects/touchpad_disabler/main.cpp | ||
10 | +iostream | ||
11 | +- | ||
12 | +libusb-1.0/libusb.h | ||
13 | +- | ||
14 | +iomanip | ||
15 | +- | ||
16 | +cstdlib | ||
17 | +- | ||
18 | + |
build/CMakeFiles/touchpad_disabler.dir/DependInfo.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/touchpad_disabler.dir/DependInfo.cmake | ||
1 | +# The set of languages for which implicit dependencies are needed: | ||
2 | +set(CMAKE_DEPENDS_LANGUAGES | ||
3 | + "CXX" | ||
4 | + ) | ||
5 | +# The set of files for implicit dependencies of each language: | ||
6 | +set(CMAKE_DEPENDS_CHECK_CXX | ||
7 | + "/home/imanol/ClionProjects/touchpad_disabler/main.cpp" "/home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/touchpad_disabler.dir/main.cpp.o" | ||
8 | + ) | ||
9 | +set(CMAKE_CXX_COMPILER_ID "GNU") | ||
10 | + | ||
11 | +# Targets to which this target links. | ||
12 | +set(CMAKE_TARGET_LINKED_INFO_FILES | ||
13 | + ) | ||
14 | + | ||
15 | +# The include file search paths: | ||
16 | +set(CMAKE_C_TARGET_INCLUDE_PATH | ||
17 | + ) | ||
18 | +set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) | ||
19 | +set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) | ||
20 | +set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) |
build/CMakeFiles/touchpad_disabler.dir/build.make
0 → 100644
1 | +++ a/build/CMakeFiles/touchpad_disabler.dir/build.make | ||
1 | +# CMAKE generated file: DO NOT EDIT! | ||
2 | +# Generated by "Unix Makefiles" Generator, CMake Version 3.0 | ||
3 | + | ||
4 | +#============================================================================= | ||
5 | +# Special targets provided by cmake. | ||
6 | + | ||
7 | +# Disable implicit rules so canonical targets will work. | ||
8 | +.SUFFIXES: | ||
9 | + | ||
10 | +# Remove some rules from gmake that .SUFFIXES does not remove. | ||
11 | +SUFFIXES = | ||
12 | + | ||
13 | +.SUFFIXES: .hpux_make_needs_suffix_list | ||
14 | + | ||
15 | +# Suppress display of executed commands. | ||
16 | +$(VERBOSE).SILENT: | ||
17 | + | ||
18 | +# A target that is always out of date. | ||
19 | +cmake_force: | ||
20 | +.PHONY : cmake_force | ||
21 | + | ||
22 | +#============================================================================= | ||
23 | +# Set environment variables for the build. | ||
24 | + | ||
25 | +# The shell in which to execute make rules. | ||
26 | +SHELL = /bin/sh | ||
27 | + | ||
28 | +# The CMake executable. | ||
29 | +CMAKE_COMMAND = /usr/bin/cmake | ||
30 | + | ||
31 | +# The command to remove a file. | ||
32 | +RM = /usr/bin/cmake -E remove -f | ||
33 | + | ||
34 | +# Escaping for special characters. | ||
35 | +EQUALS = = | ||
36 | + | ||
37 | +# The top-level source directory on which CMake was run. | ||
38 | +CMAKE_SOURCE_DIR = /home/imanol/ClionProjects/touchpad_disabler | ||
39 | + | ||
40 | +# The top-level build directory on which CMake was run. | ||
41 | +CMAKE_BINARY_DIR = /home/imanol/ClionProjects/touchpad_disabler/build | ||
42 | + | ||
43 | +# Include any dependencies generated for this target. | ||
44 | +include CMakeFiles/touchpad_disabler.dir/depend.make | ||
45 | + | ||
46 | +# Include the progress variables for this target. | ||
47 | +include CMakeFiles/touchpad_disabler.dir/progress.make | ||
48 | + | ||
49 | +# Include the compile flags for this target's objects. | ||
50 | +include CMakeFiles/touchpad_disabler.dir/flags.make | ||
51 | + | ||
52 | +CMakeFiles/touchpad_disabler.dir/main.cpp.o: CMakeFiles/touchpad_disabler.dir/flags.make | ||
53 | +CMakeFiles/touchpad_disabler.dir/main.cpp.o: ../main.cpp | ||
54 | + $(CMAKE_COMMAND) -E cmake_progress_report /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles $(CMAKE_PROGRESS_1) | ||
55 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/touchpad_disabler.dir/main.cpp.o" | ||
56 | + /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/touchpad_disabler.dir/main.cpp.o -c /home/imanol/ClionProjects/touchpad_disabler/main.cpp | ||
57 | + | ||
58 | +CMakeFiles/touchpad_disabler.dir/main.cpp.i: cmake_force | ||
59 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/touchpad_disabler.dir/main.cpp.i" | ||
60 | + /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/imanol/ClionProjects/touchpad_disabler/main.cpp > CMakeFiles/touchpad_disabler.dir/main.cpp.i | ||
61 | + | ||
62 | +CMakeFiles/touchpad_disabler.dir/main.cpp.s: cmake_force | ||
63 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/touchpad_disabler.dir/main.cpp.s" | ||
64 | + /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/imanol/ClionProjects/touchpad_disabler/main.cpp -o CMakeFiles/touchpad_disabler.dir/main.cpp.s | ||
65 | + | ||
66 | +CMakeFiles/touchpad_disabler.dir/main.cpp.o.requires: | ||
67 | +.PHONY : CMakeFiles/touchpad_disabler.dir/main.cpp.o.requires | ||
68 | + | ||
69 | +CMakeFiles/touchpad_disabler.dir/main.cpp.o.provides: CMakeFiles/touchpad_disabler.dir/main.cpp.o.requires | ||
70 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/main.cpp.o.provides.build | ||
71 | +.PHONY : CMakeFiles/touchpad_disabler.dir/main.cpp.o.provides | ||
72 | + | ||
73 | +CMakeFiles/touchpad_disabler.dir/main.cpp.o.provides.build: CMakeFiles/touchpad_disabler.dir/main.cpp.o | ||
74 | + | ||
75 | +# Object files for target touchpad_disabler | ||
76 | +touchpad_disabler_OBJECTS = \ | ||
77 | +"CMakeFiles/touchpad_disabler.dir/main.cpp.o" | ||
78 | + | ||
79 | +# External object files for target touchpad_disabler | ||
80 | +touchpad_disabler_EXTERNAL_OBJECTS = | ||
81 | + | ||
82 | +touchpad_disabler: CMakeFiles/touchpad_disabler.dir/main.cpp.o | ||
83 | +touchpad_disabler: CMakeFiles/touchpad_disabler.dir/build.make | ||
84 | +touchpad_disabler: CMakeFiles/touchpad_disabler.dir/link.txt | ||
85 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable touchpad_disabler" | ||
86 | + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/touchpad_disabler.dir/link.txt --verbose=$(VERBOSE) | ||
87 | + | ||
88 | +# Rule to build all files generated by this target. | ||
89 | +CMakeFiles/touchpad_disabler.dir/build: touchpad_disabler | ||
90 | +.PHONY : CMakeFiles/touchpad_disabler.dir/build | ||
91 | + | ||
92 | +CMakeFiles/touchpad_disabler.dir/requires: CMakeFiles/touchpad_disabler.dir/main.cpp.o.requires | ||
93 | +.PHONY : CMakeFiles/touchpad_disabler.dir/requires | ||
94 | + | ||
95 | +CMakeFiles/touchpad_disabler.dir/clean: | ||
96 | + $(CMAKE_COMMAND) -P CMakeFiles/touchpad_disabler.dir/cmake_clean.cmake | ||
97 | +.PHONY : CMakeFiles/touchpad_disabler.dir/clean | ||
98 | + | ||
99 | +CMakeFiles/touchpad_disabler.dir/depend: | ||
100 | + cd /home/imanol/ClionProjects/touchpad_disabler/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/imanol/ClionProjects/touchpad_disabler /home/imanol/ClionProjects/touchpad_disabler /home/imanol/ClionProjects/touchpad_disabler/build /home/imanol/ClionProjects/touchpad_disabler/build /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/touchpad_disabler.dir/DependInfo.cmake --color=$(COLOR) | ||
101 | +.PHONY : CMakeFiles/touchpad_disabler.dir/depend | ||
102 | + |
build/CMakeFiles/touchpad_disabler.dir/cmake_clean.cmake
0 → 100644
1 | +++ a/build/CMakeFiles/touchpad_disabler.dir/cmake_clean.cmake | ||
1 | +file(REMOVE_RECURSE | ||
2 | + "CMakeFiles/touchpad_disabler.dir/main.cpp.o" | ||
3 | + "touchpad_disabler.pdb" | ||
4 | + "touchpad_disabler" | ||
5 | +) | ||
6 | + | ||
7 | +# Per-language clean rules from dependency scanning. | ||
8 | +foreach(lang CXX) | ||
9 | + include(CMakeFiles/touchpad_disabler.dir/cmake_clean_${lang}.cmake OPTIONAL) | ||
10 | +endforeach() |
build/CMakeFiles/touchpad_disabler.dir/depend.internal
0 → 100644
build/CMakeFiles/touchpad_disabler.dir/depend.make
0 → 100644
build/CMakeFiles/touchpad_disabler.dir/flags.make
0 → 100644
build/CMakeFiles/touchpad_disabler.dir/link.txt
0 → 100644
build/CMakeFiles/touchpad_disabler.dir/main.cpp.o
0 → 100644
No preview for this file type
build/CMakeFiles/touchpad_disabler.dir/progress.make
0 → 100644
build/Makefile
0 → 100644
1 | +++ a/build/Makefile | ||
1 | +# CMAKE generated file: DO NOT EDIT! | ||
2 | +# Generated by "Unix Makefiles" Generator, CMake Version 3.0 | ||
3 | + | ||
4 | +# Default target executed when no arguments are given to make. | ||
5 | +default_target: all | ||
6 | +.PHONY : default_target | ||
7 | + | ||
8 | +# Allow only one "make -f Makefile2" at a time, but pass parallelism. | ||
9 | +.NOTPARALLEL: | ||
10 | +.PHONY : .NOTPARALLEL | ||
11 | + | ||
12 | +#============================================================================= | ||
13 | +# Special targets provided by cmake. | ||
14 | + | ||
15 | +# Disable implicit rules so canonical targets will work. | ||
16 | +.SUFFIXES: | ||
17 | + | ||
18 | +# Remove some rules from gmake that .SUFFIXES does not remove. | ||
19 | +SUFFIXES = | ||
20 | + | ||
21 | +.SUFFIXES: .hpux_make_needs_suffix_list | ||
22 | + | ||
23 | +# Suppress display of executed commands. | ||
24 | +$(VERBOSE).SILENT: | ||
25 | + | ||
26 | +# A target that is always out of date. | ||
27 | +cmake_force: | ||
28 | +.PHONY : cmake_force | ||
29 | + | ||
30 | +#============================================================================= | ||
31 | +# Set environment variables for the build. | ||
32 | + | ||
33 | +# The shell in which to execute make rules. | ||
34 | +SHELL = /bin/sh | ||
35 | + | ||
36 | +# The CMake executable. | ||
37 | +CMAKE_COMMAND = /usr/bin/cmake | ||
38 | + | ||
39 | +# The command to remove a file. | ||
40 | +RM = /usr/bin/cmake -E remove -f | ||
41 | + | ||
42 | +# Escaping for special characters. | ||
43 | +EQUALS = = | ||
44 | + | ||
45 | +# The top-level source directory on which CMake was run. | ||
46 | +CMAKE_SOURCE_DIR = /home/imanol/ClionProjects/touchpad_disabler | ||
47 | + | ||
48 | +# The top-level build directory on which CMake was run. | ||
49 | +CMAKE_BINARY_DIR = /home/imanol/ClionProjects/touchpad_disabler/build | ||
50 | + | ||
51 | +#============================================================================= | ||
52 | +# Targets provided globally by CMake. | ||
53 | + | ||
54 | +# Special rule for the target edit_cache | ||
55 | +edit_cache: | ||
56 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." | ||
57 | + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. | ||
58 | +.PHONY : edit_cache | ||
59 | + | ||
60 | +# Special rule for the target edit_cache | ||
61 | +edit_cache/fast: edit_cache | ||
62 | +.PHONY : edit_cache/fast | ||
63 | + | ||
64 | +# Special rule for the target install | ||
65 | +install: preinstall | ||
66 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." | ||
67 | + /usr/bin/cmake -P cmake_install.cmake | ||
68 | +.PHONY : install | ||
69 | + | ||
70 | +# Special rule for the target install | ||
71 | +install/fast: preinstall/fast | ||
72 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." | ||
73 | + /usr/bin/cmake -P cmake_install.cmake | ||
74 | +.PHONY : install/fast | ||
75 | + | ||
76 | +# Special rule for the target install/local | ||
77 | +install/local: preinstall | ||
78 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." | ||
79 | + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake | ||
80 | +.PHONY : install/local | ||
81 | + | ||
82 | +# Special rule for the target install/local | ||
83 | +install/local/fast: install/local | ||
84 | +.PHONY : install/local/fast | ||
85 | + | ||
86 | +# Special rule for the target install/strip | ||
87 | +install/strip: preinstall | ||
88 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." | ||
89 | + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake | ||
90 | +.PHONY : install/strip | ||
91 | + | ||
92 | +# Special rule for the target install/strip | ||
93 | +install/strip/fast: install/strip | ||
94 | +.PHONY : install/strip/fast | ||
95 | + | ||
96 | +# Special rule for the target list_install_components | ||
97 | +list_install_components: | ||
98 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" | ||
99 | +.PHONY : list_install_components | ||
100 | + | ||
101 | +# Special rule for the target list_install_components | ||
102 | +list_install_components/fast: list_install_components | ||
103 | +.PHONY : list_install_components/fast | ||
104 | + | ||
105 | +# Special rule for the target rebuild_cache | ||
106 | +rebuild_cache: | ||
107 | + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." | ||
108 | + /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
109 | +.PHONY : rebuild_cache | ||
110 | + | ||
111 | +# Special rule for the target rebuild_cache | ||
112 | +rebuild_cache/fast: rebuild_cache | ||
113 | +.PHONY : rebuild_cache/fast | ||
114 | + | ||
115 | +# The main all target | ||
116 | +all: cmake_check_build_system | ||
117 | + $(CMAKE_COMMAND) -E cmake_progress_start /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles/progress.marks | ||
118 | + $(MAKE) -f CMakeFiles/Makefile2 all | ||
119 | + $(CMAKE_COMMAND) -E cmake_progress_start /home/imanol/ClionProjects/touchpad_disabler/build/CMakeFiles 0 | ||
120 | +.PHONY : all | ||
121 | + | ||
122 | +# The main clean target | ||
123 | +clean: | ||
124 | + $(MAKE) -f CMakeFiles/Makefile2 clean | ||
125 | +.PHONY : clean | ||
126 | + | ||
127 | +# The main clean target | ||
128 | +clean/fast: clean | ||
129 | +.PHONY : clean/fast | ||
130 | + | ||
131 | +# Prepare targets for installation. | ||
132 | +preinstall: all | ||
133 | + $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
134 | +.PHONY : preinstall | ||
135 | + | ||
136 | +# Prepare targets for installation. | ||
137 | +preinstall/fast: | ||
138 | + $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
139 | +.PHONY : preinstall/fast | ||
140 | + | ||
141 | +# clear depends | ||
142 | +depend: | ||
143 | + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | ||
144 | +.PHONY : depend | ||
145 | + | ||
146 | +#============================================================================= | ||
147 | +# Target rules for targets named touchpad_disabler | ||
148 | + | ||
149 | +# Build rule for target. | ||
150 | +touchpad_disabler: cmake_check_build_system | ||
151 | + $(MAKE) -f CMakeFiles/Makefile2 touchpad_disabler | ||
152 | +.PHONY : touchpad_disabler | ||
153 | + | ||
154 | +# fast build rule for target. | ||
155 | +touchpad_disabler/fast: | ||
156 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/build | ||
157 | +.PHONY : touchpad_disabler/fast | ||
158 | + | ||
159 | +main.o: main.cpp.o | ||
160 | +.PHONY : main.o | ||
161 | + | ||
162 | +# target to build an object file | ||
163 | +main.cpp.o: | ||
164 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/main.cpp.o | ||
165 | +.PHONY : main.cpp.o | ||
166 | + | ||
167 | +main.i: main.cpp.i | ||
168 | +.PHONY : main.i | ||
169 | + | ||
170 | +# target to preprocess a source file | ||
171 | +main.cpp.i: | ||
172 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/main.cpp.i | ||
173 | +.PHONY : main.cpp.i | ||
174 | + | ||
175 | +main.s: main.cpp.s | ||
176 | +.PHONY : main.s | ||
177 | + | ||
178 | +# target to generate assembly for a file | ||
179 | +main.cpp.s: | ||
180 | + $(MAKE) -f CMakeFiles/touchpad_disabler.dir/build.make CMakeFiles/touchpad_disabler.dir/main.cpp.s | ||
181 | +.PHONY : main.cpp.s | ||
182 | + | ||
183 | +# Help Target | ||
184 | +help: | ||
185 | + @echo "The following are some of the valid targets for this Makefile:" | ||
186 | + @echo "... all (the default if no target is provided)" | ||
187 | + @echo "... clean" | ||
188 | + @echo "... depend" | ||
189 | + @echo "... edit_cache" | ||
190 | + @echo "... install" | ||
191 | + @echo "... install/local" | ||
192 | + @echo "... install/strip" | ||
193 | + @echo "... list_install_components" | ||
194 | + @echo "... rebuild_cache" | ||
195 | + @echo "... touchpad_disabler" | ||
196 | + @echo "... main.o" | ||
197 | + @echo "... main.i" | ||
198 | + @echo "... main.s" | ||
199 | +.PHONY : help | ||
200 | + | ||
201 | + | ||
202 | + | ||
203 | +#============================================================================= | ||
204 | +# Special targets to cleanup operation of make. | ||
205 | + | ||
206 | +# Special rule to run CMake to check the build system integrity. | ||
207 | +# No rule that depends on this can have commands that come from listfiles | ||
208 | +# because they might be regenerated. | ||
209 | +cmake_check_build_system: | ||
210 | + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
211 | +.PHONY : cmake_check_build_system | ||
212 | + |
build/cmake_install.cmake
0 → 100644
1 | +++ a/build/cmake_install.cmake | ||
1 | +# Install script for directory: /home/imanol/ClionProjects/touchpad_disabler | ||
2 | + | ||
3 | +# Set the install prefix | ||
4 | +if(NOT DEFINED CMAKE_INSTALL_PREFIX) | ||
5 | + set(CMAKE_INSTALL_PREFIX "/usr/local") | ||
6 | +endif() | ||
7 | +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") | ||
8 | + | ||
9 | +# Set the install configuration name. | ||
10 | +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) | ||
11 | + if(BUILD_TYPE) | ||
12 | + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" | ||
13 | + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") | ||
14 | + else() | ||
15 | + set(CMAKE_INSTALL_CONFIG_NAME "") | ||
16 | + endif() | ||
17 | + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") | ||
18 | +endif() | ||
19 | + | ||
20 | +# Set the component getting installed. | ||
21 | +if(NOT CMAKE_INSTALL_COMPONENT) | ||
22 | + if(COMPONENT) | ||
23 | + message(STATUS "Install component: \"${COMPONENT}\"") | ||
24 | + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") | ||
25 | + else() | ||
26 | + set(CMAKE_INSTALL_COMPONENT) | ||
27 | + endif() | ||
28 | +endif() | ||
29 | + | ||
30 | +# Install shared libraries without execute permission? | ||
31 | +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) | ||
32 | + set(CMAKE_INSTALL_SO_NO_EXE "1") | ||
33 | +endif() | ||
34 | + | ||
35 | +if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") | ||
36 | + if(EXISTS "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler" AND | ||
37 | + NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler") | ||
38 | + file(RPATH_CHECK | ||
39 | + FILE "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler" | ||
40 | + RPATH "") | ||
41 | + endif() | ||
42 | + list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES | ||
43 | + "/usr/local/bin/touchpad_disabler") | ||
44 | + if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION) | ||
45 | + message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}") | ||
46 | + endif() | ||
47 | + if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION) | ||
48 | + message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}") | ||
49 | + endif() | ||
50 | +file(INSTALL DESTINATION "/usr/local/bin" TYPE EXECUTABLE FILES "/home/imanol/ClionProjects/touchpad_disabler/build/touchpad_disabler") | ||
51 | + if(EXISTS "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler" AND | ||
52 | + NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler") | ||
53 | + if(CMAKE_INSTALL_DO_STRIP) | ||
54 | + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/bin/touchpad_disabler") | ||
55 | + endif() | ||
56 | + endif() | ||
57 | +endif() | ||
58 | + | ||
59 | +if(CMAKE_INSTALL_COMPONENT) | ||
60 | + set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") | ||
61 | +else() | ||
62 | + set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") | ||
63 | +endif() | ||
64 | + | ||
65 | +file(WRITE "/home/imanol/ClionProjects/touchpad_disabler/build/${CMAKE_INSTALL_MANIFEST}" "") | ||
66 | +foreach(file ${CMAKE_INSTALL_MANIFEST_FILES}) | ||
67 | + file(APPEND "/home/imanol/ClionProjects/touchpad_disabler/build/${CMAKE_INSTALL_MANIFEST}" "${file}\n") | ||
68 | +endforeach() |
build/install_manifest.txt
0 → 100644
build/touchpad_disabler
0 → 100755
No preview for this file type
main.cpp
0 → 100644
1 | +++ a/main.cpp | ||
1 | +#include <iostream> | ||
2 | +#include <libusb-1.0/libusb.h> | ||
3 | +#include <iomanip> | ||
4 | +#include <cstdlib> | ||
5 | + | ||
6 | +#define MOUSE_PROTOCOL 2 | ||
7 | + | ||
8 | +using namespace std; | ||
9 | + | ||
10 | +void disable_touchpad() | ||
11 | +{ | ||
12 | + if(system("which synclient &> /dev/null") == 0) | ||
13 | + { | ||
14 | + system("synclient TouchpadOff=1 &> /dev/null"); | ||
15 | + } | ||
16 | + else | ||
17 | + { | ||
18 | + cout << "Synaptics touchpad not detected or Xorg synaptics driver not installed" << endl; | ||
19 | + } | ||
20 | +} | ||
21 | + | ||
22 | + | ||
23 | +void enable_touchpad() | ||
24 | +{ | ||
25 | + if(system("which synclient") == 0) | ||
26 | + { | ||
27 | + system("synclient TouchpadOff=0"); | ||
28 | + } | ||
29 | + else | ||
30 | + { | ||
31 | + cout << "Synaptics touchpad not detected or Xorg synaptics driver not installed" << endl; | ||
32 | + } | ||
33 | +} | ||
34 | + | ||
35 | +int main() | ||
36 | +{ | ||
37 | + libusb_context *ctx = NULL; | ||
38 | + libusb_device **devs; | ||
39 | + ssize_t cnt; | ||
40 | + int r = libusb_init(&ctx); | ||
41 | + if(r < 0) | ||
42 | + { | ||
43 | + cout << "Init Error " << r << endl; | ||
44 | + return 1; | ||
45 | + } | ||
46 | + libusb_set_debug(ctx, 3); | ||
47 | + cnt = libusb_get_device_list(ctx, &devs); | ||
48 | + for(int i = 0; i < cnt; i++) | ||
49 | + { | ||
50 | + ios state(NULL); | ||
51 | + state.copyfmt(cout); | ||
52 | + libusb_device_descriptor desc; | ||
53 | + r = libusb_get_device_descriptor(devs[i], &desc); | ||
54 | + if(r < 0) | ||
55 | + { | ||
56 | + cout << "failed to get device descriptor" << endl; | ||
57 | + continue; | ||
58 | + } | ||
59 | + cout << "Scanning "; | ||
60 | + cout << setfill('0') << setw(4) << hex << desc.idVendor; | ||
61 | + cout << ":"; | ||
62 | + cout << setfill('0') << setw(4) << hex << desc.idProduct; | ||
63 | + cout << "..."; | ||
64 | + cout.copyfmt(state); | ||
65 | + libusb_config_descriptor *config; | ||
66 | + libusb_get_config_descriptor(devs[i], 0, &config); | ||
67 | + const libusb_interface *inter; | ||
68 | + const libusb_interface_descriptor *interdesc; | ||
69 | + for(int j = 0; j < (int)config->bNumInterfaces; j++) | ||
70 | + { | ||
71 | + inter = &config->interface[j]; | ||
72 | + for(int k = 0; k < inter->num_altsetting; k++) | ||
73 | + { | ||
74 | + interdesc = &inter->altsetting[k]; | ||
75 | + uint8_t protocol = interdesc->bInterfaceProtocol; | ||
76 | + if(protocol == MOUSE_PROTOCOL) | ||
77 | + { | ||
78 | + cout << " Mouse detected! Disabling touchpad..." << endl; | ||
79 | + disable_touchpad(); | ||
80 | + goto finish; | ||
81 | + } | ||
82 | + } | ||
83 | + } | ||
84 | + libusb_free_config_descriptor(config); | ||
85 | + cout << endl; | ||
86 | + } | ||
87 | + cout << "No mouse detected. Enabling touchpad..." << endl; | ||
88 | + enable_touchpad(); | ||
89 | + finish: | ||
90 | + libusb_free_device_list(devs, 1); | ||
91 | + libusb_exit(ctx); | ||
92 | + return 0; | ||
93 | +} | ||
0 | \ No newline at end of file | 94 | \ No newline at end of file |