source: nscp/build.cmake @ 4c18192

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

Tweaked building to work with 32bit as well as 64 (and some minor tweaks to tashschedule2 and psd 6.1)

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