source: nscp/build.cmake @ 54ac968

0.4.00.4.10.4.2
Last change on this file since 54ac968 was 04ef932, checked in by Michael Medin <michael@…>, 23 months ago

2011-08-10

  • Fixed so it builds and runs on linux (but parser had issues so disabled som grammar rules whichneeds to be enabled again)
  • Added a lot of freatures and cleand up the PythonScript module
  • Started to merge som features from PythonScript back to Lua script


2011-08-07

  • Fixed a lot of issues with PythonScript module adding suport for alias and "raw command processing"
  • Fixed issue with loading plugins and aliases as well as duplicate plugin detection


2011-08-01

  • Property mode set to 100644
File size: 1.4 KB
Line 
1IF(WIN32)
2        set(Boost_USE_STATIC_LIBS               ON)
3        set(Boost_USE_STATIC_RUNTIME    ON)
4        set(BOOST_USE_MULTITHREADED             ON)
5        SET(NSCP_GLOBAL_DEFINES ${NSCP_GLOBAL_DEFINES} -DBOOST_ALL_NO_LIB)      # THis is used to disable "automatic linking on windows which seems to break since I dont know how to set link dir
6        SET(INC_NSCP_INCLUDEDIR D:/source/include)
7        SET(INC_PSDK_61 "C:/Program Files/Microsoft SDKs/Windows/v6.1/")
8        SET(INC_PSDK_2003 "C:/Program Files/Microsoft Platform SDK/")
9
10        if(CMAKE_CL_64)
11                MESSAGE(STATUS "Detected x64")
12                SET(INC_NSCP_LIBRARYDIR D:/source/lib/x64)     
13                SET(PYTHON_ROOT c:/python/27x64)       
14        ELSE()
15                MESSAGE(STATUS "Detected w32")
16                SET(INC_NSCP_LIBRARYDIR D:/source/lib/x86)
17                SET(PYTHON_ROOT c:/python/27)   
18        ENDIF()
19
20        SET(INC_GOOGLE_BREAKPAD_DIR "D:/source/libraries/google-breakpad-svn")
21               
22        SET(INC_BOOST_INCLUDEDIR "D:/source/include/boost-1_47")
23        SET(INC_BOOST_LIBRARYDIR "${INC_NSCP_LIBRARYDIR}")
24        SET(INC_PROTOBUF_LIBRARYDIR "${INC_NSCP_LIBRARYDIR}")
25
26        SET(INC_OPENSSL_INCLUDEDIR "${INC_NSCP_INCLUDEDIR}")
27
28        SET(INC_PROTOBUF_DIR "D:/source/libraries/protobuf-2.4.0a")
29
30        SET(INC_CRYPTOPP_DIR "D:/source/libraries/crypto++-5.6.1")
31
32        SET(INC_LUA_DIR "D:/source/libraries/lua-5.1.4")
33       
34        SET(ARCHIVE_FOLDER "D:/archive")
35
36ELSE(WIN32)
37
38        SET(INC_OPENSSL_INCLUDEDIR "/usr/include/")
39        SET(PROTOBUF_INCLUDE_DIR "/usr/include/")
40
41ENDIF(WIN32)
42
Note: See TracBrowser for help on using the repository browser.