Please notice that forums and news and documentation have moved elsewhere.

Changeset d66ccee in nscp for helpers


Ignore:
Timestamp:
04/16/11 12:07:47 (3 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
3bdaf18
Parents:
b7d17f8
Message:

Tweaks to make building faster

Location:
helpers
Files:
9 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • helpers/installer-dlls/main_dll/CMakeLists.txt

    rb7d17f8 rd66ccee  
    1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 
     1cmake_minimum_required(VERSION 2.6) 
    22 
    33SET(TARGET main_dll) 
     
    2121ENDIF(WIN32) 
    2222 
     23if(NOT CMAKE_CL_64) 
    2324INCLUDE_DIRECTORIES(${PSDK_2003_INCLUDE_DIRS}) 
    24 #LINK_DIRECTORIES(${PSDK_2003_LIBRARY_DIRS}) 
    25  
     25LINK_DIRECTORIES(${PSDK_2003_LIBRARY_DIRS}) 
     26ENDIF(NOT CMAKE_CL_64) 
    2627ADD_LIBRARY(${TARGET} MODULE ${SRCS}) 
    2728 
     
    3536 
    3637SET_TARGET_PROPERTIES(${TARGET} PROPERTIES FOLDER "installer-dll") 
    37  
    38 INSTALL(TARGETS ${TARGET} LIBRARY DESTINATION helpers) 
  • helpers/installer-dlls/main_dll/main_dll.cpp

    rb7d17f8 rd66ccee  
    386386        std::wstring command = _T("msiexec /uninstall ") + (*cit); 
    387387        TCHAR *cmd = new TCHAR[command.length()+1]; 
    388         wcsncpy_s(cmd, command.length()+1, command.c_str(), command.length()); 
     388        wcsncpy(cmd, command.c_str(), command.length()); 
    389389        cmd[command.length()] = 0; 
    390390        PROCESS_INFORMATION pi; 
  • helpers/installers/installer/CMakeLists.txt

    rb7d17f8 rd66ccee  
    1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 
     1cmake_minimum_required(VERSION 2.6) 
    22 
    33SET(TARGET nsclient_installer) 
  • helpers/settings_manager/CMakeLists.txt

    rb7d17f8 rd66ccee  
    55INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIRS}) 
    66LINK_DIRECTORIES(${BOOST_LIB_DIRS}) 
    7 #INCLUDE_DIRECTORIES(${NSCP_INCLUDEDIR}) 
    87 
    98SET(service_SRCS 
     
    4140add_library (${TARGET} ${service_SRCS}) 
    4241 
     42target_link_libraries(${TARGET} protobuf) 
     43 
    4344SET_TARGET_PROPERTIES(${TARGET} PROPERTIES FOLDER "core") 
    4445 
Note: See TracChangeset for help on using the changeset viewer.