./nim.cfg
    #--gc="refc"\--debugger:"native"|   
---|---  
./src/posteppkg/common/nim.cfg
    \--cincludes="../../c-files/common"|   
---|---  
\--clibdir="../../c-files/common"|   
\--app="lib"|   
\--out="./libcommon.so"|   
\--noMain:on|   
\--undef=useNimRtl|   
  
./postep.nimble 
    
    
    Package
        version       = "0.0.1"
        author        = "Sławomir Lach"
        description   = "Nimble version of postęp - game based on Freeciv"
        license       = "GPL-2.0"
        srcDir        = "src"
        installExt    = @["nim"]
        bin           = @["posteppkg/common/libcommon.so", 
"executables/client/progressclient", "executables/server/progressserver"]
       # Dependencies
       requires "nim >= 1.0.0"
    
    
    Run

In ./ I type nimble build .

I thnik I must add dependency. I don't remember what install ext is. 

Reply via email to