×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Lightbulb SCons for Symbian - So long .MMP

    I have been working with SCons build toolchain to get rid of .mmp files and bring more advanced building system for Symbian development.

    Check it out from: http://code.google.com/p/scons-for-symbian/

    This is still a work-in-progress so things may still change.

    Example MMP replacement:

    Code:
    #!/usr/env/bin python
    #File: SConstruct
    import os
    import glob
    
    from scons_symbian import *
    
    COMMON_DEFINES = [ 
        #"__DEBUG_LOGGING__" 
    ]
    
    def IPCPyd():
        "Build IPC module"
        # Use all .cpp files in the current directory.
        sources  = glob.glob( "*.cpp" )
        inc      = [ r"\epoc32\include\libc",
                     r"\epoc32\include\python",
                     r"."
                   ]
        libs = ["python222", "euser"]
        return SymbianProgram( '_ipc', TARGETTYPE_PYD,
                                sources, inc, libs,
                                capabilities = FREE_CAPS,
                                defines      = COMMON_DEFINES )
    
    IPCPyd()
    Feedback appreciated. Especially from SCons gurus.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: SCons for Symbian - So long .MMP

    Nice one, looks like i am going to use regularly. my MMPs too long .

Similar Threads

  1. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  2. Sending long message
    By njoandy1 in forum Smart Messaging
    Replies: 2
    Last Post: 2005-02-06, 09:38
  3. 关于Float的问题,急死了,各位帮忙一下,谢谢!
    By show_up in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 4
    Last Post: 2004-08-17, 08:57
  4. PC Connectity with VB6
    By mkintanar in forum PC Suite API and PC Connectivity SDK
    Replies: 5
    Last Post: 2003-09-24, 04:18
  5. GCC - file or path name too long
    By mharries in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-07-28, 10:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×