Changed: #880 Use PCH under Linux with CMake

This commit is contained in:
kervala 2010-06-25 11:44:58 +02:00
parent 7654d0d5c7
commit 228f92afe4
48 changed files with 79 additions and 184 deletions

View file

@ -17,7 +17,6 @@
#include "stdmisc.h"
#include "nel/misc/algo.h"
#include <string>
using namespace std;

View file

@ -16,8 +16,6 @@
#include "stdmisc.h"
#include <memory>
#include <algorithm>
#include "nel/misc/bitmap.h"
#include "nel/misc/stream.h"
#include "nel/misc/file.h"

View file

@ -18,8 +18,6 @@
#include "nel/misc/class_registry.h"
#include <typeinfo>
using namespace std;
namespace NLMISC

View file

@ -19,8 +19,6 @@
//
#include "stdmisc.h"
#include <string>
#include "nel/misc/types_nl.h"
#include "nel/misc/sstring.h"

View file

@ -23,9 +23,7 @@
# include <tchar.h>
#elif defined NL_OS_UNIX
# include <unistd.h>
# include <cstring>
# include <cerrno>
# include <csignal>
# include <pthread.h>
# include <sched.h>
#endif

View file

@ -17,12 +17,7 @@
#include "stdmisc.h"
#include "nel/misc/cpu_time_stat.h"
#include <nel/misc/common.h>
#include <string>
#include <vector>
#include <cstdio>
#include "nel/misc/common.h"
#ifdef NL_OS_UNIX
#include <unistd.h>

View file

@ -45,8 +45,6 @@
# endif // NL_OS_WIN64
#elif defined NL_OS_UNIX
# include <unistd.h>
# include <cstdio>
# include <cstdlib>
# define IsDebuggerPresent() false
# ifndef NL_OS_MAC
# include <execinfo.h>
@ -55,9 +53,6 @@
# include <errno.h>
#endif
#include <cstdarg>
#include <iostream>
using namespace std;
// If you don't want to add default displayer, put 0 instead of 1. In this case, you

View file

@ -24,9 +24,7 @@
#include "di_mouse_device.h"
#include "di_keyboard_device.h"
#include "di_game_device.h"
//
#include <memory>
#include <algorithm>
#ifdef NL_OS_WINDOWS

View file

@ -18,9 +18,6 @@
#include "stdmisc.h"
#include "di_game_device.h"
#include "nel/misc/game_device_events.h"
#include <cstddef>
#include <memory>
#include <algorithm>
#ifdef NL_OS_WINDOWS

View file

@ -22,7 +22,6 @@
#ifdef NL_OS_WINDOWS
#include "nel/misc/win_event_emitter.h"
#include <memory>
#include <dinput.h>
#include <Winuser.h>

View file

@ -23,12 +23,6 @@
#ifdef NL_OS_WINDOWS
#include <memory>
#include <algorithm>
namespace NLMISC
{

View file

@ -26,15 +26,6 @@
# include <cerrno>
#endif // NL_OS_WINDOWS
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
//#include <sstream>
#include <iomanip>
#include "nel/misc/path.h"
#include "nel/misc/mutex.h"
#include "nel/misc/report.h"

View file

@ -20,10 +20,6 @@
#include "stdmisc.h"
#include <string>
#include <vector>
#include <map>
#include "nel/misc/algo.h"
#include "nel/misc/file.h"
#include "nel/misc/path.h"

View file

@ -17,7 +17,6 @@
#include "stdmisc.h"
#include "nel/misc/fast_floor.h"
#include <cmath>
namespace NLMISC {

View file

@ -31,11 +31,6 @@
#pragma comment(lib, "gthread-1.3.lib")
#endif
#include <iostream>
#include <fstream>
#include <iomanip>
#include <csignal>
#include "nel/misc/path.h"
#include "nel/misc/command.h"
#include "nel/misc/thread.h"

View file

@ -26,8 +26,6 @@
#include "nel/misc/time_nl.h"
#endif
#include <map>
namespace NLMISC
{

View file

@ -17,7 +17,6 @@
#include "stdmisc.h"
#include "nel/misc/line.h"
#include <limits>
namespace NLMISC
{

View file

@ -24,9 +24,6 @@
# include <unistd.h>
#endif
#include <ctime>
#include <cstdarg>
#include "nel/misc/displayer.h"
#include "nel/misc/log.h"
#include "nel/misc/debug.h"

View file

@ -18,14 +18,6 @@
#include "nel/misc/types_nl.h"
#include <cstdio>
#include <iostream>
#include <fstream>
//#include <sstream>
#include <iomanip>
#include <string>
#include "nel/misc/mem_displayer.h"
#include "nel/misc/path.h"
#include "nel/misc/command.h"

View file

@ -23,10 +23,6 @@
#include "nel/misc/mutex.h"
#include "nel/misc/time_nl.h"
#ifdef MUTEX_DEBUG
#include <iostream>
#endif
using namespace std;
#ifndef MUTEX_DEBUG

View file

@ -17,8 +17,6 @@
#include "stdmisc.h"
#include <fstream>
#include "nel/misc/big_file.h"
#include "nel/misc/path.h"
#include "nel/misc/hierarchical_timer.h"
@ -36,6 +34,7 @@
# include <fcntl.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <shlobj.h>
#else
# include <sys/types.h>
# include <sys/stat.h>

View file

@ -16,8 +16,6 @@
#include "stdmisc.h"
#include <cstdio>
#include <cstdlib>
#include "nel/misc/common.h"
#include "nel/misc/ucstring.h"

View file

@ -20,12 +20,6 @@
#include "stdmisc.h"
#include <cstdio>
#include <cstring>
#include <string>
#include <map>
#include <vector>
#include "nel/misc/sha1.h"
#include "nel/misc/file.h"
#include "nel/misc/path.h"

View file

@ -16,19 +16,30 @@
#include "nel/misc/types_nl.h"
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <deque>
#include <cstdio>
#include <string>
#include <vector>
#include <cstdlib>
#include <utility>
#include <algorithm>
#include <cmath>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <exception>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <string>
#include <typeinfo>
#include <utility>
#include <vector>
#include "nel/misc/debug.h"
#include "nel/misc/common.h"

View file

@ -17,7 +17,6 @@
#include "stdmisc.h"
#include "nel/misc/stop_watch.h"
#include <numeric>
using namespace std;

View file

@ -16,8 +16,6 @@
#include "stdmisc.h"
#include <map>
#include "nel/misc/string_mapper.h"
using namespace std;

View file

@ -16,8 +16,6 @@
#include "stdmisc.h"
#include <ctime>
#ifdef NL_OS_WINDOWS
# define NOMINMAX
# include <windows.h>

View file

@ -18,13 +18,6 @@
#ifdef NL_OS_WINDOWS
#include <iostream>
#include <fstream>
//#include <sstream>
#include <iomanip>
#include <csignal>
#include <cstring>
#define NOMINMAX
#include <windows.h>
#include <windowsx.h>

View file

@ -16,11 +16,6 @@
#include "stdmisc.h"
#include <iostream>
#include <fstream>
#include <iomanip>
#include <csignal>
#include "nel/misc/path.h"
#include "nel/misc/command.h"
#include "nel/misc/thread.h"

View file

@ -18,8 +18,6 @@
#include "nel/misc/xml_pack.h"
#include "nel/misc/file.h"
#include <cstdio>
using namespace std;

View file

@ -16,8 +16,6 @@
#include "stdsound.h"
#include <iomanip>
#include "nel/misc/hierarchical_timer.h"
#include "nel/misc/progress_callback.h"
#include "nel/misc/big_file.h"

View file

@ -19,13 +19,7 @@
#include "nel/sound/background_sound.h"
#include "nel/sound/audio_mixer_user.h"
#include "nel/misc/path.h"
#include <numeric>
/*#include "simple_sound.h"
#include "sound_bank.h"
#include "sample_bank.h"
#include "driver/sound_driver.h"
#include "driver/buffer.h"
*/
using namespace std;
using namespace NLMISC;

View file

@ -33,9 +33,7 @@
#include "nel/sound/background_sound_manager.h"
#include "nel/sound/source_common.h"
#include "nel/sound/clustered_sound.h"
#include <algorithm>
#include "nel/sound/background_source.h"
#include <list>
using namespace std;
using namespace NLMISC;

View file

@ -4,7 +4,6 @@
#include "nel/misc/path.h"
#include "nel/misc/common.h"
#include "nel/sound/audio_mixer_user.h"
#include <numeric>
using namespace std;
using namespace NLMISC;

View file

@ -15,8 +15,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "nel/sound/driver/buffer.h"
#include <nel/misc/fast_mem.h>
#include <nel/misc/stream.h>
#include "nel/misc/fast_mem.h"
#include "nel/misc/stream.h"
namespace NLSOUND {

View file

@ -26,8 +26,6 @@
#include "nel/sound/driver/sound_driver.h"
#include <cmath>
#include "nel/misc/hierarchical_timer.h"
#include "nel/misc/dynloadlib.h"
#include "sound_driver_dsound.h"

View file

@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <nel/misc/types_nl.h>
#include "nel/misc/types_nl.h"
#define EAX_AVAILABLE 0
@ -26,20 +26,21 @@
#include <iostream>
#include <algorithm>
#include <cmath>
#include <nel/misc/common.h>
#include <nel/misc/time_nl.h>
#include <nel/misc/fast_mem.h>
#include <nel/misc/debug.h>
#include <nel/misc/vector.h>
#include <nel/misc/path.h>
#include <nel/misc/file.h>
#include <nel/misc/log.h>
#include <nel/misc/hierarchical_timer.h>
#include "nel/misc/common.h"
#include "nel/misc/time_nl.h"
#include "nel/misc/fast_mem.h"
#include "nel/misc/debug.h"
#include "nel/misc/vector.h"
#include "nel/misc/path.h"
#include "nel/misc/file.h"
#include "nel/misc/log.h"
#include "nel/misc/hierarchical_timer.h"
#include <nel/sound/driver/sound_driver.h>
#include <nel/sound/driver/buffer.h>
#include <nel/sound/driver/source.h>
#include <nel/sound/driver/listener.h>
#include "nel/sound/driver/sound_driver.h"
#include "nel/sound/driver/buffer.h"
#include "nel/sound/driver/source.h"
#include "nel/sound/driver/listener.h"
/* end of file */

View file

@ -14,16 +14,9 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <nel/misc/types_nl.h>
#include "nel/misc/types_nl.h"
#include "nel/sound/driver/effect.h"
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
// Project includes
using namespace std;
// using namespace NLMISC;

View file

@ -17,15 +17,7 @@
#include <nel/misc/types_nl.h>
#include "nel/sound/driver/music_channel.h"
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
// Project includes
using namespace std;
// using namespace NLMISC;
namespace NLSOUND {

View file

@ -15,9 +15,9 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdopenal.h"
#include "ext_al.h"
#include "effect_al.h"
#include "sound_driver_al.h"
#include "ext_al.h"
using namespace std;
// using namespace NLMISC;

View file

@ -17,8 +17,6 @@
#include "nel/sound/driver/source.h"
#include "nel/misc/common.h"
#include <limits>
using namespace NLMISC;
namespace NLSOUND

View file

@ -25,11 +25,6 @@
#include "stdsound.h"
#include "nel/sound/music_channel_fader.h"
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
// Project includes
#include "nel/sound/driver/sound_driver.h"
#include "nel/sound/driver/music_channel.h"

View file

@ -20,9 +20,8 @@
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
#include <nel/misc/path.h>
#include <nel/misc/file.h>
#include "nel/misc/path.h"
#include "nel/misc/file.h"
// Project includes
#include "nel/sound/driver/sound_driver.h"

View file

@ -32,8 +32,6 @@
#include "nel/georges/load_form.h"
#include <limits>
using namespace std;
using namespace NLMISC;
using namespace NLGEORGES;

View file

@ -1,3 +1,18 @@
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdsound.h"

View file

@ -1,3 +1,18 @@
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "nel/misc/types_nl.h"
#include "nel/misc/common.h"
@ -18,5 +33,8 @@
#include <exception>
#include <utility>
#include <deque>
#include <limits>
#include <numeric>
#include <iomanip>
#include "nel/misc/vector.h"

View file

@ -17,16 +17,6 @@
#include "stdsound.h"
#include "nel/sound/stream_sound.h"
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
// Project includes
// using namespace std;
// using namespace NLMISC;
namespace NLSOUND {
CStreamSound::CStreamSound()

View file

@ -17,12 +17,6 @@
#include "stdsound.h"
#include "nel/sound/stream_source.h"
// STL includes
// NeL includes
// #include <nel/misc/debug.h>
#include <nel/misc/vector.h>
// Project includes
#include "nel/sound/driver/buffer.h"
#include "nel/sound/audio_mixer_user.h"