Commit Graph
2306 Commits
Author SHA1 Message Date
Chris HORLER 86064385df test PR integration 2021-09-16 13:58:38 +01:00
starseeker 2a50010e6f No longer using appveyor 2021-09-06 19:53:23 -04:00
starseeker bf14461dae Point to the main stepcode repository 2021-09-06 17:22:05 -04:00
Chris HORLER ec12b1ce7c Merge pull request #413 from stepcode/github_actions
Start of a Github Actions CI setup.
2021-09-05 22:02:33 +01:00
Chris HORLER de375f8cea fix github actions / ci directory name 2021-09-05 21:01:50 +01:00
starseeker 30534dbf0e Remove the old CI files 2021-09-05 21:01:50 +01:00
starseeker 5fddadb1e4 Test with the Ubuntu clang compiler as well. 2021-09-05 21:01:50 +01:00
starseeker 20c6d4c800 Enable all tests, set up BRL-CAD step-g WIN32 test
With all the recent patches to develop applied, the following tests all
succeeded as Github Actions in a test repository.
2021-09-05 21:01:50 +01:00
starseeker 125820c84c Start of a Github Actions CI setup. 2021-09-05 21:01:50 +01:00
starseeker 6984cf6a46 Merge pull request #425 from stepcode/perplex_cmake
Add a sentinel target for perplex generated output
2021-08-23 16:08:13 -04:00
starseeker 322018c6db Merge pull request #423 from stepcode/windent
Remove unneeded indentation in generated output.
2021-08-23 16:07:56 -04:00
starseeker d5f60d72e0 Merge pull request #422 from stepcode/warnings
Clear some C++ compilation warnings from the main stepcode libs
2021-08-23 16:07:42 -04:00
starseeker aa5b0e3fa2 Merge pull request #421 from stepcode/depcpy
Clear deprecated-copy warning from C++ class.
2021-08-23 16:07:15 -04:00
starseeker c81d05cff6 Merge pull request #418 from stepcode/desc
Remove Raw() and getEDesc(), restore C asStr()
2021-08-23 16:06:55 -04:00
starseeker 799a51f340 Merge pull request #417 from stepcode/errorget_export
Export ERRORget_warnings_help for MSVC
2021-08-23 16:06:36 -04:00
starseeker 89b00f1596 Merge pull request #416 from stepcode/copy_constructor
Define a default copy constructor.
2021-08-23 16:06:23 -04:00
starseeker ccb6728efa Add some more patterns to the gitignore file. 2021-08-17 16:29:06 -04:00
starseeker 75af3df51c Shouldn't need the SC_VERSION.txt file 2021-08-17 16:24:20 -04:00
starseeker 0f1196ef94 Remove references to stepcode.org 2021-08-17 16:20:22 -04:00
starseeker e4277656ef Add a sentinel target for perplex generated output
Getting an intermittent failure on Windows where the expscan.h header
apparently isn't present on the file system soon enough for the build to
succeed (a subsequent reinvocation of the build command does succeed.)

Try the standard technique of making another file write depend on the
outputs of the header and src file, then define a target depending on
that sentinel file and make the obj libraries depend on that target.
2021-08-17 13:00:15 -04:00
Wolfgang E. Sanyer 8dc5dceb59 Fix compile error related to ODR violation.
These structs were already declared in alg.h, leading to build issues.

fixes #404

Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
(cherry picked from commit fa87ef1e6d2e670730c3b7b19e8acaa4186eaac5)
2021-08-17 10:31:30 -04:00
starseeker 093e59e5a7 Per suggestion from Sean, go ahead and export all symbols. 2021-08-16 19:41:23 -04:00
starseeker 177eef8acf Merge pull request #420 from stepcode/nullck
Check before deferencing, and initialize to NULL.
2021-08-16 16:56:14 -04:00
starseeker 211bc660da Per suggestion from Sean, don't hardcode file or line numbers. 2021-08-16 16:50:37 -04:00
starseeker 0b6853f5a7 Merge pull request #419 from stepcode/dll
Export MEMORYinitialize and FACTORYinitialize for Windows.
2021-08-16 16:38:36 -04:00
starseeker b158a79f6c Remove unneeded indentation in generated output.
Newer GCC doesn't like the indenting of this line, since in some
situations it looks as if the logic is being guarded by an if clause
when it is not.
2021-08-16 15:47:16 -04:00
starseeker 1f1965beae Clear some C++ compilation warnings from the main stepcode libs 2021-08-16 15:24:58 -04:00
starseeker 9f35265f75 Clear deprecated-copy warning from C++ class.
Getting a -Wdeprecated-copy trigger from ap210e3's use of
SDAI_BOOLEAN - make an explicit assignment operator.
2021-08-16 14:26:09 -04:00
starseeker 345bcd8174 Check before deferencing, and initialize to NULL.
Crash was observed in Release build for BRL-CAD's step-g on Ubuntu
Linux without this check.
2021-08-16 14:20:57 -04:00
starseeker f05ce582ac Export MEMORYinitialize and FACTORYinitialize for Windows. 2021-08-16 14:15:34 -04:00
starseeker 5e1ad8f1c8 Remove Raw() and getEDesc(), restore C asStr()
This commit removes the Raw and getEDesc methods in favor of the
simplicity of just making ptr and eDesc public.

Add back in previous version of asStr() that returns a C string.

aDesc is also made public.

These changes are motivated by BRL-CAD's use of stepcode.
2021-08-16 14:09:10 -04:00
starseeker dcb156f1eb Export ERRORget_warnings_help for MSVC 2021-08-16 13:42:07 -04:00
starseeker 1bf945d60b Define a default copy constructor.
Werror=deprecated-copy with GCC was triggered by code generated from
this exp2cxx output.  Go ahead and define the copy constructor to
avoid the deprecated behavior.
2021-08-16 13:37:39 -04:00
Chris HORLER 380618fa7e Merge pull request #414 from stepcode/rework_cmake_update
cmake update
2021-08-15 19:36:16 +01:00
Chris HORLER 55d36377c3 Adjust whitespace 2021-08-15 09:22:59 +01:00
starseeker 62be4c90c6 Use CMake 3.12 everywhere. 2021-08-15 09:22:59 +01:00
starseeker c2fddd8a7a Restore SC_BUILD_EXPRESS_ONLY option 2021-08-15 09:22:59 +01:00
starseeker 8adb5e638d Remove no-longer-used CMake files. 2021-08-15 09:22:59 +01:00
starseeker fceb57390c Until we need the newer re2c, don't insist on it.
BRL-CAD's supporting system for building this will need some updates
once we require a newer re2c - to make testing easier in the meantime,
don't require the newer version.
2021-08-15 09:22:59 +01:00
starseeker ae18190f69 Make copy more robust for parallel builds
This is a classic problem - the file copy will begin, the file will be
"present" in some sense on the file system, and build steps that need it
will begin - but they won't find what they actually need because the
copy isn't fully executed.  The standard approach for this is to add a
second file which is only created after the first is done, and then make
the target depend on the second file rather than the first.
2021-08-15 09:22:59 +01:00
starseeker 8c9b3471fb Build again w/ the generator tools. 2021-08-15 09:22:59 +01:00
Chris HORLER 22c437d45e Simplify the Lemon and RE2C modules
Original work adapted from commits:
b1844be9cc
92cb70de2b
2021-08-15 09:22:59 +01:00
starseeker 5ea56aac02 update build system
(cherry picked from commit b1844be9cc)
2021-08-15 09:22:59 +01:00
starseeker 14c5476537 Use straight-up CMake commands in lieu of wrapping
The basic CMake commands are more straightforward to work with for
someone not familiar with stepcode, and we don't really have enough
targets w/ apply-this-to-everything add-ons to need the more elaborate
logic the way BRL-CAD does (which is what originally inspired them.)
2021-08-15 09:22:59 +01:00
starseeker f7e929fe6a Add DLL defines for obj libs 2021-08-15 09:22:59 +01:00
starseeker 736d637d63 Remove MD5 verification logic. 2021-08-15 09:22:59 +01:00
Chris HORLER 6cf5d1e860 CMake update
- variable usage, RPATHs, config header generation
 - remove the CMake core target
2021-08-15 09:22:29 +01:00
Chris HORLER faadf26cdf add missing feature define for stat S_IFDIR 2021-08-14 10:24:35 +01:00
Chris HORLER e617808be1 simplify SC_VERSION and library versioning 2021-08-14 10:24:35 +01:00
Chris HORLER 97de8f9069 replace nullptr by NULL 2021-08-14 10:24:35 +01:00