add-cmake.diff
changeset 89 ce4c4447dbd4
parent 88 0a87df8ad9c1
child 91 51d326d5cb92
equal deleted inserted replaced
88:0a87df8ad9c1 89:ce4c4447dbd4
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent 386f3b8646a61ba6af61609ff67f2da2cc70251e
     2 # Parent 386f3b8646a61ba6af61609ff67f2da2cc70251e
     3 # Parent  7b70f47597432fc0b87d5a9b2a444f8c9ed97273
     3 # Parent  1fc7abfb98a95efb5e16cf412ec11182baa6f5bd
     4 Add possibility to build with CMake
     4 Add possibility to build with CMake
     5 
     5 
     6 diff --git a/.hgignore b/.hgignore
     6 diff --git a/.hgignore b/.hgignore
     7 --- a/.hgignore
     7 --- a/.hgignore
     8 +++ b/.hgignore
     8 +++ b/.hgignore
    33 +# You should have received a copy of the GNU General Public License
    33 +# You should have received a copy of the GNU General Public License
    34 +# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    34 +# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    35 +
    35 +
    36 +cmake_minimum_required ( VERSION 2.6 )
    36 +cmake_minimum_required ( VERSION 2.6 )
    37 +project ( mcabber C )
    37 +project ( mcabber C )
    38 +set ( PROJECT_VERSION "0.10.2-dev" )
    38 +set ( PROJECT_VERSION "1.0.1-dev" )
    39 +
    39 +
    40 +## User settable options
    40 +## User settable options
    41 +option ( ENABLE_DEBUG    "Enable debugging output"                       OFF ) # XXX is it really used?
    41 +option ( ENABLE_DEBUG    "Enable debugging output"                       OFF ) # XXX is it really used?
    42 +option ( USE_SIGWINCH    "Compile with SIGWINCH handler"                 OFF )
    42 +option ( USE_SIGWINCH    "Compile with SIGWINCH handler"                 OFF )
    43 +option ( MODULES_ENABLE  "Enable dynamic module loading"                 ON  )
    43 +option ( MODULES_ENABLE  "Enable dynamic module loading"                 ON  )