Commit graph

42 commits

Author SHA1 Message Date
AzaezelX
bd1bbdc258 correct mac compilation
SDL now leverages https://cmake.org/cmake/help/v3.10/command/enable_language.html
2022-04-25 13:28:32 -05:00
Robert MacGregor
bd979aa5cf * Adjustment: Minor formatting fix in basics.cmake. 2021-12-14 22:23:23 -05:00
Robert MacGregor
d1dbfad0c7 * [MacOS] BugFix: Correct the MacOS executable not being output to the game directory when no build configuration is provided. 2021-12-14 22:06:47 -05:00
Robert MacGregor
58f6431ff0 * BugFix: Correct compilation for MacOS by explicitly specifying C++11 for all libraries and C++17 for the engine itself. 2021-12-03 16:37:22 -05:00
AzaezelX
490b8271e8 fix erroneous clipout 2021-11-25 19:51:34 -06:00
AzaezelX
583014de60 fix erroneous clipout 2021-11-25 19:49:56 -06:00
AzaezelX
1816b3ca0c modular source work
from @marauder2k7:
augments the modular inclusion of sourcefiles via confining it to /source/ directories only to prevent strays.
additionally, adds a /lib/ filter for full on library inclusion
2021-11-25 19:39:44 -06:00
rextimmy
d58cf398a9 make use of folder properties in cmake 2021-11-22 12:30:08 +10:00
Robert MacGregor
6b56210a47 * Feature: Properly detect ARM32/ARM64 in the CMake build process and enable ARM NEON when either of these are detected. 2021-10-27 17:30:43 -04:00
Robert MacGregor
9d9db307c7 * [Build] BugFix: Correct CMake errors on Windows. 2021-10-13 17:10:47 -04:00
Robert MacGregor
ca5e706ab4 * [CMake] BugFix: Clear several CMake warnings. 2021-10-12 13:19:28 -04:00
Joseph
fe9dc1e25b Help from Az finally gave the correct answer to the problem I was trying to address originally, so really this fix is from Az.
Exposes the directory for where your game files go in cmake without having to go to Advanced tab.
2021-01-10 21:48:46 +00:00
Joseph
4c781ce5c6 Enables support for having your project directory different to your Torque engine directory. 2021-01-08 20:59:35 +00:00
Areloch
3fa7a0d4fa Various fixes 2019-05-11 21:42:27 -05:00
rextimmy
b23b8d118e Physx 3.3 cmake support 2017-01-04 01:47:01 +10:00
RexTimmy
79dca17d5e Change VS to use the default fp:precise 2016-12-08 09:14:20 +10:00
RexTimmy
dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
Areloch
ec6f9c05a6 Integrates the nativeFileDialog library to enable native file dialogs on the major platforms. It is activated with SDL. 2016-04-30 15:48:33 -05:00
wcb
845ec9c452 CMake NMake fix to place exe in game directory 2015-09-23 19:46:36 -04:00
LuisAntonRebollo
4e9034854d Linux implementation. Include changes for gcc x64. 2015-01-24 22:08:26 +01:00
Ben Payne
d1f450a001 Fix malformed flags 2014-12-18 18:29:03 -05:00
Ben Payne
4b57dde346 Fix broken cmake macro
Only the first config in the list was being seen
2014-12-17 14:03:51 -05:00
Ben Payne
58f07aecb4 Fix CMP0043 cmake warning when using cmake 3.0.2
COMPILE_DEFINITIONS_CONFIG has been deprecated, use generator expressions
with plain COMPILE_DEFINITIONS instead (available since 2.8.10)
2014-12-17 14:03:51 -05:00
LuisAntonRebollo
6bfb7d8186 CMake changes for WIN64 2014-09-14 21:42:08 +02:00
Anders Dahnielson
0ca4dc75a8 Improving CMake build system for power user
* Making it possible to override the project directory location
  by setting TORQUE_APP_DIR.

* Making it possible to skip template installation (copying) to
  project directory by setting TORQUE_TEMPLATE to OFF.
2014-07-28 13:06:33 +02:00
LuisAntonRebollo
57ac2f8546 Add GG(c) and MIT license to CMake files. 2014-07-18 22:07:38 +02:00
LuisAntonRebollo
17bd69e659 CMake changes for dedicated builds. 2014-06-02 02:15:55 +02:00
LuisAntonRebollo
8a50895062 Clean CMake files. 2014-06-02 01:35:06 +02:00
LuisAntonRebollo
efa3c02291 CMake: Remove unsused variable, and revert a small change. 2014-05-28 19:21:12 +02:00
LuisAntonRebollo
808dcb653c Remove TABs on CMake files. 2014-05-28 17:55:05 +02:00
LuisAntonRebollo
1e06fd2e60 Improvements on CMake generator.
* Suppress selected warnings on VC.
* Configurable directories (for CI server).
2014-05-28 13:17:32 +02:00
LuisAntonRebollo
62fc2a7e02 Small fixes for CMake modules/libraries. 2014-05-20 23:24:08 +02:00
LuisAntonRebollo
dca11afded Add support for CMake "required definitions" to modules and libraries. 2014-05-19 22:15:22 +02:00
LuisAntonRebollo
82a36d8a32 Add support for modules and libraries to CMake. 2014-05-19 21:44:01 +02:00
LuisAntonRebollo
b8b77ef488 Rename CMake "TORQUE_APP_VERSION_MAYOR" to "TORQUE_APP_VERSION_MAJOR" 2014-05-06 17:44:12 +02:00
Thomas Fischer
36cc041254 enforced setting the app name and fixed default-appname bugs
added debug batch file for windows
improved project filters for executable: separated into engine and user sources
refactored version numbers, added them to the .rc file
changed /W2 to /W4
TORQUE_DEBUG,TORQUE_ENABLE_ASSERTS and TORQUE_DEBUG_GFX_MODE now automatically defined in debug mode
2014-03-20 05:34:45 +01:00
Thomas Fischer
f3dbe07b9a main.cs configuring now (optional), fixed installation up, fixed application name up, fixed executable name, added configured torsion template 2014-03-19 18:17:35 +01:00
Thomas Fischer
cd727f7711 added lib template; added cleanup batch file; added game folder 2014-03-19 03:23:51 +01:00
Thomas Fischer
3071700690 added more options, moved some to advanced 2014-03-19 02:41:06 +01:00
Thomas Fischer
5ffe7abee9 cmake improvements: correct build folder without installing, merged luis resource copy fix. fixed usage of the app name. added source folder to build configuration 2014-03-19 02:03:45 +01:00
Thomas Fischer
0dc0e70114 improved config format, eaiser to be used now 2014-03-18 20:12:13 +01:00
Thomas Fischer
444b12a670 cmake, better isolated :) 2014-03-18 13:27:25 +01:00