コード例 #1
0
def main():
    parser = argparse_create()
    args = parser.parse_args()
    name = args.name

    import project_info
    if not project_info.init(args.build_dir):
        return

    create_qtc_project_main(name)
    create_qtc_project_python(name)
コード例 #2
0
#
# ***** END GPL LICENSE BLOCK *****

# <pep8 compliant>
"""
Example linux usage
 python3 ~/blender-git/blender/build_files/cmake/cmake_netbeans_project.py ~/blender-git/cmake

Windows not supported so far
"""

import sys

# until we have arg parsing
import project_info
if not project_info.init(sys.argv[-1]):
    sys.exit(1)

from project_info import (
    SIMPLE_PROJECTFILE,
    SOURCE_DIR,
    CMAKE_DIR,
    PROJECT_DIR,
    source_list,
    is_project_file,
    is_c_header,
    # is_py,
    cmake_advanced_info,
    cmake_compiler_defines,
    cmake_cache_var,
    project_name_get,
コード例 #3
0
# ***** END GPL LICENSE BLOCK *****

# <pep8 compliant>

"""
Example linux usage
 python3 ~/blender-git/blender/build_files/cmake/cmake_netbeans_project.py ~/blender-git/cmake

Windows not supported so far
"""

import sys

# until we have arg parsing
import project_info
if not project_info.init(sys.argv[-1]):
    sys.exit(1)

from project_info import (
    SIMPLE_PROJECTFILE,
    SOURCE_DIR,
    CMAKE_DIR,
    PROJECT_DIR,
    source_list,
    is_project_file,
    is_c_header,
    # is_py,
    cmake_advanced_info,
    cmake_compiler_defines,
    cmake_cache_var,
    project_name_get,