]> granicus.if.org Git - gc/commit
Allow register_main_static_data disabling in CMake script
authorIvan Maidanski <ivmai@mail.ru>
Tue, 31 Jul 2018 06:58:31 +0000 (09:58 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 31 Jul 2018 06:58:31 +0000 (09:58 +0300)
commit8264a948e6e381d6a59b1da09cc4daedb6c75cd8
tree69565739c1d54a84e70c21cfd1b626316c45130c
parenta80ee4d1b9925e1c0b241cc0ac4ab7428d435e84
Allow register_main_static_data disabling in CMake script

* CMakeLists.txt (enable_register_main_static_data): New OPTION (on by
default).
* CMakeLists.txt [!enable_register_main_static_data]: Define
GC_DONT_REGISTER_MAIN_STATIC_DATA macro.
CMakeLists.txt