| extutils :: depens. ½±°Ô XS È®ÀåÀ» »ý¼º ÇÒ Perl ¸ðµâ |
Áö±Ý ´Ù¿î·Îµå |
extutils :: depens. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- gtk2-perl team
extutils :: depens. ű×
extutils :: depens. ¼³¸í
extutils :: depends´Â °³¹ßÀÚ°¡ ´Ù¸¥ XS È®Àå¿¡ ÀÇÁ¸ÇÏ´Â XS È®ÀåÀ» ½±°Ô ºôµåÇÏ´Â µ¥ µµ¿òÀ̵Ǵ GTK2-Perl ÇÁ·ÎÁ§Æ®ÀÇ ÀϺÎÀÎ ¿ÀÇ ¼Ò½º Perl ¸ðµâÀÔ´Ï´Ù. ½Ã³ñ½Ã½º Extutils :: ÀÇÁ¸; $ package = new extutils ::´Â ( 'pkg :: name', 'base :: package')) # ¸ðµâÀ» ÄÄÆÄÀÏÇÏ°í ¸µÅ© ÇÒ Ç÷¡±×¿Í ¶óÀ̺귯¸®¸¦ ¼³Á¤ÇϽʽÿÀ. $ package-> set_inc ( "- i / opt / blahblah"); $ package-> set_lib ( "- lmylib"); # .c¸¦ Ãß°¡ÇÏ°í ÄÄÆÄÀÏ ÇÒ .xs ÆÄÀÏÀ» Ãß°¡ÇÕ´Ï´Ù. $ ÆÐÅ°Áö -> add_c ( 'code.c'); $ ÆÐÅ°Áö -> add_xs ( 'module-code.xs'); # »ç¿ëÇÒ °£ÆÇÀ» Ãß°¡ÇϽʽÿÀ $ package-> add_typemaps ( "typemap"); # ¾ÈÀü Á¤º¸¸¦ ¾ÈÀüÇÏ°ÔÇϽʽÿÀ $ ÆÐÅ°Áö -> save_config ( 'files.pm'); WriteMakeFile ( 'À̸§'=> 'myModule', $ package-> get_makefile_vars () ); Á¦Ç° ȨÆäÀÌÁö
extutils :: depens. °ü·Ã ¼ÒÇÁÆ®¿þ¾î