summaryrefslogtreecommitdiffhomepage
path: root/cmake
AgeCommit message (Collapse)Author
2016-05-23cmake: fix boilerplate for NO-LIBRARY + STAGE2Stanislaw Halik
2016-05-23cmake{/gui,}: make boilerplate usable for building the executableStanislaw Halik
2016-05-22cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundantStanislaw Halik
With -fvisibility=hidden it's hidden anyway.
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-21cmake: add osx -g also for lto caseopentrack-2.3-rc49p1Stanislaw Halik
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-17cmake: -fPIC for Linux toolchain fileStanislaw Halik
2016-05-15Revert "cmake: remove header with version information"Stanislaw Halik
It's used in the win32 installer. This reverts commit 3252beca3aa20fe5183a13029db831e4e121f6dc.
2016-05-15cmake: stop forcing release build for appleopentrack.2.3-rc49p0Stanislaw Halik
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-15cmake: linux toolchain fileStanislaw Halik
For my convenience.
2016-05-13cmake: automatically enable lto and loop vectorization for mingw-w64 targetsStanislaw Halik
2016-05-13cmake: add cache variables for predefined warning typesStanislaw Halik
The numeric warnings are somewhat useful. Sadly only clang supports the vtable object file bloat warning.
2016-05-13cmake: expose clang being usedStanislaw Halik
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.
2016-05-12cmake: remove header with version informationStanislaw Halik
It's pointless for it to exist, see previous commit for rationale. No call sites.
2016-05-12cmake: workaround LTO issue on Windows.Stanislaw Halik
With the GNU toolchain there's some mix-up and the "opentrack_version" symbol isn't emitted into the object file at all. Disable LTO for the "version" statically linked library. The "version" statically linked library exists so that files needing the version only need to be re-linked, not recompiled. A preprocessor global -DVERSION=foo rebuilds the whole project after each commit. A header definition rebuilds all include sites. LTO in the GNU toolchain is very broken on Windows, particular the interaction of GCC "linker plugin" injected into Binutils bfd ld. The gold ld we can't use since it's only for ELF executables. There's nothing alarming here at all unless there's some miscompilation and there doesn't seem to be any. The rest of the functional changes is changing cc -> c of that object file, and moving library definition after the source file is already generated.
2016-05-04cmake: fix osx linkStanislaw Halik
2016-05-04osx: increase stack size 4 timesStanislaw Halik
Issue: #349
2016-04-27cmake: -mno-avx for mingw-w64 just to be safeStanislaw Halik
2016-04-27cmake: force -arch x86_64 for osxStanislaw Halik
2016-04-23cmake: explicitly disallow source directory being equal to build directoryStanislaw Halik
Causes frequent user confusion on Linux.
2016-04-18cmake: fix expanding variable quoting bugStanislaw Halik
Closes #340
2016-03-15cmake: fix MSVC build typeopentrack-2.3-rc21p11Stanislaw Halik
2016-03-12installer: prepend "DEBUG-" for debug buildsStanislaw Halik
2016-03-12cmake: remove tarball unused paramStanislaw Halik
2016-03-12cmake: fix mingw-w64 toolchain file ninja buildStanislaw Halik
2016-03-12add apple toolchain fileopentrack-2.3-rc21p10Stanislaw Halik
2016-03-08cmake: update and expand mingw-w64 toolchain fileStanislaw Halik
2016-03-07tarball: don't assume env(1) is in pathopentrack-2.3-rc21p9Stanislaw Halik
2016-03-06cmake: don't search for Qt5XmlStanislaw Halik
We're not using it anywhere.
2016-03-06cmake: update compiler path in toolchain fileStanislaw Halik
We're now using dw2 rather than sjlj for official builds.
2016-01-06cmake: append branch information for branch buildsStanislaw Halik
2015-12-18cmake/mingw-w64: updateStanislaw Halik
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: nuke -rdynamicStanislaw Halik
2015-11-01cmake: fix NO-LINKER-SCRIPTStanislaw Halik
typo
2015-10-31fix osx install bundle orderopentrack-2.3-rc20p1Stanislaw Halik
2015-10-30qxt: fix unix buildStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224
2015-10-30cmake: switch to GNU CC 5.2.0 in mingw-w64 toolchain fileopentrack-2.3-rc20Stanislaw Halik
2015-10-28buffer flushStanislaw Halik
2015-10-22cmake: update toolchain fileStanislaw Halik
2015-10-20cmake: fix copy-paste commentStanislaw Halik
2015-10-20cmake: add toolchain file for OSXStanislaw Halik
2015-10-18cmake: regen before making tarballStanislaw Halik
Updates timestamp as it should.