<span id="result_box" class="" lang="en"><span style="" title="">Here is my CMakeLists.txt file, and when I use the "make" and "make install" command, I can successfully install all files into the file system. </span><span style="" title=""><br>
However, when I use the "make package" command, there is no any file be packaged in "deb package", I would like to ask why, thanks a lot.<br><br></span></span><pre class="textmate-source"><pre class="sunburst">
<span id="result_box" class="" lang="en"><span style="" title="">CMakeLists.txt:<br><br></span></span>cmake_minimum_required(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">VERSION</span> <span class="constant constant_numeric constant_numeric_ruby">2.6</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">PROJECT</span> (<span class="variable variable_other variable_other_constant variable_other_constant_ruby">MY_PROJECT</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span> (<span class="variable variable_other variable_other_constant variable_other_constant_ruby">MY_PROJECT_SRCS</span> main.c callback.c interface.c)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">EXECUTABLE_OUTPUT_PATH</span> <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>usr<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>bin)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">INSTALL</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">FILES</span> my_project.glade <span class="variable variable_other variable_other_constant variable_other_constant_ruby">DESTINATION</span> <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>usr<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>share<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>my_project)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">INSTALL</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">FILES</span> my_project.png <span class="variable variable_other variable_other_constant variable_other_constant_ruby">DESTINATION</span> <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>usr<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>share<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>my_project)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">INSTALL</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">FILES</span> my_project.desktop <span class="variable variable_other variable_other_constant variable_other_constant_ruby">DESTINATION</span> <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>usr<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>share<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>applications)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">ADD_EXECUTABLE</span> (my_project ${<span class="variable variable_other variable_other_constant variable_other_constant_ruby">MY_PROJECT_SRCS</span>})
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">INCLUDE</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">UsePkgConfig</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">FIND_PACKAGE</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">PKGCONFIG</span>(gtk<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">+</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="constant constant_numeric constant_numeric_ruby">2.0</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_INCLUDE_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_LINK_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_LINK_FLAGS</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_CFLAGS</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">PKGCONFIG</span>(libglade<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="constant constant_numeric constant_numeric_ruby">2.0</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_INCLUDE_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_LINK_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_LINK_FLAGS</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_CFLAGS</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">PKGCONFIG</span>(gthread<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="constant constant_numeric constant_numeric_ruby">2.0</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTHREAD_INCLUDE_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTHREAD_LINK_DIR</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTHREAD_LINK_FLAGS</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">+</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTHREAD_CFLAGS</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">IF</span> (<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_INCLUDE_DIR</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CMAKE_C_FLAGS</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"${GTK2_CFLAGS} "</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">STRING</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">REGEX</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">REPLACE</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"-l"</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">""</span> <span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK_LIBRARIES</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"${GTK2_LINK_FLAGS} "</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SEPARATE_ARGUMENTS</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK_LIBRARIES</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">ADD_DEFINITIONS</span>(<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="variable variable_other variable_other_constant variable_other_constant_ruby">DHAVE_GTK2</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">ELSE</span> (<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_INCLUDE_DIR</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">MESSAGE</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">FATAL_ERROR</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"GTK or GTK2 is required to build this project."</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">ENDIF</span> (<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_INCLUDE_DIR</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">TARGET_LINK_LIBRARIES</span>(deva ${<span class="variable variable_other variable_other_constant variable_other_constant_ruby">GTK2_LINK_FLAGS</span>})
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CPACK_DEBIAN_PACKAGE_MAINTAINER</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"<a href="mailto:my_project@gmail.com">my_project@gmail.com</a>"</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CPACK_CMAKE_GENERATOR</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"Unix Makefiles"</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CPACK_PACKAGE_VERSION_MAJOR</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"0.01"</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">SET</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CPACK_GENERATOR</span> <span class="string string_quoted string_quoted_double string_quoted_double_ruby">"TGZ;DEB"</span>)
<span class="variable variable_other variable_other_constant variable_other_constant_ruby">INCLUDE</span>(<span class="variable variable_other variable_other_constant variable_other_constant_ruby">CPack</span>)
</pre></pre><br>