* Fix for 'Cannot Find PThread' when using GCC
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Fix error when COMPILATION_C and COMPILATION_CXX handling in ly_append_configurations_options
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Add missing 'PARENT_SCOPE' when appending to the CMAKE_C_FLAGS and CMAKE_CXX_FLAGS
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Fix appending of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Workaround for C/C++ compilation flag settings for gcc. COMPILATION_C/COMPILATION_CXX is wiping out COMPILATION, so define each one separately with no sharing
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Remove unnecessary gcc ignore warnings for C files
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
The new `o3de_pal_dir` function raise an issue when configuring projects/gems. This commit apply a simple fix to pass parameters as strings.
Signed-off-by: Axel Nana <axel.nana@aliens-group.com>
Updates and fixes to support GCC for Linux
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Templates/Restricted upgrade/fixes:
Fixed template storage format: templates now only store true relative paths and no longer save "origin" paths and "optional" has been removed, it was never used.
Upgraded all templates to new standard
Template system now correctly handles child objects: Child objects no longer have to specify restricted they inherit from parent
Restricted now operates at the object level and makes no assumptions about parent
Restricted templates can now be combined and seperated on creation
ly_get_list_relative_filename has been deprecated for o3de_pal_dir
All Gems/Projects/Templates updated to use new code
Signed-off-by: byrcolin <byrcolin@amazon.com>
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com>
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com>