Menu

#46 Missing CMake build files in release 4.1.0

Bugs in 2.0.x
open
nobody
None
5
2023-03-04
2023-03-03
No

Where are the CMake files (e.g. CMakeLists.txt) for release 4.1.0?
They seem to missing from the tarball.

Related

Bugs: #46

Discussion

  • Brecht Sanders

    Brecht Sanders - 2023-03-03

    Correction, I see some CMakeLists.txt files under build/* but which one is for MinGW-w64?

     
  • Brecht Sanders

    Brecht Sanders - 2023-03-03

    I figured out how to build 4.1.0 with MinGW-w64.

    I just used the build/debian/CMakeLists.txt after applying the following changes:

    patch -ulbf build/debian/CMakeLists.txt << EOF
    @@ -370,6 +370,6 @@
     # Microsoft Windows settings
    -IF( WIN32 )
    +IF( MSVC )
     #  add_definitions( /D_CRT_SECURE_NO_WARNINGS)
       add_definitions( /EHsc )
    -ENDIF( WIN32 )
    +ENDIF( MSVC )
    
    @@ -707,3 +707,3 @@
    
    -install (FILES include/xbconfig.h
    +install (FILES \${PROJECT_BINARY_DIR}/include/xbconfig.h
                    \${PROJECT_SOURCE_DIR}/include/xbase.h
    EOF
    
     
    • Gary Kunkel

      Gary Kunkel - 2023-03-04

      Brecht
      In addition to the Cmakefile.txt updates, can you document the steps for me that you used to build xbase64 with mingw-64?
      I'm going to add support for it in the library and was hoping you could save me a little time and share how you did it.
      Thanks
      Gary

      On Friday, March 3, 2023 at 04:39:21 AM CST, Brecht Sanders <brechtsanders@users.sourceforge.net> wrote:
      

      I figured out how to build 4.1.0 with MinGW-w64.

      I just used the build/debian/CMakeLists.txt after applying the following changes:

      patch -ulbf build/debian/CMakeLists.txt << EOF
      @@ -370,6 +370,6 @@
       # Microsoft Windows settings
      -IF( WIN32 )
      +IF( MSVC )
       #  add_definitions( /D_CRT_SECURE_NO_WARNINGS)
        add_definitions( /EHsc )
      -ENDIF( WIN32 )
      +ENDIF( MSVC )
      
      @@ -707,3 +707,3 @@
      
      -install (FILES include/xbconfig.h
      +install (FILES \${PROJECT_BINARY_DIR}/include/xbconfig.h
                      \${PROJECT_SOURCE_DIR}/include/xbase.h
      EOF
      

      ** [bugs:#46] Missing CMake build files in release 4.1.0**

      Status: open
      Group: Bugs in 2.0.x
      Created: Fri Mar 03, 2023 10:01 AM UTC by Brecht Sanders
      Last Updated: Fri Mar 03, 2023 10:21 AM UTC
      Owner: nobody

      Where are the CMake files (e.g. CMakeLists.txt) for release 4.1.0?
      They seem to missing from the tarball.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/xdb/bugs/46/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #46


Log in to post a comment.

MongoDB Logo MongoDB