LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-18-2010, 02:00 AM   #1
baudolino
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
Tool to convert configure.ac into CMake


Hello.
Is there any tool to translate rules from configure.ac into Cmake rules? I've searched in vain so far.
Thank you.
 
Old 02-18-2010, 09:49 AM   #2
a4z
Member
 
Registered: Feb 2009
Posts: 349

Rep: Reputation: 131Reputation: 131
I don't know if these tools are working, but here is the link
http://www.itk.org/Wiki/CMake#automa...ols.2Fautoconf
 
Old 02-18-2010, 09:55 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
No, I don't think so. The whole idea about Cmake is something like
avoiding what autotools do: namely using the "AC_MACRO's" and libtool.

If you find a word / a line or two, which can be used in
"CMakeLists.txt", may be just copy / paste it from configure.ac ?

Google .. cmake tutorial ..
http://www.google.com/webhp#hl=en&q=...6d6ecff0e0c4ee

http://puntoblogspot.blogspot.com/20...rst-steps.html
.....


Google .. auto generate Cmakelist ..
http://www.cmake.org/pipermail/cmake...ry/020114.html

http://209.85.229.132/search?q=cache...&hl=en&ct=clnk

http://old.nabble.com/Generate-CMake...d22981191.html

etc. etc.
.....
 
Old 02-18-2010, 10:30 AM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
Converting the checks in a configure.ac to the equivalent checks in a CMakeLists.txt is a manual process. You've got to go through each check, figure out what it's trying to determine on the system, and use one or more of the functions from the Check* modules.
 
  


Reply

Tags
cmake, configure, make


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to convert gif to avi bloodiestmarry Linux - Software 4 06-18-2009 02:22 PM
suggest tool to convert one media type to another? nephish Linux - Desktop 3 11-15-2008 03:08 AM
convert command line picture tool benchcomptons Debian 1 07-29-2007 12:14 AM
Help!:ImageMagik convert tool very very slow James_dean Linux - Software 2 10-13-2005 11:09 PM
some tool to convert C code to x86 rmanocha Programming 7 03-26-2005 01:11 PM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration