source: nscp/build.cmake @ 0d9eed6

0.4.00.4.10.4.2
Last change on this file since 0d9eed6 was 7515d00, checked in by Michael Medin <michael@…>, 21 months ago
  • Massive overhaul here and there
  • Added new helper for handling "targets" (so they are the same)
  • Extracted "command line handling" so all clients will work the same
  • Extracted command processor to a common class to make all clients work the same
  • Added initial zeromq stuff (nothing usable)
  • Added an implementation layer for NSCP protocol parsing (so zeromq stuff can reuse it)
  • 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(ZEROMQ_INCLUDE_DIR "D:/source/libraries/zeromq-2.1.9/include")
29
30        SET(INC_PROTOBUF_DIR "D:/source/libraries/protobuf-2.4.0a")
31
32        SET(INC_CRYPTOPP_DIR "D:/source/libraries/crypto++-5.6.1")
33
34        SET(INC_LUA_DIR "D:/source/libraries/lua-5.1.4")
35       
36        SET(ARCHIVE_FOLDER "D:/archive")
37
38ELSE(WIN32)
39
40        SET(INC_OPENSSL_INCLUDEDIR "/usr/include/")
41        SET(PROTOBUF_INCLUDE_DIR "/usr/include/")
42
43ENDIF(WIN32)
44
Note: See TracBrowser for help on using the repository browser.