Changes between Version 4 and Version 5 of AddingFiles
- Timestamp:
- Mar 28, 2014, 5:43:16 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddingFiles
v4 v5 42 42 * If you rely on environment variables inside `DerivedSources.make`, you will need to export them in `build-generated-files.sh`. 43 43 44 == CMake (EFL )44 == CMake (EFL, GTK) 45 45 46 Find the relevant `CMakeLists.txt` file in the project directory (WebCore, WebKit2, DumpRenderTree, etc). Then, add entries to various lists in the files depending on what is being added. 46 Find the relevant `CMakeLists.txt` file in the project directory (WebCore, WebKit2, DumpRenderTree, etc). Then, add entries to various lists in the files depending on what is being added. Platform-specific rules and dependencies are located in files like `PlatformGTK.cmake` and `PlatformEFL.cmake`. 47 47 48 48 === Adding a directory … … 63 63 64 64 65 == GMake (GTK)66 67 Build rules and paths are in a per-project `GNUMakefile.am` file. Lists of files to build go in a per-project `GNUMakefile.list.am`.68 69 === Adding a directory70 71 * If the directory contains headers, add it to `project_cppflags`.72 * (WebCore only) If the directory contains IDL flies, add it to `IDL_PATH` and `EXTRA_DIST`.73 74 === Adding a file75 76 * If it's a new Inspector domain, add it to `project_INSPECTOR_DOMAINS` in `GNUMakefile.am`.77 * Otherwise, add it to the correct section in `GNUMakefile.list.am`. This includes generated sources (inside `DerivedSources/`).78 79 80 65 = Tips 81 66