Clifford Yapp
7dbda20be0
Remove base library from stepcode
...
Move specific pieces of logic still in use next to the individual parts
of the code that use them, and eliminate base from the code.
2022-09-26 20:52:17 +01:00
Clifford Yapp
0fd354cb39
Make sure BUFSIZ buffers have room for NULL
...
In case we do end up with buffers with contents at the BUFSIZ limit,
make sure we leave room to set a null termination char. Not always
clear where these buffers might get used or re-used, so just bump their
size across the board.
2022-06-11 17:33:24 +01:00
Clifford Yapp
62be4c90c6
Use CMake 3.12 everywhere.
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
Clifford Yapp
4f20f391c6
Reverting develop back to commit 548fd82ad7
2021-08-04 16:04:32 -04:00
Cliff Yapp
725ec378c7
Remove unused file, line wrap scanner README
2020-12-14 16:00:58 -05:00
Cliff Yapp
44fb19669b
Simplify relative directory settings
2020-12-14 15:43:54 -05:00
Chris HORLER
88e82d8faf
reenable lemon / full build for integration test purposes
2020-07-21 23:22:48 +01:00
Chris HORLER
5ab50bb68f
begin to modernise / simplify CMake code
2019-08-26 18:42:45 +01:00
Chris HORLER
85b76db65a
use _WIN32 for Windows and _MSC_VER for compiler checks
2019-08-26 17:38:09 +01:00
Chris HORLER
e934fa246c
drop the Generic typedef
2019-08-07 20:30:32 +01:00
Mark Pictor
135adc76c8
fix warning, improve cmake messages
2015-07-26 20:49:04 -04:00
Mark Pictor
1aa78e7e48
make appveyor happier
2015-06-08 22:40:38 -04:00
Cliff Yapp
63298df542
Until we reach a final decision on what to do about the schema_scanner, handle the .exe case
2014-08-01 21:04:23 -04:00
Cliff Yapp
e649757417
Install schema headers in locations that match the build tree hierarchy, so include directives will work both with in-build-tree and installed stepcode layouts.
2014-07-31 21:26:57 -04:00
Jason W. DeGraw
9aa3b4201f
Add CMAKE_GENERATOR to schema scanner build
...
Command line configuration with MinGW on Windows was failing
in schemaScanner.cmake because the generator wasn't getting
passed through to the build of the scanner. This commit adds
the generator to the scanner build command and fixes #295 .
2014-04-19 14:38:12 -04:00
Mark
2338dd11e1
increase schema scanner config/build timeouts
...
config is slow on windows and the 10s limit caused intermittent failures
2014-03-02 15:44:33 -05:00
Mark Pictor
cd0d8b496b
cannot treat the schema scanner source as a config file, so add /*WARNING*/
2014-03-01 11:53:31 -05:00
Mark Pictor
38467bdca3
add build logic for unity builds (mostly in generated CMLists)
2014-03-01 11:53:30 -05:00
Mark Pictor
78d99f2f4e
change generated CMLists ws to better match starseeker's ws
2014-03-01 11:53:30 -05:00
Mark Pictor
5c021b2b7f
tests were broken because macro name changed
...
make two variables CACHE INTERNAL so that their values are available in other scopes (i.e. in test dirs)
2014-03-01 11:53:30 -05:00
Cliff Yapp
f4ac673b71
whitespace and case changes on .cmake files
2014-03-01 11:53:30 -05:00
Cliff Yapp
44e02c957a
whitespace changes
2014-03-01 11:53:30 -05:00
Cliff Yapp
c0e74a9eef
Add CMake footer comment to CMake files
2014-02-28 22:06:09 -05:00
Mark Pictor
a7579f0bc9
remove helper function header - code moved to headers for individual types/entities
2014-02-28 22:02:07 -05:00
davyw
492f455598
allow schema scanner to build on windows
2014-02-28 22:02:07 -05:00
Mark Pictor
2ccc5ce360
add underscore to schema shortname for readability - Sdai -> Sdai_
2014-02-28 22:02:07 -05:00
Mark Pictor
5043c035a3
renamed enums, selects don't get their own files
2014-02-28 22:02:07 -05:00
Mark Pictor
426e2b4ab3
add two cmake messages
2014-02-28 22:02:07 -05:00
starseeker
c6f0c44a02
print file count, not list of all files, when generating.
2014-02-28 22:02:07 -05:00
starseeker
6533032fd9
workaround makefile corruption by changing how file lists are handled
2014-02-28 22:02:07 -05:00
Mark Pictor
4fd5dd9f74
improve cmake comments, user messages
2014-02-28 22:02:06 -05:00
Mark Pictor
b320bfe3f7
generate a short schema name in the schema scanner
...
this name is one of:
* the schema file name without extension,
* the schema dir name if in sc/data/ and 3+ chars
* or the official schema name on the SCHEMA line.
2014-02-28 22:02:06 -05:00
Mark Pictor
34d917fb19
update scanner to match renamed schema macros file
2014-02-28 22:02:06 -05:00
Mark Pictor
86bae779b0
inching forward on schema scanner
2014-02-28 22:02:06 -05:00
Mark Pictor
b15ba38edf
try again to make msvc use same dir as other compilers
2014-02-28 22:02:06 -05:00
Mark Pictor
207d6c26c2
remove old message
2014-02-28 22:02:05 -05:00
Mark Pictor
993c40f6ad
MSVC insists on putting schema_scanner.exe in a different dir
2014-02-28 22:02:05 -05:00
Mark Pictor
a035292cf0
another TODO
2014-02-28 22:02:05 -05:00
Mark Pictor
427ecaf09f
add schema scanner README
2014-02-28 22:02:05 -05:00
Mark Pictor
b7a8ac4cbb
make build/schema dir
2014-02-28 22:02:05 -05:00
Mark Pictor
2e6ee6695a
cmake changes to match new behavior of scanner
2014-02-28 22:02:05 -05:00
Mark Pictor
86bf2dff99
maybe this will force MSVC to behave?
...
http://stackoverflow.com/questions/7229571/cmake-visual-studio-debug-folder
http://www.cmake.org/cmake/help/v2.8.8/cmake.html#prop_tgt:RUNTIME_OUTPUT_DIRECTORY_CONFIG
2014-02-28 22:02:05 -05:00
Mark Pictor
c4fde8c96f
comment, formatting
2014-02-28 22:02:04 -05:00
Mark Pictor
3088d3d63f
check for errors in 2 places
2014-02-28 22:02:04 -05:00
Mark Pictor
99fbadcdfd
print path to the dir containing the generated CMakeLists for CMake
2014-02-28 22:02:04 -05:00
Mark Pictor
b8d35ce517
improve formatting of generated CMakeLists
2014-02-28 22:02:04 -05:00
Mark Pictor
d1f57453dd
print ss contents not address
2014-02-28 22:02:04 -05:00
Mark Pictor
86302fb0f3
take a stab at writing a CMakeLists.txt for the schema
2014-02-28 22:02:04 -05:00
Mark Pictor
4efb670ddf
used wrong variable to set output dir
2014-02-28 22:02:04 -05:00