Compile out a working exe!
This commit is contained in:
		
					parent
					
						
							
								d473fcbf64
							
						
					
				
			
			
				commit
				
					
						7c44d1fa3e
					
				
			
		
					 3 changed files with 74 additions and 13 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								app/win/atom.rc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/win/atom.rc
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										14
									
								
								app/win/resource.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								app/win/resource.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					//{{NO_DEPENDENCIES}}
 | 
				
			||||||
 | 
					// Microsoft Visual C++ generated include file.
 | 
				
			||||||
 | 
					// Used by brightray_example.rc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Next default values for new objects
 | 
				
			||||||
 | 
					// 
 | 
				
			||||||
 | 
					#ifdef APSTUDIO_INVOKED
 | 
				
			||||||
 | 
					#ifndef APSTUDIO_READONLY_SYMBOLS
 | 
				
			||||||
 | 
					#define _APS_NEXT_RESOURCE_VALUE        101
 | 
				
			||||||
 | 
					#define _APS_NEXT_COMMAND_VALUE         40001
 | 
				
			||||||
 | 
					#define _APS_NEXT_CONTROL_VALUE         1001
 | 
				
			||||||
 | 
					#define _APS_NEXT_SYMED_VALUE           101
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
							
								
								
									
										57
									
								
								atom.gyp
									
										
									
									
									
								
							
							
						
						
									
										57
									
								
								atom.gyp
									
										
									
									
									
								
							| 
						 | 
					@ -4,7 +4,6 @@
 | 
				
			||||||
    'product_name': 'Atom',
 | 
					    'product_name': 'Atom',
 | 
				
			||||||
    'app_sources': [
 | 
					    'app_sources': [
 | 
				
			||||||
      'app/atom_main.cc',
 | 
					      'app/atom_main.cc',
 | 
				
			||||||
      '<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',
 | 
					 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    'bundle_sources': [
 | 
					    'bundle_sources': [
 | 
				
			||||||
      'browser/mac/atom.icns',
 | 
					      'browser/mac/atom.icns',
 | 
				
			||||||
| 
						 | 
					@ -155,6 +154,15 @@
 | 
				
			||||||
      'app/atom_library_main.cc',
 | 
					      'app/atom_library_main.cc',
 | 
				
			||||||
      'app/atom_library_main.h',
 | 
					      'app/atom_library_main.h',
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
 | 
					    'conditions': [
 | 
				
			||||||
 | 
					      ['OS=="win"', {
 | 
				
			||||||
 | 
					        'app_sources': [
 | 
				
			||||||
 | 
					          'app/win/resource.h',
 | 
				
			||||||
 | 
					          'app/win/atom.rc',
 | 
				
			||||||
 | 
					          '<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					      }],  # OS=="win"
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
    'fix_framework_link_command': [
 | 
					    'fix_framework_link_command': [
 | 
				
			||||||
      'install_name_tool',
 | 
					      'install_name_tool',
 | 
				
			||||||
      '-change',
 | 
					      '-change',
 | 
				
			||||||
| 
						 | 
					@ -183,9 +191,6 @@
 | 
				
			||||||
      'sources': [
 | 
					      'sources': [
 | 
				
			||||||
        '<@(app_sources)',
 | 
					        '<@(app_sources)',
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      'mac_bundle_resources': [
 | 
					 | 
				
			||||||
        '<@(bundle_sources)',
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      'include_dirs': [
 | 
					      'include_dirs': [
 | 
				
			||||||
        '.',
 | 
					        '.',
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
| 
						 | 
					@ -206,6 +211,9 @@
 | 
				
			||||||
              '@executable_path/../Frameworks',
 | 
					              '@executable_path/../Frameworks',
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
 | 
					          'mac_bundle_resources': [
 | 
				
			||||||
 | 
					            '<@(bundle_sources)',
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
          'copies': [
 | 
					          'copies': [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              'destination': '<(PRODUCT_DIR)/<(product_name).app/Contents/Frameworks',
 | 
					              'destination': '<(PRODUCT_DIR)/<(product_name).app/Contents/Frameworks',
 | 
				
			||||||
| 
						 | 
					@ -254,7 +262,31 @@
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
          ]
 | 
					          ]
 | 
				
			||||||
        }],
 | 
					        }],  # OS=="mac"
 | 
				
			||||||
 | 
					        ['OS=="win"', {
 | 
				
			||||||
 | 
					          'copies': [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              'destination': '<(PRODUCT_DIR)',
 | 
				
			||||||
 | 
					              'files': [
 | 
				
			||||||
 | 
					                '<(libchromiumcontent_library_dir)/chromiumcontent.dll',
 | 
				
			||||||
 | 
					                '<(libchromiumcontent_library_dir)/icudt.dll',
 | 
				
			||||||
 | 
					                '<(libchromiumcontent_library_dir)/libGLESv2.dll',
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              'destination': '<(PRODUCT_DIR)/resources/browser',
 | 
				
			||||||
 | 
					              'files': [
 | 
				
			||||||
 | 
					                'browser/default_app',
 | 
				
			||||||
 | 
					              ]
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              'destination': '<(PRODUCT_DIR)/resources',
 | 
				
			||||||
 | 
					              'files': [
 | 
				
			||||||
 | 
					                'node/node.exe',
 | 
				
			||||||
 | 
					              ]
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					        }],  # OS=="win"
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					@ -293,6 +325,8 @@
 | 
				
			||||||
          'inputs': [
 | 
					          'inputs': [
 | 
				
			||||||
            'script/compile-coffee.py',
 | 
					            'script/compile-coffee.py',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
 | 
					          'conditions': [
 | 
				
			||||||
 | 
					            ['OS=="mac"', {
 | 
				
			||||||
              'outputs': [
 | 
					              'outputs': [
 | 
				
			||||||
                '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
					                '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
| 
						 | 
					@ -302,6 +336,19 @@
 | 
				
			||||||
                '<(RULE_INPUT_PATH)',
 | 
					                '<(RULE_INPUT_PATH)',
 | 
				
			||||||
                '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
					                '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
 | 
					            }],  # OS=="mac"
 | 
				
			||||||
 | 
					            ['OS=="win"', {
 | 
				
			||||||
 | 
					              'outputs': [
 | 
				
			||||||
 | 
					                '<(PRODUCT_DIR)/resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
 | 
					              'action': [
 | 
				
			||||||
 | 
					                'python',
 | 
				
			||||||
 | 
					                'script/compile-coffee.py',
 | 
				
			||||||
 | 
					                '<(RULE_INPUT_PATH)',
 | 
				
			||||||
 | 
					                '<(PRODUCT_DIR)/resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
 | 
					            }],  # OS=="win"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue