Ticket #72 (assigned enhancement)

Opened 10 months ago

Last modified 2 months ago

Building libyaml with CMake

Reported by: clive.crous@gmail.com Assigned to: xi (accepted)
Priority: low Component: libyaml
Severity: minor Keywords:
Cc:

Description

I have created a cmake "meta-build" file for creating project files for building libyaml.

I have tested the attached cmake file with:

  • Visual Studio 7
  • MinGW Makefiles

It should work fine with Unix Makefiles, KDevelop etc as well (I will test when I get back home in front of a linux box and add a comment here with the results).

I've uploaded the CMakeLists file to my mini-libyaml branch for the purpose of getting this working.

-- Clive Crous

Attachments

CMakeLists.txt (1.2 kB) - added by clive.crous@gmail.com on 07/07/08 07:07:38.
CMakeLists.txt for building libyaml with cmake

Change History

12/03/07 08:12:38 changed by clive.crous@gmail.com

  • priority changed from normal to low.
  • component changed from pyyaml to libyaml.
  • severity changed from normal to minor.

Oops accidentally chose the wrong component.

01/28/08 13:48:54 changed by clive.crous@gmail.com

More than 2 months have past since I posted this :(

Anyone alive?

07/07/08 07:07:38 changed by clive.crous@gmail.com

  • attachment CMakeLists.txt added.

CMakeLists.txt for building libyaml with cmake

07/07/08 07:07:49 changed by clive.crous@gmail.com

My server that I linked to above no longer exists so I've attached the CMake files here.

07/29/08 16:58:16 changed by xi

  • status changed from new to assigned.

Thanks for contribution, Clive. I'll try to incorporate it to the next release of libyaml.

07/31/08 05:00:21 changed by anonymous

Confirmed build with cmake and MinGW under WinXP, but only when I unchecked BUILD_SHARED_LIBS in the cmake GUI.

With the BUILD_SHARED_LIBS checked, cmake will generate a makefile, but gcc fails miserably with a internal compiler error.

Also, when I attempted to build the example (w/ libyaml.a), there are still undefined reference to, for example, _impyaml_parser_initialize, among others.


Add/Change #72 (Building libyaml with CMake)




Change Properties
Action