source: nscp/build.cmake @ e11d494

0.4.00.4.10.4.2
Last change on this file since e11d494 was 7ec3dd1, checked in by Michael Medin <michael@…>, 2 years ago

various fixes and changes here and there
Mainly build related (been trying to fix symbol dumper problems) as well as tweaks for the up-coming "nightly release")

  • Property mode set to 100644
File size: 1.2 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        ELSE()
14                MESSAGE(STATUS "Detected w32")
15                SET(INC_NSCP_LIBRARYDIR D:/source/lib/x86)
16        ENDIF()
17
18        SET(INC_GOOGLE_BREAKPAD_DIR "D:/source/libraries/google-breakpad-svn")
19               
20        SET(INC_BOOST_INCLUDEDIR "${INC_NSCP_INCLUDEDIR}")
21        SET(INC_BOOST_LIBRARYDIR "${INC_NSCP_LIBRARYDIR}")
22        SET(INC_PROTOBUF_LIBRARYDIR "${INC_NSCP_LIBRARYDIR}")
23
24        SET(INC_OPENSSL_INCLUDEDIR "${INC_NSCP_INCLUDEDIR}")
25
26        SET(INC_PROTOBUF_DIR "D:/source/libraries/protobuf-2.4.0a")
27
28        SET(INC_CRYPTOPP_DIR "D:/source/libraries/crypto++-5.6.1")
29
30        SET(INC_LUA_DIR "D:/source/libraries/lua-5.1.4")
31       
32        SET(ARCHIVE_FOLDER "D:/archive")
33
34ELSE(WIN32)
35
36        SET(INC_OPENSSL_INCLUDEDIR "/usr/include/")
37
38ENDIF(WIN32)
39
Note: See TracBrowser for help on using the repository browser.