Changeset 320


Ignore:
Timestamp:
05/10/07 16:34:11 (17 years ago)
Author:
r2d
Message:

updated Windows/CMake build

Location:
libmpc/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/CMakeLists.txt

    r294 r320  
    1919add_subdirectory(mpcenc)
    2020add_subdirectory(mpc2sv8)
     21add_subdirectory(mpccut)
  • libmpc/trunk/mpccut/mpccut.c

    r318 r320  
    4141#include "../libmpcdec/huffman.h"
    4242#include "../libmpcdec/mpc_bits_reader.h"
     43
     44#ifdef _MSC_VER
     45#define atoll _atoi64
     46#endif
    4347
    4448static void copy_data(FILE * in_file, int in_file_pos, FILE * out_file, int data_size)
  • libmpc/trunk/mpcdec/CMakeLists.txt

    r236 r320  
    66link_directories(${libmpc_BINARY_DIR}/libmpcdec)
    77
    8 add_executable(mpcdec mpcdec.c)
     8if(MSVC)
     9include_directories(${libmpc_SOURCE_DIR}/win32)
     10add_executable(mpcdec mpcdec ${libmpc_SOURCE_DIR}/win32/attgetopt)
     11endif(MSVC)
     12
     13add_executable(mpcdec mpcdec)
    914
    1015if(NOT MSVC)
  • libmpc/trunk/mpcgain/CMakeLists.txt

    r262 r320  
    55)
    66
    7 FIND_LIBRARY(REPLAY_GAIN_LIBRARY NAMES replaygain PATHS
     7FIND_LIBRARY(REPLAY_GAIN_LIBRARY NAMES replaygain replaygain_static PATHS
    88        /usr/lib
    99        /usr/local/lib
Note: See TracChangeset for help on using the changeset viewer.