summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-macros.cmake
AgeCommit message (Collapse)Author
2016-05-22cmake: rename macros -> boilerplateStanislaw Halik
2016-05-22cmake: simplify, avoid macrosStanislaw Halik
Avoid macros when able to allow for scope control. Macros shove everything inside the parent scope. The lone remaining macro needs to be there since functions allow for a fixed amount of parameters. Link against dinput automatically since LTO will remove it if it's not needed anyway. Rift trackers don't presently need access to ${project}-all etc. so don't expose them through opentrack_rift_boilerplate yet.
2016-05-17cmake: work for shared library destructorsStanislaw Halik
Remove linker script usage. I'm worried about the potential interaction with shared libraries' _fini symbol for global destruction. Further, add -fuse-cxa-atexit in order to run the global destructors to begin with. This works on LLVM and GNU. MSVC doesn't export symbols by default.
2016-05-13cmake: disable all warnings for Qt moc-generated source filesStanislaw Halik
The files are machine-generated and full of redundancies. With pedantic warnings it drowns the relevant stuff.
2015-11-03cmake: can use default hidden visibility on appleStanislaw Halik
2015-11-01cmake: export only needed symbolsStanislaw Halik
2015-11-01cmake: less linkage boilerplateStanislaw Halik
2015-11-01cmake: add current module name to preprocessor varsStanislaw Halik
2015-11-01cmake: fix NO-LINKER-SCRIPTStanislaw Halik
typo
2015-10-30qxt: fix unix buildStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224