Commit Graph

48 Commits

Author SHA1 Message Date
Daniel Wolf b795bc9ab0
tentative support for native cross packages 2022-05-21 12:17:04 -04:00
Daniel Wolf 9a47b1fec2
add NXPackage module 2022-05-13 13:48:44 -04:00
Daniel Wolf 3539424eff
add category determination to nx_project_begin 2022-05-12 18:48:51 -04:00
Daniel Wolf 08427469b5
fix LTO on clang with -fstack-protector-strong 2022-05-12 11:51:49 -04:00
Daniel Wolf 9075681389
detect_leaks not supported on windows 2022-05-12 11:51:15 -04:00
Daniel Wolf cd2dd7788b
use LF newlines in configured files 2022-05-02 16:20:14 -04:00
Daniel Wolf 290102d21f
run cmake-format 2022-05-02 01:33:31 -04:00
Daniel Wolf d6247568c2
add support for specifying LICENSE in project 2022-04-29 12:23:49 -04:00
Daniel Wolf 567e8619a9
we already pick up docs/* so no reason to install contents 2022-04-27 14:46:40 -04:00
Daniel Wolf 0b0c9951a0
accidentally picking up directories when looking for documentation files 2022-04-27 14:43:03 -04:00
Daniel Wolf 759d7facd9
revamp export header 2022-04-26 13:04:44 -04:00
Daniel Wolf 232943fd4c
fix module paths and support "flat" installations 2022-04-26 13:03:51 -04:00
Daniel Wolf 6603ac1db5
better pull in static GitInfo if needed 2022-04-26 13:02:46 -04:00
Daniel Wolf a40fe9c455
do not write into source directory 2022-04-26 13:01:33 -04:00
Daniel Wolf 9927490b25
add ASAN_OPTIONS=detect_leaks=1 by default 2022-04-18 12:08:23 -04:00
Daniel Wolf 248a385359
do not spam about missing sanitizers for tests 2022-04-18 12:07:56 -04:00
Daniel Wolf 19c58f650c
do not bother checking for some sanitizers on msys/cygwin either 2022-04-18 11:44:28 -04:00
Daniel Wolf 242c86834b
in last-minute change got this comparison backwards 2022-04-18 11:44:05 -04:00
Daniel Wolf 2e55ad6984
fix some issues with some msys environments 2022-04-18 11:30:32 -04:00
Daniel Wolf 3ab6d84c99
did a refinement pass over everything 2022-04-17 10:47:20 -04:00
Daniel Wolf ecb249fe24
specify that the non-portable libs are due to LTO 2022-04-04 15:50:39 -04:00
Daniel Wolf 1323c54493
remove OBJECT_LIBRARY option from LIBRARY and MODULE 2022-04-04 12:23:08 -04:00
Daniel Wolf bf01f97ecc
combine build and enable checks for testing 2022-04-04 12:22:39 -04:00
Daniel Wolf 4d4a681bcf
improve djgpp dxe support - still only works with pretty simple setups 2022-04-03 21:12:11 -04:00
Daniel Wolf 0f47a763b9
make OUTPUT_SHORT work correctly 2022-04-01 14:06:18 -04:00
Daniel Wolf 194d81d3ad
add better support for LIBRARY targets depending on other LIBRARY targets 2022-04-01 13:59:56 -04:00
Daniel Wolf d95aa423e7
prefer llvm-ar/gcc-ar when using lto 2022-03-31 17:23:28 -04:00
Daniel Wolf eccaf47635
basic security and lto/ipo flags - need to investigate on different platforms 2022-03-31 16:38:21 -04:00
Daniel Wolf 93cfefe7e8
use LTO when available - may need further testing 2022-03-30 14:16:29 -04:00
Daniel Wolf 41aec6fe8a
do not default to relwithdebinfo for msdos or android - also fix compiler version 2022-03-30 11:07:04 -04:00
Daniel Wolf 0940df1a2e
simplify test options 2022-03-30 11:05:11 -04:00
Daniel Wolf 5138c4d728
enable building tests without running them 2022-03-30 10:59:14 -04:00
Daniel Wolf 74c6b7c60b
do not couple the EXPORT and CEXPORT macros 2022-03-29 16:20:23 -04:00
Daniel Wolf 7644717cbc
need to do case-insensitive compare of project parent and child 2022-03-24 12:36:13 -04:00
Daniel Wolf 66f476d646
update copyright year since this has all been updated this year 2022-03-23 14:10:51 -04:00
Daniel Wolf a0ada10235
included .cmake-format makes this implicit 2022-03-23 12:36:14 -04:00
Daniel Wolf 29318062de
djgpp ignores visibillity 2022-03-23 12:35:14 -04:00
Daniel Wolf 33514713cb
corrected more issues with MSDOS/DJGPP compilation 2022-03-23 11:08:06 -04:00
Daniel Wolf 79a50e74f9
make building for djgpp friendlier 2022-03-22 13:36:08 -04:00
Daniel Wolf d6150df332
always set folder names so changes are picked up 2022-03-20 12:43:33 -04:00
Daniel Wolf adab68b4ee
add NXTest module 2022-03-20 12:43:03 -04:00
Daniel Wolf ebdbe13753
set convenience variables for use in directory names 2022-03-19 23:14:39 -04:00
Daniel Wolf 4595fe1a8a
need to set bDefaultFormat to ON 2022-03-16 17:02:02 -04:00
Daniel Wolf b8764e6f5e
default to nxbuild internal cmake-format rules 2022-03-16 16:22:04 -04:00
Daniel Wolf 3348e73cf8
make CMakeLists prettier 2022-03-16 16:13:10 -04:00
Daniel Wolf 2cde8d92f9
update some metadata files 2022-03-16 15:27:43 -04:00
Daniel Wolf ebd11789be
add basic scripts 2022-03-16 13:43:36 -04:00
Daniel Wolf e519361d61
initialize repository 2022-03-16 12:36:48 -04:00